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 Wed, 14 Jul 1999 22:06:22 +0200, Jamie Lokier
<lkd@tantalophile.demon.co.uk> said:

> I use the following script to flush I/O caches for benchmarks.
> Does it suffer from the same problem?

Yes, a remount doesn't flush the internal ext2 bitmap caches. A remount
doesn't flush _anything_ from the buffer cache: it only ever flushes the
unpinned part of the inode cache. The hdparm -f skips over any buffers
which are still in active use (ie. which have a non-zero bh->b_count).

--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.034 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site