lkml.org 
[lkml]   [1999]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Clearing the I/O caches? (for benchmark tests)
    Hi,

    On 14 Jul 1999 16:42:47 -0700, tmk@cse.ucsc.edu (Tom M. Kroeger) said:

    > In any case the memory exhausting approach still cleared far more
    > space than sys_sync & invalidate_buffers etc... (are these buffers
    > taken from ext2 when memory becomes very low?) Any idea as to why?

    Of course it will. Invalidating buffers etc. won't do anything about
    the page cache. A memory flush will also flush out the page cache very
    effectvely.

    > You said ext2 keeps "recently-accessed bitmap buffers pinned", can
    > I just wait 30 second ( or however long) and then re-run the test?

    No. The last 8 inode and bitmap buffers accessed are pinned forever (or
    until a different buffer evicts one from the cache).

    --Stephen

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:0.020 / U:2.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site