lkml.org 
[lkml]   [2000]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 12:45    [W:0.022 / U:121.832 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site