US 12,430,066 B2
Dynamic controller buffer management and configuration
Karin Inbar, Ramat Hasharon (IL); and Noga Deshe, Raanana (IL)
Assigned to Sandisk Technologies, Inc., Milpitas, CA (US)
Filed by Sandisk Technologies, Inc., Milpitas, CA (US)
Filed on Nov. 8, 2021, as Appl. No. 17/520,936.
Prior Publication US 2023/0143926 A1, May 11, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0656 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0644 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A data storage device, comprising:
a non-volatile memory (NVM) device; and
a controller coupled to the NVM device, the controller comprising:
a buffer memory device comprising a first buffer partition, the first buffer partition being of a first buffer size, and a second buffer partition that is different from the first buffer partition, the of a second buffer partition being of a second buffer size, wherein the first buffer partition comprises one of a transactional random access memory (TRAM) buffer, a logical to physical cache (L2P) buffer, or a parity random access memory (XRAM) buffer, wherein the second buffer partition comprises one of a TRAM buffer, an L2P buffer, or an XRAM buffer that is different from the first buffer partition, wherein the buffer memory device is a contiguous physical memory space, wherein a TRAM buffer is a holding buffer for write operations and relocation operations, wherein an L2P buffer is buffer space for storing parts of a logical to physical table mapping logical location references to physical locations on the NVM device, and wherein an XRAM buffer is configured to hold parity data accumulated for different pages of each open block of the NVM device; and
a processor coupled to the buffer memory device, the processor configured to:
identify a workload characteristic of a workload of the data storage device;
modify the first buffer size based on the workload characteristic; and
modify the second buffer size based on the modification of the first buffer size.