lkml.org 
[lkml]   [2012]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH RFC v2] lib: Proportions with flexible period
    From
    Date
    On Tue, 2012-04-24 at 18:30 +0200, Jan Kara wrote:
    > Implement code computing proportions of events of different type (like code in
    > lib/proportions.c) but allowing periods to have different lengths. This allows
    > us to have aging periods of fixed wallclock time which gives better proportion
    > estimates given the hugely varying throughput of different devices - previous
    > measuring of aging period by number of events has the problem that a reasonable
    > period length for a system with low-end USB stick is not a reasonable period
    > length for a system with high-end storage array resulting either in too slow
    > proportion updates or too fluctuating proportion updates.


    OK, seems sound. Thanks!


    \
     
     \ /
      Last update: 2012-05-01 12:41    [W:0.021 / U:61.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site