[PATCH] adjustable loadavg decay rates

From: Ben Clifford (benc@hawaga.org.uk)
Date: Thu Jan 10 2002 - 05:23:02 EST


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     benc@hawaga.org.uk
http://www.hawaga.org.uk/ben/ GPG: 30F06950 - signed/encrypted mail encouraged

=WARNING= Do not ever send e-mail to philip@hawaga.org.uk =WARNING=


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:30 EST