lkml.org 
[lkml]   [2010]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 4/4] writeback: Reporting dirty thresholds in /proc/vmstat
    Date
    > The kernel already exposes the user desired thresholds in /proc/sys/vm
    > with dirty_background_ratio and background_ratio. But the kernel may
    > alter the number requested without giving the user any indication that
    > is the case.
    >
    > Knowing the actual ratios the kernel is honoring can help app developers
    > understand how their buffered IO will be sent to the disk.
    >
    > $ grep threshold /proc/vmstat
    > nr_dirty_threshold 409111
    > nr_dirty_background_threshold 818223
    >
    > Signed-off-by: Michael Rubin <mrubin@google.com>

    Looks good to me.
    Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>





    \
     
     \ /
      Last update: 2010-08-20 12:09    [W:0.021 / U:1.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site