From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3B052A55.8EED5F17@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <20010512130225.4B64F199E1@mail.cse.psu.edu>, <9dshfp$3cu$1@cantaloupe.srv.cs.cmu.edu>, <3B042432.691F18B8@null.net> Subject: Re: [9fans] Persistent cache for cfs Date: Fri, 18 May 2001 14:50:57 +0000 Topicbox-Message-UUID: a1544296-eac9-11e9-9e20-41e7f4b1d025 "Douglas A. Gwyn" wrote: > ... files have a new two-valued attribute, "temporary" > or "permanent" ... It occurs to me that this could be generalized to a "priority level" treated uniformly by the caching subsystem, with low-priority files more subject to replacement in the cache. The cache "scheduler" could also take into account access pattern (time since last access or something more clever). One could play with the cache scheduling algorithm without massing with the filesystem representation once the priority-level attribute existed.