You are not logged in.
Pages: 1
When compressing the package from the AUR, zstd uses maximally 100%. I guess that means cpu 1 core. How can I make it use all my cpu cores to compress the package faster?
Offline
Which compression options for zstd do you have set in /etc/makepkg.conf? See i.e. the output of "grep -i zstd /etc/makepkg.conf"
If you just keep packages locally you can also just disable compression at all
Offline
Which compression options for zstd do you have set in /etc/makepkg.conf? See i.e. the output of "grep -i zstd /etc/makepkg.conf"
If you just keep packages locally you can also just disable compression at all
COMPRESSZST=(zstd -c -T0 --ultra -20 -)
I wanna compress the packages, because I have 223.5 GiB drive.
Offline
"-T0" should autodetect with the amount of cores on your system (similar to "-j$(nproc)" for make), so I guess you already have the right options set for multicore compression. However I guess zstd can not utilize all cores at all times, so maybe its only really multicore in the beginning.
Offline
-T0 detection is based, by default, on the number of physical not logical cores. But this default can be changed. Try adding "--auto-threads=logical".
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Try reducing -20 to -19.
sys2064
Offline
Pages: 1