Distributed file system (DFS) cache management based on file access characteristics
Abstract
One or more cache management technique(s) are implemented in a distributed file system of a computer network to enforce equitable use of the cache among the file data in the cache. One technique is a timestamp handicapping routine that functions to keep small-to-medium files in the cache. Another technique implements a "cache quota", which limits the percentage of the cache a single file may consume when there is other data in the cache. When caching of a single file approaches the cache quota, the file data is made to look older than it really is so that upon a subsequent file I/O operation, portions of such data are recycled from the cache earlier than they would have been otherwise. When caching of a single file reaches the cache quota, the file must begin reusing cache from itself or from handicapped chunks from other files. The cache quota technique has the effect of causing cached data towards the end of large files to get flushed or recycled from the cache first. A third technique helps to detect file I/O that is not conducive to caching, such as sequential I/O on a file that is larger that the entire cache. A cache policy prevents the large file from stealing cache
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 41.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of managing a cache of a processing system connected to a computer network during a file I/O operation in which data from a file is being accessed, the cache being divided into chunks, the method comprising the steps of: (a) determining whether the file I/O operation is of a predetermined type; (b) if the file I/O operation is of the predetermined type, determining whether data being accessed from the file is at a predetermined offset in the file; (c) if the data being accessed is not at the predetermined offset in the file, storing the data being accessed in one or more chunks of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 41 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Design of a File Server Operating System, Yo Te Yeh, Lih Fang Lin, and Yen Jen Oyang, IEEE Tencon 93/Bejing, pp. 157 160.
- Design of a File Server Operating System, Yo-Te Yeh, Lih-Fang Lin, and Yen-Jen Oyang, IEEE Tencon '93/Bejing, pp. 157-160.
- IBM Technical Disclosure Bulletin vol. 21 No. 10, Mar. 1979, Frequently Used Data Flush Avoidance In Cache Backing Store, p. 4199.
- IBM Technical Disclosure Bulletin, vol. 19 No. 12, May 1977, Biased Partitioned LRU Cache Replacement Control, p. 4697.
- IBM Technical Disclosure Bulletin, vol. 36, No. 03 Mar. 1993, Local Cache for Server Files, p. 541.