A fundamental factor in computer performance is file access time. In a networked environment using NFS, every file access request across the network affects performance. The Cache File System (CacheFS) can be used to improve performance of NFS-mounted file systems or slow devices such as a CD-ROM. When a file system is cached, the data read from the remote file system or CD-ROM is stored in a cache on the local system’s disk. First, let’s introduce some terms:
Back file system The file system on the remote host, or CD-ROM, that is being cached. Typically, this is an NFS or HSFS file system. Files in the back file system are called back files.
Front file system The file system that contains the cached data, typically a UFS file system. ...