Method and system for optimizing data caching in a disk-based computer system
First Claim
Patent Images
1. A method, performed by a computer having a cache, for caching data from a file stored on disk, the method comprising the steps of;
- monitoring, upon opening the file, file access behavior in reading data from the file;
maintaining, upon closing the file, access information corresponding to the file indicating the file access behavior monitored;
obtaining, upon reopening the file, the access information maintained; and
reading an amount of the data from the file into the cache, the amount based on the access information obtained.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for dynamic caching of data in a disk based operating system. Upon the opening of a file, an access log is created. The access log is updated while accessing the data from the file. Range of access and access time are determined from the access log, and based on the range of access and access time, it is determined whether access of the file was sequential and within a predetermined access time. Based on this determination, a predetermined amount of data from the file is stored in a cache memory when access was sequential and also within the predetermined access time.
45 Citations
11 Claims
-
1. A method, performed by a computer having a cache, for caching data from a file stored on disk, the method comprising the steps of;
-
monitoring, upon opening the file, file access behavior in reading data from the file; maintaining, upon closing the file, access information corresponding to the file indicating the file access behavior monitored; obtaining, upon reopening the file, the access information maintained; and reading an amount of the data from the file into the cache, the amount based on the access information obtained. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for caching data, comprising:
-
a storage medium storing a file; a computer connected to the storage medium and having a cache, the computer comprising means for monitoring, upon opening the file, file access behavior in reading data from the file, means for storing, upon closing the file, in the file access information indicating the file access behavior monitored, and means for reading, upon reopening the file, an amount of the data from the file into the cache, the amount based on the access information stored in the file. - View Dependent Claims (9, 10, 11)
-
Specification