On Thu, 22 Oct 2026 15:45:43 +0000, Tom Crane wrote:
> I still got the loadavg rising to above 8 during the update process
> with 8+ processes and kernel threads in the d-wait state at times.
I have not used slackpkg myself, but basically, Slackware packages are
really simple compressed tar files. How can you get a load higher than 8
by installing or upgrading packages?
Usually packages tools like installpkg and upgradepkg have checks to make
sure that they are not being run while another package is being installed
or upgraded. Those checks are implemented with calls to flock and some of
them can be overrided by a package by having the magic word "NOLOCK" in
the file install/doinst.sh.
Newer versions of xz do support parallell decompression by default, but
that would give you processes in running state (R) rather than waiting
for disk (D).
Is it really so that those more than 8 processes waiting for Disk are
processes from your package installation/upgrade? Or could it be that you
are running somethhing else (like a parallell compilation of some big
sourc tree) and that "something else" is what is causing your high load?
All those tricks with nice, ionice and chrt will not be able to lower an
existing load. In the best case, those tricks will only avoid adding
even more to an existing high load.
If you really are getting those high loads waiting for disk by installing
or upgrading Slackware packages my only explanation is that you are
installing or upgrading multiple packages in parallell and that seems
like a rather bad idea. The original Slackware package management tools
like installpkg and upgradepkg have mechanisms to prevent parallell
installations or upgrades.
regards Henrik