Article View: comp.os.linux.help
Article #111Re: NFS sucks (was Re: Pentium-90 box for Linux?)
From: Paul Repacholi
Date: Wed, 15 Feb 1995 17:58
Date: Wed, 15 Feb 1995 17:58
37 lines
2951 bytes
2951 bytes
In article <3hqcv9$qho@bunyip.cc.uq.oz.au> cs307319@student.uq.edu.au (Julian Boot) writes:
> scotta@jolt.mpx.com.au (Scott A Howard) writes:
>
> >Cacheing of non-local filesystems is basically impossible, as you never
> >know when the remote files have changed, and thus when you need to
> >re-read the data.
Sorry, its been done for 10+ years... You do need lome method
of reliably controlling things though.
> 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 difference is in stable, predictable defined semantics of the
opperation. Replace 1 min with 1 day, and ask the question again.
Most systems define deletion to be a deletion request, that happens
when the last user closes (de-accesses ) the file. Many, but not all,
systems will not allow opens after a delete operation. A few systems
treat a delete as a 'de-reference' operation, and only destroy(sic)
the file when its reference count is 0.
Any of them is fine. Win some, lose some. But if the system is properly
done, you can design a reliable race-free system on to of them.
If the system is not predictable, you are in deep smelly brown stuff...
--
~Paul
+61 (09) 257-1001
prep@yarrow.wt.uwa.edu.au ( preferred ) 1 Crescent Rd,
zrepachol@cc.curtin.edu.au Kalamunda,
West Aust 6076
Technical Details
Message-ID:
<PREP.95Feb16015835@yarrow.wt.uwa.edu.au>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!rutgers!munnari.oz.au!news.uwa.edu.au!news!prepReferences:
<1995Feb6.094005.40@nntp.brisnet.org.au> <3h6k9c$ect@openwx.networx.com> <3hejal$624@kirk.Bond.edu.au> <1995Feb13.020829.14593@rd.scitec.com.au> <3hmn0t$kp7@harbinger.cc.monash.edu.au> <3hngrg$s86@inferno.mpx.com.au> <3hqcv9$qho@bunyip.cc.uq.oz.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: 102983,a85ac670e4194595 X-Google-Attributes: gid102983,public X-Google-Thread: 100b1f,a85ac670e4194595 X-Google-Attributes: gid100b1f,public X-Google-ArrivalTime: 1995-02-15 09:58:35 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!rutgers!munnari.oz.au!news.uwa.edu.au!news!prep From: prep@yarrow.wt.uwa.edu.au (Paul Repacholi) Newsgroups: comp.os.linux.help,comp.os.linux.misc,aus.computers.linux Subject: Re: NFS sucks (was Re: Pentium-90 box for Linux?) Date: 15 Feb 1995 17:58:35 GMT Organization: Winthrop Technology Lines: 38 Message-ID: <PREP.95Feb16015835@yarrow.wt.uwa.edu.au> References: <1995Feb6.094005.40@nntp.brisnet.org.au> <3h6k9c$ect@openwx.networx.com> <3hejal$624@kirk.Bond.edu.au> <1995Feb13.020829.14593@rd.scitec.com.au> <3hmn0t$kp7@harbinger.cc.monash.edu.au> <3hngrg$s86@inferno.mpx.com.au> <3hqcv9$qho@bunyip.cc.uq.oz.au> NNTP-Posting-Host: yarrow.wt.uwa.edu.au In-reply-to: cs307319@student.uq.edu.au's message of 14 Feb 1995 13:59:05 GMT