Description of problem: dracut runs compression utilities in various places. And while xz/lzma has the -T option to tell number of threads they should use and there is 'pigz' as a parallel version of gzip, dracut doesn't make use of that. Changing those calls would significantly speed up processing on multicore machines. Version-Release number of selected component (if applicable): dracut-034-24.git20131030.fc21.x86_64 How reproducible: 100 % Steps to Reproduce: 1. run dracut 2. run 'top' to see that the forked 'xz' process uses at most 100 % CPU Actual results: compression done using one thread only Expected results: compression done using as much threads as possible
Oh I see, pigz is already used. gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";;
Created attachment 823305 [details] Patch for running xz and lzma in multiple threads
http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=a3bfaa191958c4b70d6c674f972c3b911f8b1bfa
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions