Shaped and optimized power cycles
AssigneeWestern Digital Technologies, Inc.
InventorsAmir Segev, Shay Benisty
Life of this patent
Estimating the term…
Abstract
Systems and methods, according to the present disclosure, determines a duration of the current queue of commands in the controller, executes all full commands capable of being executed prior to the beginning of a low power cycle. Commands that are not executed may be re-fetched when the device enters a power mode. In an alternate embodiment, a portion of a command that is executable prior to the beginning of a low power cycle is executed, with the un-executed portion of the command being stored on the device, in an “always on” or AON memory. This un-executed portion is fetched and executed when the device enters the power mode.
Claims19
A data storage device, comprising:
- one or more memory devices;
- and
- a controller coupled to the one or more memory devices, wherein the controller is configured to:
- receive a plurality of commands at the data storage device comprising a power down time, from a host;
- calculate an expected execution duration of each one of the plurality of commands;
- select a command from the plurality of commands having an expected duration that will exceed the power down time;
- execute a portion of the command;
- save un-executed portions of the command in the memory device;
- cause the data storage device to enter a power down state;
- cause the data storage device to enter a power on state;
- retrieve the un-executed portions of the saved command;
- and
- execute the un-executed portions of the retrieved command.
A data storage device, comprising:
- one or more memory devices;
- and
- a controller coupled to the one or more memory devices, the controller configured to:
- receive a plurality of commands at a device comprising a power down time and a power up time, from a host;
- calculate an expected execution duration of each one of the plurality of commands;
- select a command from the plurality of commands having a duration that will not exceed the power down time of the device;
- execute the command prior to the power down time;
- select a second command from the plurality of commands having an expected duration that will exceed the power down time of the device;
- execute a portion of the second command;
- store un-executed portions of the second command in memory;
- enter, by the device, a power down state at the power down time;
- enter a power on state;
- retrieve the un-executed portions of the second command;
- and
- execute the un-executed portions of the second command.
A data storage device, comprising:
- memory means;
- and
- a controller coupled to the memory means, wherein the controller is configured to:
- receive first commands that can be executed prior to a power down time;
- receive second commands that cannot be executed prior to a power down time;
- execute the first commands prior to entering a power down state;
- execute portions of the second commands prior to entering the power down state;
- store un-executed portions of the second commands in a memory device disposed in the controller prior to entering the power down state;
- and
- execute the un-executed portions of the second commands after entering a power up state, wherein the executing the un-executed portions of the second commands occurs after storing the un-executed portions of the second commands in the memory device.
Dependencies are inferred from the claim text.