Dynamic self-correcting power management for solid state drive
First Claim
1. A system for power management in a solid state drive (SSD) comprising a flash memory, the system comprising:
- a controller; and
a power management integrated circuit (PMIC),the controller configured to receive commands, each command corresponding to a requested read operation, a requested write operation, or a requested erase operation to be dispatched to the flash memory,the controller configured to place each command in a command queue, and to dispatch each command from the command queue to the flash memory, according to an algorithm, so as to maintain a power consumption of the solid state drive below a maximum acceptable power consumption value, the algorithm employing a power consumption cost table,the controller configured to dynamically adjust the power consumption cost table based on information received from the PMIC,wherein the algorithm comprises;
forming a pool containing a quantity of credits proportional to the maximum acceptable power consumption value;
removing a first quantity of credits from the pool for each write operation conducted, at the beginning of the write operation, and replacing the first quantity of credits at the completion of the write operation, the first quantity of credits being proportional to a mean power consumption of a write operation;
removing a second quantity of credits from the pool for each read operation conducted, at the beginning of the read operation, and replacing the second quantity of credits at the completion of the read operation, the second quantity of credits being proportional to a mean power consumption of a read operation;
removing a third quantity of credits from the pool for each erase operation conducted, at the beginning of the erase operation, and replacing the third quantity of credits at the completion of the erase operation, the third quantity of credits being proportional to a mean power consumption of an erase operation, the mean power consumption of the write operation, the mean power consumption of the read operation, and the mean power consumption of the erase operation being determined from the power consumption cost table; and
delaying a command in the command queue when there are insufficient credits in the pool for the command.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for operating a solid state drive (SSD) within power limitations while maintaining SSD performance. In one embodiment a power management integrated circuit (PMIC) is used to measure power consumption, and a built-in self-test (BIST) procedure is used to exercise the storage device, and to calibrate the power consumed by various SSD operations. The results are stored in a power consumption cost table. In one embodiment, a procedure to dynamically adjust the power consumption cost table is employed. A power credit allocation scheme is used, along with the power consumption cost table, to track and limit the power consumed by the SSD in operation.
18 Citations
12 Claims
-
1. A system for power management in a solid state drive (SSD) comprising a flash memory, the system comprising:
-
a controller; and a power management integrated circuit (PMIC), the controller configured to receive commands, each command corresponding to a requested read operation, a requested write operation, or a requested erase operation to be dispatched to the flash memory, the controller configured to place each command in a command queue, and to dispatch each command from the command queue to the flash memory, according to an algorithm, so as to maintain a power consumption of the solid state drive below a maximum acceptable power consumption value, the algorithm employing a power consumption cost table, the controller configured to dynamically adjust the power consumption cost table based on information received from the PMIC, wherein the algorithm comprises; forming a pool containing a quantity of credits proportional to the maximum acceptable power consumption value; removing a first quantity of credits from the pool for each write operation conducted, at the beginning of the write operation, and replacing the first quantity of credits at the completion of the write operation, the first quantity of credits being proportional to a mean power consumption of a write operation; removing a second quantity of credits from the pool for each read operation conducted, at the beginning of the read operation, and replacing the second quantity of credits at the completion of the read operation, the second quantity of credits being proportional to a mean power consumption of a read operation; removing a third quantity of credits from the pool for each erase operation conducted, at the beginning of the erase operation, and replacing the third quantity of credits at the completion of the erase operation, the third quantity of credits being proportional to a mean power consumption of an erase operation, the mean power consumption of the write operation, the mean power consumption of the read operation, and the mean power consumption of the erase operation being determined from the power consumption cost table; and delaying a command in the command queue when there are insufficient credits in the pool for the command. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for operating a solid state drive comprising a controller, a flash memory, and a power management integrated circuit (PMIC), the method comprising:
-
receiving commands, each command corresponding to a requested read operation, a requested write operation, or a requested erase operation to be executed in the flash memory; placing each command in a command queue; dispatching each command from the command queue to the flash memory, according to an algorithm, so as to maintain a power consumption of the solid state drive below a maximum acceptable power consumption value, the algorithm employing a power consumption cost table; dynamically adjusting, by the controller, the power consumption cost table based on information received from the PMIC; forming a pool containing a quantity of credits proportional to the maximum acceptable power consumption value; removing a first quantity of credits from the pool for each write operation conducted, at the beginning of the write operation, and replacing the first quantity of credits at the completion of the write operation, the first quantity of credits being proportional to a mean power consumption of a write operation; removing a second quantity of credits from the pool for each read operation conducted, at the beginning of the read operation, and replacing the second quantity of credits at the completion of the read operation, the second quantity of credits being proportional to a mean power consumption of a read operation; removing a third quantity of credits from the pool for each erase operation conducted, at the beginning of the erase operation, and replacing the third quantity of credits at the completion of the erase operation, the third quantity of credits being proportional to a mean power consumption of an erase operation, the mean power consumption of the write operation, the mean power consumption of the read operation, and the mean power consumption of the erase operation being determined from the power consumption cost table; and delaying a command in the command queue when there are insufficient credits in the pool for the command. - View Dependent Claims (10, 11, 12)
-
Specification