×

Method and apparatus for enhancing the disk cache process by dynamically sizing prefetch data associated with read requests based upon the current cache hit rate

  • US 6,085,287 A
  • Filed: 12/23/1998
  • Issued: 07/04/2000
  • Est. Priority Date: 12/30/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of reading data in a computer system, the computer system including a disk and a disk cache in communication with the disk, wherein the computer system runs an application program which makes a first read request whenever it needs data to execute the program, the method comprising the steps of:

  • (a) tracking a disk cache hit rate of the computer system;

    (b) detecting a request for data which is immediately requested by the computer system but which is not currently present in the disk cache;

    (c) formulating a read request to obtain the requested data from the disk; and

    (d) dynamically sizing the read request based upon the current disk cache hit rate, wherein any data requested in the read request which is not the immediately requested data is located adjacent to the immediately requested data on the disk, wherein steps (a)-(d) are performed by;

    (e) receiving the first read request in a disk cache enhancer and in a disk cache manager, the disk cache manager including disk cache which is the disk cache of the computer system;

    (f) providing the requested data to the application program from the disk cache if the requested data is currently in the disk cache; and

    (g) formulating a second read request by the disk cache enhancer if the requested data is detected as not currently being in the disk cache, wherein the second read request is the dynamically sized read request of steps (c) and (d).

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×