Article View: comp.os.linux.help
Article #132Re: NFS sucks (was Re: Pentium-90 box for Linux?)
From: Jim Nance
Date: Fri, 17 Feb 1995 17:57
Date: Fri, 17 Feb 1995 17:57
24 lines
2195 bytes
2195 bytes
> > scotta@jolt.mpx.com.au (Scott A Howard) writes: > > So what is the *real* difference between reading a file 1 second before > > it is deleted on a local filesystem, and reading a file 1 second after > > it has been deleted on a remote filesystem, because it is cached? > > > > Sure, you get data tha may not be quite current, but can happen at > > anytime on a multiuser system. And althogh I have not had a close > > look at the kernel NFS src, I see to get some caching on my systems. The problem is doing things like this and getting the correct answer: tail bigfile.new # loads the cache rsh server "cd $CWD; sort bigfile >bigfile.new" # Change file on remote system tail bigfile.new # reads the old data POSIX says this will work. It will not work on a cached NFS system. The problem is not really with the caching, as much as that NFS protocal which is stateless and thus does not have any way to coordinate file access on different machines. This does have some advantages, as you can actually reboot the NFS server, and the clients which have open files will simply wait for it to come back up and everyone will be happy. Jim
Technical Details
Message-ID:
<3i2o1m$86j@firewall.isscad.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!rutgers!mcrcr6!cmcl2!panix!news.mathworks.com!udel!gatech!howland.reston.ans.net!news.sprintlink.net!redstone.interpath.net!iss-rtp.isscad.com!news-admReferences:
<PREP.95Feb16015835@yarrow.wt.uwa.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,a85ac670e4194595 X-Google-Attributes: gid1103af,public X-Google-Thread: 100b1f,a85ac670e4194595 X-Google-Attributes: gid100b1f,public X-Google-Thread: 102983,a85ac670e4194595 X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 1995-02-18 01:01:06 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!rutgers!mcrcr6!cmcl2!panix!news.mathworks.com!udel!gatech!howland.reston.ans.net!news.sprintlink.net!redstone.interpath.net!iss-rtp.isscad.com!news-adm Newsgroups: comp.os.linux.help,comp.os.linux.misc,aus.computers.linux Subject: Re: NFS sucks (was Re: Pentium-90 box for Linux?) Message-ID: <3i2o1m$86j@firewall.isscad.com> From: jlnance@isscad.com (Jim Nance) Date: 17 Feb 1995 17:57:10 GMT Reply-To: jlnance@isscad.com References: <PREP.95Feb16015835@yarrow.wt.uwa.edu.au> Organization: Integrated Silicon Systems, Inc. NNTP-Posting-Host: snowwhite.isscad.com Lines: 25