LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-05-2002, 08:03 PM   #1
Sonny
Newbie
 
Registered: Jan 2002
Location: Burnaby British Columbia
Distribution: Redhat 7.1
Posts: 25

Rep: Reputation: 15
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.

 
Old 02-06-2002, 01:18 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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

Last edited by DavidPhillips; 02-06-2002 at 01:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 06:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 05:18 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 02:01 PM
Using an NFS share as squid cache directory, possible? tylerdurden82 Linux - Networking 1 01-20-2005 07:42 AM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 01:05 PM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration