Messages in this thread | | | Date | Sun, 5 Nov 2000 14:58:31 +0100 | From | Andi Kleen <> | Subject | Re: Loadavg calculation |
| |
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/
| |