lkml.org 
[lkml]   [2000]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [NFS] New version of Linux NFSv3 client is out...
Date


> I was delighted when someone at Sun sent me that code to try out several
> years ago and found it worked for us. I'm not certain that Posix
> requires this work, someone here once broached the idea of changing it,
> but concluded we'd be better off with the status quo.

Linux doesn't do what Sun (or BSD) does for MS_INVALIDATE.

The only way to get reasonable benchmark numbers is to have a benchmark
that has a big enough working set that it doesn't fail over caching.

What we often did before using the MS_INVALIDATE hack was:

write a file
unmount the FS
mount the FS
read the file.

The unmount frees all the cached pages, but at substantial cost in
benchmark knowledge, privileges, structure, and cooperation with other
processes trying to the the FS at the same time.

-Ric Werme

-
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:56    [W:0.072 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site