Systems and methods for caching with file-level granularity
First Claim
1. A method for improved access to data files comprising the steps:
- (a) designating a portion of volatile memory to be used as a cache memory;
(b) receiving a designation of a file as memory resident; and
(c) maintaining at least one of a data block and an index block corresponding to said designated file in said cache memory for an extended duration.
20 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for implementing improved disk caching in a programmed computer. Improved disk caching is achieved through apparatus and methods that permit the designation of files or types of files as memory-resident, transient, or normal (i.e., neither memory-resident or transient). The disk blocks associated with a memory-resident file are loaded immediately into cache memory in whole or in part, or are loaded on a block-by-block basis as they are accessed. The blocks of a memory-resident file remain in cache until the file is designated not memory resident, whereupon the blocks become purgeable, or until cache size limits force the removal of blocks from the cache. The blocks are purged immediately in whole or in part, or displaced gradually as blocks from other memory-resident files displace them. The blocks of a transient file are maintained in cache for a shorter duration before removal, freeing resources to cache other blocks.
9 Citations
23 Claims
-
1. A method for improved access to data files comprising the steps:
-
(a) designating a portion of volatile memory to be used as a cache memory;
(b) receiving a designation of a file as memory resident; and
(c) maintaining at least one of a data block and an index block corresponding to said designated file in said cache memory for an extended duration. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19)
-
-
13. A method for improved access to data files comprising the steps:
-
(a) designating a portion of volatile memory to be used as a cache memory;
(b) receiving a designation of a file as transient; and
(c) maintaining at least one of a data block and an index block corresponding to said designated file in said cache memory for a nominal duration.
-
-
20. A programmed computer with an improved cache system, comprising:
-
a non-volatile memory comprising a file, said file comprising;
a disk block; and
an attribute field having a value equal to at least one of transient and memory-resident; and
a volatile memory comprising;
a cache comprising a data block, said data block corresponding to a file whose attribute field has a value equal to memory-resident; and
a queue comprising a data structure, said data structure corresponding to a data block stored in said cache, wherein said data structure may only be removed from said queue in satisfaction of size constraints on said cache. - View Dependent Claims (21, 22, 23)
-
Specification