Patent ID: 6883066

Claim:
A method of optimizing cache management in a data storage device in operable communication with a host computer, the method comprising steps of: (a) receiving a command from the host computer exhibiting a data usage pattern; (b) selecting a cache management algorithm based on the data usage pattern by: (b)(i) updating a set of usage statistics in response to receipt of the command; and (b)(i)(1) correlating the set of data usage statistics with a predetermined set of usage patterns associated with known host computer platforms to identify one of the host computer platforms that most closely matches the set of usage statistics; and (b)(ii) determining whether a chance is detected in the data usage pattern; and (b)(iii) if a change is detected in the data usage pattern, selecting a cache management algorithm associated with the data usage pattern, wherein the data storage device is a disc drive having a data disc and the selecting step (b)(iii) comprises steps of: (b)(iii)(1) directing a cache management executive to execute the selected cache management algorithm, wherein the directing step (b)(iii)(1) comprises steps of: (b)(iii)(1)(i) changing a switch position to point to the selected cache management algorithm: and (c) employing the cache management algorithm to process the command.