Dynamic L2P cache
AssigneeMicron Technology, Inc.
InventorSebastien Andre Jean
Life of this patent
Estimating the term…
Abstract
Disclosed in some examples are methods, systems, and machine readable mediums that dynamically adjust the size of an L2P cache in a memory device in response to observed operational conditions. The L2P cache may borrow memory space from a donor memory location, such as a read or write buffer. For example, if the system notices a high amount of read requests, the system may increase the size of the L2P cache at the expense of the write buffer (which may be decreased). Likewise, if the system notices a high amount of write requests, the system may increase the size of the L2P cache at the expense of the read buffer (which may be decreased).
Claims20
A NAND memory device comprising:
- a controller;
- a volatile memory, storing instructions that, when executed by the controller, cause the controller to perform operations comprising:
- determining a command queue depth of a command queue of the NAND memory device;
- determining whether an amount of volatile memory allocated to a Logical to Physical (L2P) cache should be increased based upon the command queue depth of the command queue exceeding a threshold number of commands in the command queue;
- responsive to determining that the amount of volatile memory allocated to the L2P cache should be increased, reallocating a region of volatile memory allocated to a donor memory location to the L2P cache, wherein the donor memory location is volatile memory assigned to a read buffer, a write buffer, or both the read and the write buffer;
- and
- storing additional L2P entries in the L2P cache at least partially in the region of volatile memory previously allocated to the donor memory location.
A method performed on a NAND memory device, the method comprising:
- determining a command queue depth of a command queue of the NAND memory device;
- determining whether an amount of volatile memory of the NAND memory device allocated to a Logical to Physical (L2P) cache should be increased based upon the command queue depth of the command queue exceeding a threshold number of commands in the command queue;
- responsive to determining that the amount of volatile memory allocated to the L2P cache should be increased, reallocating a region of volatile memory allocated to a donor memory location to the L2P cache, wherein the donor memory location is volatile memory assigned to a read buffer, a write buffer, or both the read and the write buffer;
- and
- storing additional L2P entries in the L2P cache at least partially in the region of volatile memory previously allocated to the donor memory location.
Dependencies are inferred from the claim text.