[lkml]   [2009]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: regression in page writeback
    On Tue, 2009-09-22 at 16:05 +0800, Wu Fengguang wrote:
    > I'm not sure how this patch stopped the "overshooting" behavior.
    > Maybe it managed to not start the background pdflush, or the started
    > pdflush thread exited because it found writeback is in progress by
    > someone else?
    > - if (bdi_nr_reclaimable) {
    > + if (bdi_nr_reclaimable > bdi_thresh) {

    The idea is that we shouldn't move more pages from dirty -> writeback
    when there's not actually that much dirty left.

    Now, I'm not sure about the > bdi_thresh part, I've suggested to maybe
    use bdi_thresh/2 a few times, but it generally didn't seem to make much
    of a difference.

     \ /
      Last update: 2009-09-22 10:11    [W:0.020 / U:128.676 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site