[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9409.0. "cachefs with NFS servers" by SEAWLF::MCCLUNG () Mon Apr 07 1997 11:56

    A customer asks:
    	Sun and SGI support cachefs for caching NFS server files on
    	a client's local disk.
    
    	Does DEC Unix 4.0X support this?
    
    Can anyone explain what he's talking about and if we support it?
    
    Thanks.
    
    Joel McClung
    [email protected]
T.RTitleUserPersonal
Name
DateLines
9409.1NABETH::alanDr. File System's Home for Wayward Inodes.Mon Apr 07 1997 14:1620
	We don't.

	A cacheing file system is a local file system that acts as
	a cache for an NFS mounted remote file system.  As files
	are read from the remote file system, they are written
	on the local file system.  Future reads (when not immediately
	satisfied by the local system's buffer cache), are satisfied
	by the cacheing file system.  I don't know how the cacheing
	file systems handle writes or doing file replacement when
	the cache becomes full.

	I suspect Sun's need for a caching file system grew out of
	their reliance on diskless client systems.  System speeds
	increased much faster than network speeds and often such
	systems were hobbled waiting on network I/O.  The caching
	file system was a way to get the files read from the server
	with great frequency (but not so great as to live in the
	buffer cache) on the local system for quick access.  But,
	unlikely have a local partial system disk, only the files
	that were needed would be cached.
9409.2Re: cachefs with NFS serversQUABBI::"[email protected]"Thu Apr 10 1997 21:3326
[email protected] (Dr. File System's Home for Wayward Inodes.) writes:

>Title: cachefs with NFS servers

>	I suspect Sun's need for a caching file system grew out of
>	their reliance on diskless client systems.

CacheFS would be really, really handy in our development arena.  Our kernel
builds are done with most source and object code coming from NFS
servers usually on the other side of a lossy router.  A kernel build
will completely wipe out the UBC caches on a 96 MB system.  If we
had cacheFS, the first build in the morning would pick up all the new
object files and headers from the nightly build and few reads and writes
would thereafter flow on our 10Base2 network.

I added a readlink cache to NFS cut the number of readlinks per compile
from about 30,000(!) to 5, then had to increase the size of the file name
we would cache because "sterling.nightly" or whatever was too long.  We're
adding a negative name cache to NFS for Steel.  Watching builds while
running tcpdump is truly appalling!

But, no, no plans for cacheFS or autofs.
-- 
  <>    Eric (Ric) Werme   <>      This space under reconstruction       <>
  <>  <[email protected]>  <>                                            <>
[posted by Notes-News gateway]
9409.3customer interestASABET::SILVERBERGMy Other O/S is UNIXFri Apr 11 1997 07:135
    Interesting ---Abbott Labs asked for cachefs on Digital UNIX, but
    we had to respond with the above message.
    
    Mark
    
9409.4Dare I suggest...SMURF::STRANGESteve Strange, UNIX FilesystemsMon Apr 21 1997 18:3310
    You want disk-based client caching?  Use DCE/DFS!  As side benefits,
    you'll also get real security, cache coherency, and a global namespace. 
    DFS has been available on DU for nearly three years.  And it's free
    with a base OS license (although you do need DCE, which isn't entirely
    free).  
    
    OK, got in my DFS plug.  Back to your regularly-scheduled programming. 
    :-)
    
    	Steve