2002-01-10 10:23:28

by Ben Clifford

[permalink] [raw]
Subject: [PATCH] adjustable loadavg decay rates

I've made changes to the kernel to allow the decay constants for load
average computation to be modified via /proc/sys/kernel/load-exp.

What this allows you to do is make the three loadavgs more or less
responsive to changes in system load.

There is an accompanying utility, loadavgcalc, that will help calculate
the values to feed into /proc/sys/kernel/load-exp.

This patch is against 2.5.2-pre9.

It probably isn't of interest to most people, but some might like to have
a play.

The loadavgcalc program is at:
http://barbarella.hawaga.org.uk/~benc/loadavgcalc-0.1.tar.gz

The patch is attached to this message.

Ben


--
Ben Clifford [email protected]
http://www.hawaga.org.uk/ben/ GPG: 30F06950 - signed/encrypted mail encouraged

=WARNING= Do not ever send e-mail to [email protected] =WARNING=




Attachments:
loadavg-0.1.patch (5.32 kB)