I noticed that one of my build scripts has this:

find $RPM_BUILD_ROOT/lib/modules/ -type f -name '*.ko' | xargs xz

A rather typical usage, right?

In my case, this takes several minutes to complete,
as there are 4000+ modules. The quick check confirms that xz
runs single-threaded.

The obvious "xz -T0" change does not help. It appears -T code
only can simultaneously compress multiple blocks within one file.

Any chance this can be improved?

Reply via email to