US 12,340,113 B2
Host controlled garbage collection in a solid state drive
Bishwajit Dutta, Hillsboro, OR (US); Anand S. Ramalingam, Portland, OR (US); Sanjeev N. Trika, Portland, OR (US); and Pallav H. Gala, Hillsboro, OR (US)
Assigned to SK hynix NAND Product Solutions Corp., Rancho Cordova, CA (US)
Filed by SK hynix NAND Product Solutions Corp., San Jose, CA (US)
Filed on Mar. 27, 2021, as Appl. No. 17/214,819.
Prior Publication US 2021/0216239 A1, Jul. 15, 2021
Int. Cl. G06F 3/06 (2006.01); G06F 12/02 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01); G06F 12/0253 (2013.01); G06F 2212/7205 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A solid state drive comprising:
a plurality of non-volatile memory dies comprising a first portion that is used for garbage collection; and
a buffer used to store data to be written to the plurality of non-volatile memory dies, wherein a first portion of the buffer is used to store data to be written during a garbage collection operation to the first portion of the plurality of non-volatile memory dies, and wherein a second portion of the buffer is used to store a host write command; and
a controller configured to at least:
receive from a host system a command to control a number of dies in the first portion of the plurality of non-volatile memory dies to have a given number of dies;
in response to receiving the command, configure the number of dies in the first portion of the plurality of non-volatile memory dies to have the given number of dies;
in response to configuring the number of dies in the first portion of the plurality of non-volatile memory dies, configure a ratio of a size of the first portion of the buffer to a size of the second portion of the buffer to be proportional to a percentage of a total number of dies in the plurality of non-volatile memory dies used for the first portion of the plurality of non-volatile memory dies.