Re: Loadavg calculation

From: Andi Kleen (ak@suse.de)
Date: Sun Nov 05 2000 - 08:58:31 EST


On Sun, Nov 05, 2000 at 07:55:40AM -0500, bobyetman@att.net wrote:
>
> We'd like to reduce that almost 50 second lag time. Is it possible, in
> user-space, to duplicate the loadavg calculation period, say to a 15
> second load average, using the information in /proc?

You could simply recompile the kernel with a smaller LOAD_FREQ constant.
It defines how often the average computation runs. The unit is jiffies,
which is 10ms on i386.
It may break some other programs though.

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



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:17 EST