Re: [Jfs-discussion] benchmark results

Casey Allen Shobe
2010-01-11T01:03:04Z

On Dec 25, 2009, at 11:22 AM, Larry McVoy wrote:
> Dudes, sync() doesn't flush the fs cache, you have to unmount for
> that.
> Once upon a time Linux had an ioctl() to flush the fs buffers, I used
> it in lmbench.

You do not need to unmount - 2.6.16+ have a mechanism in /proc to
flush caches. See http://linux-mm.org/Drop_Caches

Cheers,
--
Casey Allen Shobe
casey@shobe.info