parallelise the quest for elves
The ELF verification and runtime checks from nightly are a serial part of the gate build which take a while to run.
check_rtime utilities could be improved to use multiple threads where supported by the local system
perl (and fall back to the current serial behaviour otherwise)
This issue concerns
find_elf, a separate issue will be raised for
Updated by Andy Fiddaman 8 months ago
Some benchmarks of the old and new variant on OmniOS r151036 with perl 5.32 (which has threads support) - DMAKE_JOBS was set to 8 and
prstat -L showed 9 threads present and correct.
% hyperfine -w 1 -r 5 'find_elf /usr' Time (mean): 543.760 s +/- 13.640 s [User: 168.792 s, System: 367.286 s] Range (min | max): 528.942 s | 557.340 s 5 runs
Time (mean): 274.048 s +/- 1.902 s [User: 281.701 s, System: 779.570 s] Range (min | max): 272.608 s | 277.256 s 5 runs
I also diffed the output of the old and new
find_elf - it was unchanged.
Updated by Electric Monk 7 months ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit ef1b64136eb11e65f9eb27b6083536fe1b69c707 Author: Dominik Hassler <email@example.com> Date: 2020-11-19T21:56:56.000Z 13248 parallelise the quest for elves Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>