摘要 |
A disk drive has an intelligent interface for communicating with a host, a magnetic disk, and a cache. The cache is divisible into a number of segments, with each segment having a cache access type. The number of segments may be varied in practice of a method for adaptively segmenting the cache. The method comprises 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.
|