You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve job scheduling when running regression tests with -jN
Currently the regression test suite directories are listed and executed in
alphabetical order. However, because the runtimes of the various test suites
are not uniform, this leads to poor utilisation of the parallel jobs. For
instance, consider four tests, A, B, C and D. Lets assume the runtimes for these
hypothetical tests are:
A 100
B 50
C 50
D 100
further, lets assume we have two cores to run on. The tests are run
in alphabetical order, leading to a job schedule that looks something like:
Time Core Test
0 1 A
0 2 B
50 2 C
100 1 D
100 2 <idle>
200 - All tests complete
However, if jobs are scheduled in roughly decending runtime order, we get a
job schedule that looks roughly like:
Time Core Test
0 1 A
0 2 D
100 1 B
100 2 C
150 - All tests complete
This commit re-orders the list of regression suite directories into roughly
decending runtime order.
0 commit comments