[lkml]   [2005]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/4] linux-2.6-block: deactivating pagecache for benchmarks
    On Sun, 2005-12-04 at 20:13 -0600, Rob Landley wrote:
    > > Add /proc/sys/vm/drop-pagecache. When written to, this will cause the
    > > kernel to discard as much pagecache and reclaimable slab objects as it can.
    > >
    > > It won't drop dirty data, so the user should run `sync' first.
    > This is deeply, deeply cool.
    > > Caveats:
    > >
    > > a) Holds inode_lock for exorbitant amounts of time.
    > Voluntary preemption point, maybe?

    I thin it's a bad idea, that would just encourage people to use this for
    anything other than debugging. If you care about latency don't discard
    the page cache.

    The GNOME people have been asking for this for a while, in order to
    improve startup times, they would like a way to simulate a cold start
    without rebooting.


    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-12-05 17:25    [W:0.023 / U:72.364 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site