Data storage device adjusting command rate profile based on operating mode
View Patent ↗A data storage device is disclosed comprising a non-volatile memory. A command rate profile is initialized, wherein the command rate profile defines a limit on a number of access commands received from a host as a function of an internal parameter of the data storage device. The command rate profile is adjusted in response to a change in operating mode.
1. A data storage device comprising:
a non-volatile memory; and
control circuitry operable to:
initialize a command rate profile, wherein the command rate profile defines a limit on a number of access commands received from a host as a function of an internal parameter of the data storage device;
detect a change in operating mode independent of a user configurable parameter; and
adjust the function of the command rate profile in response to the detected change in operating mode.
2. The data storage device as recited in claim 1 , wherein the control circuitry is operable to:
detect the change in operating mode by evaluating a history of host commands to estimate whether the data storage device will be accessed in one of a random mode and a sequential mode; and
adjust the command rate profile when changing between the random mode and the sequential mode.
3. The data storage device as recited in claim 1 , wherein the command rate profile defines a limit on the number of write commands received from the host.
4. The data storage device as recited in claim 1 , wherein the internal parameter comprises a write cache for caching data blocks of write commands received from the host.