Skip to contentSkip to conversation

http://client.linux-nfs.org/Linux-2.6.x/2.6.10/linux-2.6.10-33-access_cache.dif

DISCUSSION Mark Goodman 2 participants 3 messages Feb 5, 2005 – Feb 6, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This patch appears to have the effect that non-existent files don't get cached. When I apply it to 2.6.10, a C preprocessor workload that involves opening lots of non-existent files slows down by an order of magnitude and I notice tens of thousands of NFS ACCESS calls per second according to nfsstat.

Mark

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

lau den 05.02.2005 Klokka 01:50 (-0800) skreiv Mark Goodman:

Quoted 5 lines

This patch appears to have the effect that non-existent files don't get cached. When I apply it to 2.6.10, a C preprocessor workload that involves opening lots of non-existent files slows down by an order of magnitude and I notice tens of thousands of NFS ACCESS calls per second according to nfsstat.

Nope. NFS_ACCESS can only be called on files that *do* exist.

Are you sure that you are not using it on directories that are changing a lot?

Cheers,
Trond

Signature · 12 lines
Trond Myklebust <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#2 lore raw
Quoted 7 lines · Trond Myklebust

lau den 05.02.2005 Klokka 01:50 (-0800) skreiv Mark Goodman:

Quoted 3 lines

This patch appears to have the effect that non-existent files don't get cached. When I apply it to 2.6.10, a C preprocessor workload that involves opening lots of non-existent files slows down by an order of magnitude and I notice tens of thousands of NFS ACCESS calls per second according to nfsstat.

Quoted 10 lines

Nope. NFS_ACCESS can only be called on files that *do* exist.

Are you sure that you are not using it on directories that are changing a lot?

Cheers,
Trond

Yes, the directories are not changing.

Mark

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs