[lkml]   [2005]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject2.6.xx: dirty pages never being sync'd to disk?
    Okay, this one's been nagging me since I first began using 2.6.xx.

    My Notebook computer has 2GB of RAM, and the 2.6.xx kernel seems quite
    happy to leave hundreds of MB of dirty unsync'd pages laying around
    more or less indefinitely. This worries me, because that's a lot of data
    to lose should the kernel crash (which it has once quite recently)
    or the battery die.

    /proc/sys/vm/dirty_expire_centisecs = 3000 (30 seconds)
    /proc/sys/vm/dirty_writeback_centisecs = 500 (5 seconds)

    My understanding (please correct if wrong) is that this means
    that any (file data) page which is dirtied, should get flushed
    back to disk after 30 seconds or so.

    That doesn't happen here. Hundreds of MB of dirty pages just
    hang around indefinitely, until I manually type "sync",
    at which point the hard drive gets very busy for 20 seconds or so.

    What's going on?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-11-14 16:33    [W:0.032 / U:248.724 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site