Does NFS client cache?
Hi Guys,
My laptop and the network of computers I work with have Redhat 6.2. (But we can upgrade to Redat 7.2 if necessary.) I was wondering if the NFS clients are caching? I am in the process of writing a distributed application and it would be really nice if Linux cached the disk reads locally.. save me a ton of work writing my own cache manager. Anyone know or have an idea of where to look for the answer? I tried google and redhat.com with search words like: "linux nfs cache" with no luck. No mention of NFS caching in the official Linux kernel.. but then that doens't mean it isn't there... Sonny. :newbie: |
there are several parameters for this however it seems to be talking about attributes
acregmin=n The minimum time in seconds that attributes of a regular file should be cached before requesting fresh information from a server. The default is 3 seconds. acregmax=n The maximum time in seconds that attributes of a regular file can be cached before requesting fresh information from a server. The default is 60 seconds. acdirmin=n The minimum time in seconds that attributes of a directory should be cached before requesting fresh information from a server. The default is 30 seconds. acdirmax=n The maximum time in seconds that attributes of a directory can be cached before requesting fresh information from a server. The default is 60 seconds. actimeo=n Using actimeo sets all of acregmin, acreg* max, acdirmin, and acdirmax to the same value. There is no default value. this is from the man files you can also set the connection timeouts so that may help |
All times are GMT -5. The time now is 04:49 AM. |