🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #4

Re: niceload slackpkg upgrade-all

#4
From: Henrik Carlqvist
Date: Fri, 23 Oct 2026 05:49
35 lines
3077 bytes
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
Technical Details
Message-ID: <11besi4$1gg3i$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11aon62$quh$1@mklab.ph.rhul.ac.uk> <11b2479$10s8i$1@dont-email.me> <11bdb37$vql$1@mklab.ph.rhul.ac.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Henrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Newsgroups: alt.os.linux.slackware
Subject: Re: niceload slackpkg upgrade-all
Date: Fri, 23 Oct 2026 05:49:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <11besi4$1gg3i$1@dont-email.me>
References: <11aon62$quh$1@mklab.ph.rhul.ac.uk>
	<11b2479$10s8i$1@dont-email.me> <11bdb37$vql$1@mklab.ph.rhul.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Oct 2026 05:49:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1589362"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19HzssVgtrqYVnhg7LUkKFS"; posting-host="4c08b01c8a3e18dc9e628716e06ddad8"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:jWjbSooF46r75JzDFNPIQ7YVB8M= sha256:6wqJT+sIIQVDtXw72TiTyWyPteqnud/LwVw3h6cbIKc=
	sha1:NO0w92+SOcDzBhdNmtTUDOUjmIU= sha256:eD7ojR1/lfFT7ZwjLn8VEwAqY0EXz672OAbE8LoXuu4=