×

Disk drive with adaptively segmented cache

  • US 5,966,726 A
  • Filed: 06/25/1997
  • Issued: 10/12/1999
  • Est. Priority Date: 05/28/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. In a disk drive having an intelligent interface for communicating with a host, a magnetic disk, and a cache wherein the cache is divisible into a number of segments, wherein each segment has a cache access type, wherein the number of segments may be varied, a method for adaptively segmenting the cache comprising the steps of:

  • (a) calculating a plurality of caching factors while processing commands from the host; and

    (b) regularly determining whether to change the number of segments wherein an increase of the number of segments is effected based on a weighed weighing of the plurality of caching factors, wherein commands from the host have a block count of a number of blocks of data to transfer and each segment contains a number of blocks per segment and wherein, while processing commands from the host, the disk drive counts the number of random cache accesses, and counts the segments that have sequential access as sequential cache hits, wherein the plurality of caching factors further comprises the number of random cache accesses, the number of sequential cache hits, the number of segments, the block count, and the number of blocks per segment.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×