Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I measure the time it takes to complete a batch of jobs in Sun Grid Engine?

I'm using Sun Grid Engine to run a batch of jobs on Amazon Web Services EC2 nodes and I'd like to measure the wall time it takes to complete the whole batch. I'm fine with either from the time of submission to the time the queue is empty, or from the time the first job starts to the time the last job finishes (the times are long enough that the difference between the two is not important).

I tried using qacct, but looking at the walltime value in the output but it seems that this is the sum of the wall times for each job, rather than the wall time for all jobs together (in my use case each node can run multiple jobs concurrently). Is there a way that I can use qacct to get the wall time for the entire batch of jobs?

like image 373
David Avatar asked Dec 01 '25 06:12

David


1 Answers

The accounting file contains submit, start and end times for all jobs. You should be able to grab the relevant jobs from there and pick the earliest start/submit and latest end time.

like image 190
William Hay Avatar answered Dec 04 '25 13:12

William Hay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!