Disk drive adjusting read-ahead to optimize cache memory allocation
US6910099B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 30, 2002 |
| Grant date | Jun 21, 2005 |
| Priority date | — |
| Expiry date | Aug 6, 2023 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH01R13/748
- WIPO fieldElectrical machinery, apparatus, energy
- WIPO sectorElectrical engineering
Abstract
A disk drive is disclosed which receives a read command from a host computer, the read command comprising a command size representing a number of blocks of read data to read from the disk. A number M of cache segments are allocated from a cache buffer, wherein each cache segment comprises N blocks. The number M of allocated cache segments is computed by summing the command size with a predetermined default number of read-ahead blocks to generate a summation, and integer dividing the summation by N leaving a residue number of default read-ahead blocks. In one embodiment, the residue number of default read-ahead blocks are not read, in another embodiment the residue number of default read-ahead blocks are read if the residue number exceeds a predetermined threshold, and in yet another embodiment the number of read-ahead blocks is extended so that the summation divides evenly by N.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.