Classified change logs for physical page table compression

Through classified change log buffer technology, sequential logical to physical mapping is generated, which solves the problems of low physical page table write operations and storage space efficiency in the existing technology, and achieves more efficient memory system performance and longer devices. life.

CN118829972APending Publication Date: 2024-10-22MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280090404.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-03-17
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing memory systems have problems with the number of write operations and low storage space efficiency in terms of physical page table compression. Especially in multi-level physical page table structures, it is difficult to effectively reduce write operations and storage space requirements.

Method used

Classified change log buffer technology is used to generate sequential logical-to-physical mappings by sorting and classifying entries in the change log buffer, thereby generating compressed physical page table entries and reducing writes to multi-level physical page tables. input operations and storage space requirements.

Benefits of technology

It effectively reduces the number of write operations and storage space requirements of the physical page table, improves the efficiency and reliability of the memory system, and extends the operating life of the NAND device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118829972A_ABST
    Figure CN118829972A_ABST
Patent Text Reader

Abstract

Methods, systems, and apparatus are described for classified change logs for physical page table compression. A mapping between logical addresses and physical addresses may be stored in a change log buffer. The mapping may be stored at a location of the change log buffer based on a logical address of the mapping relative to logical addresses of other mappings stored in the change log buffer. Based on storing mappings in the change log buffer according to logical addresses of the mappings, a set of mappings in the change log may include a set of sequentially indexed logical addresses. Compressed entries of a logical-to-physical table may be generated based on the set of mappings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The following relates to one or more systems of memory including a sorted change log for physical page table compression. Background Art

[0002] Memory devices are widely used to store information in various electronic devices, such as computers, user devices, wireless communication devices, cameras, digital displays, and the like. Information is stored by programming memory cells within the memory device to various states. For example, a binary memory cell can be programmed to one of two supported states, typically corresponding to a logical 1 or a logical 0. In some examples, a single memory cell can support more than two possible states, either of which can be stored by the memory cell. To access information stored by a memory device, a component can read (e.g., sense, detect, retrieve, identify, determine, evaluate) the state of one or more memory cells within the memory device. To store information, a component can write (e.g., program, set, assign) one or more memory cells within the memory device to a corresponding state.

[0003] There are various types of memory devices, including magnetic hard disks, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous dynamic DRAM (SDRAM), static RAM (SRAM), ferroelectric RAM (FeRAM), magnetic RAM (MRAM), resistive RAM (RRAM), flash memory, phase change memory (PCM), 3-dimensional cross point memory (3D cross point), NOR and NAND memory devices, and others. Memory devices may be described according to either a volatile configuration or a non-volatile configuration. A volatile memory cell (e.g., DRAM) may lose its programmed state over time unless it is periodically refreshed by an external power source. A non-volatile memory cell (e.g., NAND) may maintain its programmed state for an extended period of time even in the absence of an external power source. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Figure 1 An example of a system supporting a classified change log for physical page table compression according to examples disclosed herein is described.

[0005] Figure 2 An example of a subsystem supporting a classified change log for physical page table compression according to examples disclosed herein is described.

[0006] Figure 3 An example of a change log buffer configuration supporting a sorted change log for physical page table compression according to examples disclosed herein is described.

[0007] Figure 4 An example of a flow diagram illustrating a sorted change log for physical page table compression according to examples disclosed herein.

[0008] Figure 5 A block diagram is shown of a memory system supporting a classified change log for physical page table compression according to examples disclosed herein.

[0009] Figure 6 A flow chart illustrating a method of supporting a classified change log for physical page table compression according to examples disclosed herein is shown. DETAILED DESCRIPTION

[0010] Compressed physical page table (PPT) entries may be used to reduce the size of a multi-level PPT, the number of write operations performed on the PPT, or both. In some instances, if a sequentially indexed lower-level PPT entry (e.g., a PPT3 entry) corresponds to a sequentially indexed physical page, then a compressed PPT entry may be generated. A change log buffer may be used to temporarily store data for storage—e.g., a logical-to-physical mapping between a logical address and a physical address for a recent write operation. In some instances, entries in a change log buffer may be used to generate compressed PPT entries—e.g., in response to all entries in the change log buffer being sequentially indexed.

[0011] Generating compressed physical page table (PPT) entries in response to all entries in the change log buffer being sequential can reduce the likelihood that compressed PPT entries will be generated. Moreover, if the size of the change log buffer increases, the likelihood that compressed PPT entries will be generated can be further reduced. For example, because the likelihood that all entries in the change log buffer are indexed sequentially is lower. That is, as the size of the change log buffer increases, it can become less likely that all entries in the change log buffer are sequential. Using an append-only change log buffer can further reduce the likelihood that all entries in the change log buffer are sequential—for example, if the order of two write commands in a set of otherwise sequential write commands is swapped.

[0012] To increase the likelihood that the change log buffer is used to generate compressed PPT entries, techniques for ordering entries in the change log buffer may be used. Furthermore, a set of sequential entries in the change log buffer that do not span the entire change log buffer may be used to generate compressed PPT entries. In some examples, a set of sequential entries in a portion of the change log buffer that may be used to generate compressed PPT entries is based on a configuration of entries in a lower-level physical page table (e.g., PPT3 entries).

[0013] First, features of the present disclosure are described in the context of a system. Features of the present disclosure are also described in the context of a subsystem, a change log buffer configuration, and a flow chart. These and other features of the present disclosure are further illustrated and described in the context of a device diagram and flow chart related to a classified change log for physical page table compression.

[0014] Figure 1 An example of a system 100 supporting a classified change log for physical page table compression according to examples disclosed herein is illustrated. The system 100 includes a host system 105 coupled to a memory system 110.

[0015] The memory system 110 may be or include any device or set of devices, wherein the device or set of devices includes at least one memory array. For example, the memory system 110 may be or include a universal flash storage (UFS) device, an embedded multimedia controller (eMMC) device, a flash memory device, a universal serial bus (USB) flash memory device, a secure digital (SD) card, a solid state drive (SSD), a hard disk drive (HDD), a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), or a non-volatile DIMM (NVDIMM), among other possibilities.

[0016] System 100 may be included in a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (such as an airplane, drone, train, car, or other transportation vehicle), a device with Internet of Things (IoT) capabilities, an embedded computer (e.g., an embedded computer included in a vehicle, industrial equipment, or a networked commercial device), or any other computing device that includes a memory and a processing device.

[0017] System 100 may include a host system 105, which may be coupled to a memory system 110. In some examples, this coupling may include an interface with a host system controller 106, which may be an example of a controller or control component configured to cause the host system 105 to perform various operations according to the examples described herein. The host system 105 may include one or more devices, and in some cases, may include a processor chipset and a software stack executed by the processor chipset. For example, the host system 105 may include an application configured to communicate with the memory system 110 or the devices therein. The processor chipset may include one or more cores, one or more caches (e.g., memory local to or included in the host system 105), a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a peripheral component interconnect express (PCIe) controller, a serial advanced technology attachment (SATA) controller). The host system 105 may use the memory subsystem 110, for example, to write data to the memory system 110 and read data from the memory system 110. Although Figure 1 One memory system 110 is shown in FIG. 1 , but the host system 105 may be coupled to any number of memory systems 110 .

[0018] The host system 105 may be coupled to the memory system 110 via at least one physical host interface. In some cases, the host system 105 and the memory system 110 may be configured to communicate (e.g., exchange or otherwise communicate control, address, data, and other signals between the memory system 110 and the host system 105) via the physical host interface using an associated protocol. Examples of physical host interfaces may include, but are not limited to, a SATA interface, a USF interface, an eMMC interface, a PCIe interface, a USB interface, a Fibre Channel interface, a Small Computer System Interface (SCSI), a Serial Attached SCSI (SAS), a Double Data Rate (DDR) interface, a DIMM interface (e.g., a DDR-capable DIMM slot interface), an Open NAND Flash Interface (ONFI), and a Low Power Double Data Rate (LPDDR) interface. In some examples, one or more such interfaces may be included in a host system controller 106 of the host system 105 and a memory system controller 115 of the memory system 110, or otherwise supported between the host system controller 106 and the memory system controller 115. In some examples, the host system 105 may be coupled to the memory system 110 via a respective physical host interface for each memory device 130 included in the memory system 110, or via a respective physical host interface for each type of memory device 130 included in the memory system 110 (e.g., the host system controller 106 may be coupled to the memory system controller 115).

[0019] The memory system 110 may include a memory system controller 115 and one or more memory devices 130. The memory device 130 may include one or more memory arrays of any type of memory cells (e.g., non-volatile memory cells, volatile memory cells, or any combination thereof). Figure 1 , two memory devices 130-a and 130-b are shown in the example of , but the memory system 110 may include any number of memory devices 130. Furthermore, if the memory system 110 includes more than one memory device 130, different memory devices 130 within the memory system 110 may include the same or different types of memory cells.

[0020] The memory system controller 115 may be coupled to and communicate with the host system 105 (e.g., via a physical host interface), and may be an example of a controller or control component configured to cause the memory system 110 to perform various operations according to the examples described herein. The memory system controller 115 may also be coupled to and communicate with the memory devices 130 to perform operations, such as reading data, writing data, erasing data, or refreshing data at the memory devices 130, and other such operations, which may generally be referred to as access operations. In some cases, the memory system controller 115 may receive commands from the host system 105 and communicate with one or more memory devices 130 to execute such commands (e.g., at a memory array within the one or more memory devices 130). For example, the memory system controller 115 may receive commands or operations from the host system 105 and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. In some cases, the memory system controller 115 may exchange data (e.g., in response to or otherwise associated with commands from the host system 105) with the host system 105 and one or more memory devices 130. For example, the memory system controller 115 may convert responses (e.g., data packets or other signals) associated with the memory devices 130 into corresponding signals for the host system 105.

[0021] The memory system controller 115 may be configured for other operations associated with the memory device 130. For example, the memory system controller 115 may perform or manage operations such as wear leveling operations, garbage collection operations, error control operations such as error detection operations or error correction operations, encryption operations, cache operations, media management operations, background refreshes, health monitoring, and address translation between logical addresses (e.g., logical block addresses (LBAs)) associated with commands from the host system 105 and physical addresses (e.g., physical block addresses) associated with memory cells within the memory device 130.

[0022] The memory system controller 115 may include hardware such as one or more integrated circuits or discrete components, buffer memory, or a combination thereof. The hardware may include circuitry having dedicated (e.g., hard-coded) logic for performing the operations attributed herein to the memory system controller 115. The memory system controller 115 may be or include a microcontroller, dedicated logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a digital signal processor (DSP)), or any other suitable processor or processing circuitry.

[0023] The memory system controller 115 may also include a local memory 120. In some cases, the local memory 120 may include a read-only memory (ROM) or other memory that may store operating code (e.g., executable instructions) that may be executed by the memory system controller 115 to perform the functions attributed herein to the memory system controller 115. In some cases, the local memory 120 may additionally or alternatively include a static random access memory (SRAM) or other memory that may be used by the memory system controller 115, for example, for internal storage or computations related to the functions attributed herein to the memory system controller 115. Additionally or alternatively, the local memory 120 may be used as a cache for the memory system controller 115. For example, if data is read from or written to the memory device 130, the data may be stored in the local memory 120, and the data may be available in the local memory 120 for subsequent retrieval or manipulation (e.g., updating) by the host system 105 according to a cache policy (e.g., with reduced latency relative to the memory device 130).

[0024] although Figure 1 The example of the memory system 110 in has been illustrated as including the memory system controller 115, but in some cases, the memory system 110 may not include the memory system controller 115. For example, the memory system 110 may additionally or alternatively rely on an external controller (e.g., implemented by the host system 105) or one or more local controllers 135 that may be respectively located within the memory device 130 to perform the functions attributed herein to the memory system controller 115. Generally, in some cases, one or more functions attributed herein to the memory system controller 115 may alternatively be performed by the host system 105, the local controller 135, or any combination thereof. In some cases, the memory device 130 that is at least partially managed by the memory system controller 115 may be referred to as a managed memory device. An example of a managed memory device is a managed NAND (MNAND) device.

[0025] The memory device 130 may include one or more arrays of non-volatile memory cells. For example, the memory device 130 may include NAND (e.g., NAND flash memory), ROM, phase change memory (PCM), self-select memory, other chalcogenide-based memory, ferroelectric random access memory (RAM) (FeRAM), magnetic RAM (MRAM), NOR (e.g., NOR flash) memory, spin transfer torque (STT)-MRAM, conductive bridge RAM (CBRAM), resistive random access memory (RRAM), oxide-based RRAM (OxRAM), electrically erasable programmable ROM (EEPROM), or any combination thereof. Additionally or alternatively, the memory device 130 may include one or more arrays of volatile memory cells. For example, the memory device 130 may include RAM memory cells, such as dynamic RAM (DRAM) memory cells and synchronous DRAM (SDRAM) memory cells.

[0026] In some examples, the memory devices 130 may include a local controller 135 (e.g., on the same die or within the same package) that may perform operations on one or more memory cells of the respective memory devices 130. The local controller 135 may operate in conjunction with the memory system controller 115, or may perform one or more functions attributed herein to the memory system controller 115. For example, Figure 1 As illustrated in FIG. 1 , memory device 130 - a may include a local controller 135 - a and memory device 130 - b may include a local controller 135 - b.

[0027] In some cases, memory device 130 may be or include a NAND device (e.g., a NAND flash memory device). Memory device 130 may be or include a memory die 160. For example, in some cases, memory device 130 may be a package including one or more die 160. In some examples, die 160 may be an electronic grade semiconductor piece cut from a wafer (e.g., a silicon die cut from a silicon wafer). Each die 160 may include one or more planes 165, and each plane 165 may include a set of corresponding blocks 170, wherein each block 170 may include a set of corresponding pages 175, and each page 175 may include a set of memory cells.

[0028] In some cases, the NAND memory device 130 may include memory cells configured to store one bit of information each, which may be referred to as single-level cells (SLCs). Additionally or alternatively, the NAND memory device 130 may include memory cells configured to store multiple bits of information each, which may be referred to as multi-level cells (MLCs) if the memory cells are configured to store two bits of information each, three-level cells (TLCs) if the memory cells are configured to store three bits of information each, quad-level cells (QLCs) if the memory cells are configured to store four bits of information each, or more generally, multi-level memory cells. Relative to SLC memory cells, multi-level memory cells may provide greater storage density, but in some cases may involve narrower read or write margins or greater complexity of supporting circuitry.

[0029] In some cases, a plane 165 may refer to a group of blocks 170, and in some cases, concurrent operations may occur within different planes 165. For example, concurrent operations may be performed on memory cells within different blocks 170 as long as the different blocks 170 are in different planes 165. In some cases, individual blocks 170 may be referred to as physical blocks, and a virtual block 180 may refer to a group of blocks 170 within which concurrent operations may occur. For example, concurrent operations may be performed on blocks 170-a, 170-b, 170-c, and 170-d that are located within planes 165-a, 165-b, 165-c, and 165-d, respectively, and blocks 170-a, 170-b, 170-c, and 170-d may be collectively referred to as a virtual block 180. In some cases, a virtual block may include blocks 170 from different memory devices 130 (e.g., blocks in one or more planes including memory device 130-a and memory device 130-b). In some cases, blocks 170 within a virtual block may have the same block address within their respective planes 165 (e.g., block 170-a may be "block 0" of plane 165-a, block 170-b may be "block 0" of plane 165-b, and so on). In some cases, performing concurrent operations in different planes 165 may be subject to one or more restrictions, such as performing concurrent operations on memory cells in different pages 175 that have the same page address in their respective planes 165 (e.g., related to command decoding, page address decoding circuitry, or other circuitry shared across planes 165).

[0030] In some cases, block 170 may include memory cells organized into rows (pages 175) and columns (e.g., strings, not shown). For example, memory cells in the same page 175 may share (e.g., be coupled to) a common word line, and memory cells in the same string may share (e.g., be coupled to) a common digit line (which may alternatively be referred to as a bit line).

[0031] For some NAND architectures, memory cells can be read and programmed (e.g., written) at a first level of granularity (e.g., at a page granularity), but can be erased at a second level of granularity (e.g., at a block granularity). That is, a page 175 can be the smallest unit of memory (e.g., a group of memory cells) that can be independently programmed or read (e.g., concurrently programmed or read as part of a single programming or reading operation), and a block 170 can be the smallest unit of memory (e.g., a group of memory cells) that can be independently erased (e.g., concurrently erased as part of a single erase operation). Furthermore, in some cases, a NAND memory cell can be erased before it can be rewritten with new data. Thus, for example, in some cases, a used page 175 cannot be updated until the entire block 170 containing the page 175 has been erased.

[0032] The system 100 may include any number of non-transitory computer-readable media that support a classified change log for physical page table compression. For example, the host system 105, the memory system controller 115, or the memory device 130 (e.g., the local controller 135) may include or otherwise have access to one or more non-transitory computer-readable media storing instructions (e.g., firmware) for performing the functions attributed herein to the host system 105, the memory system controller 115, or the memory device 130. For example, such instructions, if executed by the host system 105 (e.g., by the host system controller 106), the memory system controller 115, or the memory device 130 (e.g., by the local controller 135), may cause the host system 105, the memory system controller 115, or the memory device 130 to perform one or more associated functions as described herein.

[0033] In some cases, memory system 110 may utilize memory system controller 115 to provide a managed memory system, which may include, for example, one or more memory arrays and related circuitry in combination with a local (e.g., on-die or in-package) controller, such as local controller 135. An example of a managed memory system is a managed NAND (MNAND) system.

[0034] The memory system 110 may include a change log buffer that indicates, for the most recent write operation, the physical address written by the write operation and the logical address contained in the corresponding write command. That is, the change log buffer may include a mapping between the logical address used by the host system 105 to write data to the memory system 110 and the corresponding physical address used by the memory system 110 to store the data (which may be referred to as a logical-to-physical mapping). In some examples, the logical-to-physical mapping for each operation may be appended to the change log buffer in the order in which the write operations are received.

[0035] The change log buffer may be used to reduce the amount of write operations to a portion of the NAND device that stores the PPT (which may also be referred to as an L2P table). In some examples, entries in the change log buffer are used to update the PPT at the NAND device—e.g., in response to the available capacity of the change log buffer reaching a threshold, during a power outage scenario, in response to a command, etc.

[0036] As described herein, a PPT in a NAND device may store logical-to-physical mappings of logical addresses and physical addresses managed by a memory system 110. The PPT may include multiple levels—e.g., a first level (PPT1), a second level (PPT2), and a third level (PPT3). The third level may include individual entries (which may be referred to as PPT3 entries) for logical-to-physical mappings between each logical address and physical address of the NAND device. The second level may include entries (which may be referred to as PPT2 entries) pointing to several sets of logical-to-physical mappings in the third level. For example, an entry in the second level may point to a set of logical-to-physical mappings starting with a logical address that is a multiple of an integer (e.g., 1024), wherein the set of logical-to-physical mappings may include the same number of logical-to-physical mappings. The third level may include entries (which may be referred to as PPT1 entries) pointing to a set of logical-to-physical mappings in the second level.

[0037] The PPT compression technique may be used to reduce the size of the PPT, reduce the number of write operations to the PPT, or both. The PPT compression technique may include identifying several sets of logical-to-physical mappings in sequential PPT3 entries. That is, several sets of PPT3 entries with sequential logical addresses and / or physical addresses. Specifically, in some examples, the PPT compression technique may identify several sets of sequential PPT3 entries starting from a logical address that is a multiple of 1024 and including 1024 logical-to-physical mappings. Based on identifying such a set of PPT3 entries, the PPT compression technique may generate compressed entries in the PPT indicating that the identified set of PPT3 entries is sequential. For example, the PPT compression technique may update an indicator in a PPT2 entry pointing to a first PPT3 entry in the set of PPT3 entries, wherein the indicator may indicate that the set of PPT3 entries is sequential. Therefore, the memory system 110 may use a single PPT2 entry to determine the logical-to-physical mapping of a set of logical addresses—for example, instead of analyzing each PPT3 entry.

[0038] The change log buffer may be used in combination with PPT compression techniques—e.g., to reduce the size of the PPT at the NAND device, to reduce the number of write operations to the PPT at the NAND device, or both. For example, if all entries in the change log buffer (e.g., each logical-to-physical mapping) are sequential (e.g., if the logical addresses of the logical-to-physical mapping are sequential), then one or more compressed PPT entries may be generated. For example, in such cases, the entries in the change log buffer may be used to generate PPT2 entries corresponding to a set of sequential logical-to-physical mappings, where an indicator in the PPT2 entry may be set to indicate that the PPT3 entry pointed to by the PPT2 entry is sequential. In response to the change log buffer being flushed, one or more portions of the PPT corresponding to the logical-to-physical mapping in the change log may be loaded into—e.g., SRAM. And the compressed PPT entries may be added to the portions of the PPT (or used to overwrite the corresponding entries). After updating the portion of the PPT, the PPT (or the updated portion of the PPT) may be written back to the NAND device.

[0039] Generating compressed PPT entries in response to all entries in the change log buffer being sequential can reduce the likelihood that compressed PPT entries will be generated. Moreover, if the size of the change log buffer increases, the likelihood that compressed PPT entries will be generated can be further reduced. That is, as the size of the change log buffer increases, it can become less likely that all entries in the change log buffer will be sequential. Using an append-only change log buffer can further reduce the likelihood that all entries in the change log buffer will be sequential—for example, if the order of two write commands in a set of otherwise sequential write commands is swapped.

[0040] To increase the likelihood that the change log buffer is used to generate compressed PPT entries, techniques for ordering entries in the change log buffer may be used. Furthermore, a set of sequential entries in the change log buffer that does not span the entire change log buffer may be used to generate compressed PPT entries. In some examples, a set of sequential entries in a portion of the change log buffer that may be used to generate compressed PPT entries is based on a configuration of PPT3 entries in the PPT—for example, the number of entries in the set of sequential entries may correspond to the number of entries in a PPT3 page.

[0041] In some examples, the memory system 110 may receive a write command associated with data and a logical address for storing the data from the host system 105. In response to the write command, the memory system 110 may write the data to a physical address at the memory device 130-a, wherein a logical-to-physical mapping between the logical address and the physical address may be generated based on the data being written to the physical address. The memory system 110 may store the logical-to-physical mapping at a location in a change log buffer. In some examples, the resulting location of the logical-to-physical mapping in the change log buffer may be based on the logical address of the logical-to-physical mapping relative to the logical addresses of other logical-to-physical mappings stored in the change log buffer.

[0042] In some examples, to store the logical-to-physical mapping at the location of the change log buffer, the memory system 110 may identify the location of the logical-to-physical mapping in the change log buffer based on comparing the logical address of the logical-to-physical mapping with the logical addresses of other logical-to-physical mappings. The memory system 110 may then store the logical-to-physical mapping between two logical-to-physical mappings having logical addresses lower and higher than the logical address of the logical-to-physical mapping. Additionally or alternatively, to store the logical-to-physical mapping at the location of the change log buffer, the memory system 110 may perform a sorting operation to sort the logical-to-physical mappings in the change log buffer based on the logical address (e.g., in descending or ascending order).

[0043] Based on the entries in the change log buffer, the memory system 100 may generate compressed entries in the logical-to-physical table for a set of mappings of logical addresses stored in the change log buffer that include a set of sequential indices. The memory system 100 may use the compressed entries to compress a PPT stored in the memory device 130-a, reduce the number of write operations to the PPT stored in the memory device 130-a, and the like.

[0044] By classifying the logical to physical mappings of the change log buffer, some (or all) of the logical to physical mappings in the change log buffer may be arranged to have sequentially indexed logical addresses. By arranging the logical to physical mappings in a sequential manner, one or more sets of sequentially indexed logical to physical mappings may be identified and used to perform PPT compression.

[0045] Figure 2 An example of a subsystem supporting a classified change log for physical page table compression according to examples disclosed herein is described.

[0046] Subsystem 200 depicts an example configuration of a memory system and an example configuration of a multi-level PPT stored in the memory system. Memory system 210 may be Figure 1Memory system 210 may include NAND device 230, SRAM device 205, change log buffer 207, controller 215, and change log manager 220.

[0047] The SRAM device 205 may be Figure 1 The SRAM device 205 may store a portion of the PPT. For example, the SRAM device 205 may store a portion of the PPT that is frequently used, recently used, predicted to be used, and the like. The SRAM device 205 may include a volatile memory cell for storing data that can be operated without being refreshed.

[0048] The change log buffer 207 may be configured to store a logical-to-physical mapping for a recently executed access operation (e.g., a write operation, a read operation, an unmap operation, an erase operation). For example, upon receiving a write command associated with a logical address, the controller 215 may write the data associated with the command to the physical address. And the controller 215 may store the mapping between the logical address and the physical address in the change log buffer 207. In some examples, the logical-to-physical mapping includes information that is the same as (or similar to) the information included in the PPT3 entry.

[0049] By storing the mapping in the change log buffer 207 (e.g., instead of writing the mapping to the PPT at the NAND device 230), write operations to a portion of the NAND device 230 that includes the PPT table can be delayed or reduced (e.g., if the controller performs multiple memory operations that reference the mapping stored in the change log buffer 207). In some examples, the change log buffer 207 can be implemented in the SRAM device 205. For example, a group of memory cells in the SRAM device 205 can be allocated to the change log buffer 207. The change log buffer can include a certain number of entries (e.g., 4k entries, 8k entries).

[0050] The controller 215 may be Figure 1 An example of a memory system controller 115, or in some examples, is Figure 1206. The controller 215 may be configured to access data stored in the NAND device 230 according to commands received from the host system. In some examples, in order to access the correct physical address in the NAND device 230 for the received command, the controller 215 may consult a portion of the PPT stored in the SRAM device 205. If the portion of the PPT stored in the SRAM device 205 does not include the relevant logical-to-physical mapping, the controller 215 may load the relevant portion of the PPT into the SRAM device 205 that does include the relevant logical-to-physical mapping. In some examples, the controller 215 may consult the logical-to-physical mapping stored in the change log buffer 207 to identify the correct physical address in the NAND device 230.

[0051] After performing an access operation, the controller 215 may store a logical-to-physical mapping in the change log buffer 207 , the logical-to-physical mapping indicating a mapping between a logical address of a corresponding write command and a physical address for storing data associated with the corresponding access command.

[0052] The NAND device 230 may be Figure 1 205. As described herein, the NAND device 230 may be used to store data and PPTs for applications running at the host system. The PPT at the NAND device 230 may include a logical-to-physical mapping of all logical addresses managed by the memory system 210. In some examples, PPT compression techniques are used to reduce the size of the PPT stored at the NAND device 230 to reduce the amount of information exchanged to transfer portions of the PPT to and from the SRAM device 205, or both. As described herein, the PPT may be a multi-level table. For example, the PPT may include PPT1 235, PPT2 240, and PPT3 245.

[0053] PPT1 235 may include one or more PPT1 pages (e.g., PPT1 page 237). Each entry in PPT1 page 237 may point to a PPT2 page of PPT2 240. For example, the first entry in PPT1 235 may point to PPT2 page 242, the second entry in PPT1 235 may point to the second PPT2 page, and so on.

[0054] PPT2 240 may include multiple PPT2 pages (e.g., PPT2 page 242). Each entry in PPT2 page 242 may point to a PPT3 page of PPT3 245. For example, the first entry in PPT2 page 242 may point to PPT3 page 247, the second entry in PPT2 page 242 may point to the second PPT3 page, and so on.

[0055] PPT3 245 may include multiple PPT3 pages (e.g., PPT3 page 247). Each entry in PPT3 page 247 may point to a physical page of physical resource 250. For example, a first entry in PPT3 page 247 may point to a first physical page, a second entry in PPT3 page 247 may point to a second physical page, and so on. In some examples, each entry in PPT3 245 may include a direct logical-to-physical mapping between an individual logical address and an individual physical address.

[0056] The change log manager 220 can be configured to manage entries in the change log buffer 207. For example, the change log manager 220 can be configured to maintain the change log buffer 207 in a sorted order. In some instances, the change log manager 220 is part of the controller 215. In other instances, the change log manager 220 is separate from the controller 215 and implemented in firmware. In some instances, rather than the controller 215 writing the logical-to-physical mapping directly into the change log buffer 207, the controller 215 can provide the logical-to-physical mapping to the change log manager 220, and the change log manager 220 can write the logical-to-physical mapping to the change log manager 220.

[0057] In some examples, to maintain the change log buffer 207 in a sorted order, the change log manager 220 may select a location for storing the logical-to-physical mapping in the change log buffer 207 based on the logical address of the logical-to-physical mapping to be stored and the logical address of the logical-to-physical mapping currently stored in the change log buffer 207. For example, the change log buffer 207 may identify the logical address of the currently stored logical-to-physical mapping and store the logical-to-physical mapping at a location between the stored logical-to-physical mapping having a lower logical address and the stored logical-to-physical mapping having a higher logical address than the logical address of the logical-to-physical mapping to be stored.

[0058] Additionally or alternatively, to maintain the change log buffer 207 in a sorted order, the change log manager 220 may write the logical-to-physical mapping to be stored at the end of the change log buffer 207. And, after writing the logical-to-physical mapping at the end of the change log buffer 207, the change log manager 220 may perform an operation for re-sorting the entries of the change log buffer 207 so that the logical-to-physical mapping is arranged in a numerical order (e.g., ascending order), wherein the numerical order may be based on the logical addresses of the logical-to-physical mapping.

[0059] Figure 3 An example of a change log buffer configuration supporting a sorted change log for physical page table compression according to examples disclosed herein is described.

[0060] The change log buffer 300 is configured to store a logical-to-physical mapping for the most recently completed write operation, the logical-to-physical mapping indicating the relationship between the logical address (used by the host system to store data) and the physical address (used by the memory system to store data). Figure 2 300. The change log buffer 300 may include a plurality of locations, including location 305. Entries may be entered into the change log buffer 300 at different locations of the change log buffer 300. The entry may be a logical-to-physical mapping including a logical address and a physical address. The logical-to-physical mapping may be used to indicate that information associated with a logical address (e.g., a logical block address) is stored at a physical address (e.g., a physical page address) of a memory system.

[0061] As described herein, logical-to-physical mappings in the change log buffer 300 may be sorted, for example, based on their corresponding logical addresses. In some instances, a new logical-to-physical mapping is entered into the change log buffer 300 at a location based on the logical address of the logical-to-physical mapping. For example, the new logical-to-physical mapping may be entered into the change log buffer 300 at a location between a first location for a first logical-to-physical mapping having a logical address lower than the logical address of the new logical-to-physical mapping and a second location for a second logical-to-physical mapping having a logical address higher than the logical address of the new logical-to-physical mapping. In other instances, the new logical-to-physical mapping is added to an empty location at the end of the change log buffer 300, and the entries of the change log buffer 300 are subsequently sorted (e.g., periodically, in response to certain events, etc.). A change log manager (e.g., Figure 2 The change log manager 220) may be used to identify the location of the logical-to-physical mapping of the change log buffer 300, to categorize entries of the change log buffer 300, or both.

[0062] Based on classifying the entries in the change log buffer 300, one or more sequential areas (e.g., a first sequential area 310-1 and a second sequential area 310-2) may be generated. A sequential area may be an area in the change log buffer 300 that includes a threshold number of sequential logical-to-physical mappings (e.g., 1024). That is, the logical-to-physical mappings in the sequential area may have corresponding logical addresses that completely span the logical address range (e.g., LBA_1024 to LBA_2047). In some examples, the logical-to-physical mappings are arranged in the order of their corresponding logical addresses. For example, the first logical-to-physical mapping of the first sequential area 310-1 may include LBA_1024, the second logical-to-physical mapping of the first sequential area 310-1 may include LBA_1025, and so on, until the last logical-to-physical mapping of the first sequential area 310-1, which may include LBA_2047. In other examples, the logical-to-physical mappings are arranged in a different order than their corresponding logical addresses, as long as the logical-to-physical mappings within the sequential region encompass the entire logical address range.

[0063] The threshold number of logical-to-physical mappings in the sequential area may be based on the number of PPT3 entries contained in the PPT3 page, as described in reference to Figure 2 In addition, the logical addresses of the start and end logical-to-physical mapping in the sequential area may be based on the start and end PPT3 entries of the PPT3 page. For example, the logical address of the start logical-to-physical mapping in the sequential area may be equal to the start logical address of the start PPT3 entry in the PPT3 page and the logical address of the end PPT3 entry in the PPT3 page.

[0064] In some examples, if the sequential area 310 is implemented, the sequential area 310 is identified. In other examples, if an operation for flushing the change log buffer 300 is initiated, the sequential area 310 is identified.

[0065] Figure 4 An example of a flowchart 400 illustrating a sorted change log for physical page table compression according to examples disclosed herein.

[0066] Flowchart 400 may be performed by a memory system or a component of a memory system, as described herein, including with reference to Figure 1 and 2 In some examples, flowchart 400 illustrates a set of example operations performed to support a classified change log for physical page table compression. For example, flowchart 400 may include operations for classifying a change log buffer and identifying a sequential region of the classified change log buffer.

[0067] Aspects of flowchart 400 may be implemented by a controller and other components. Additionally, or alternatively, aspects of flowchart 400 may be implemented as instructions stored in a memory (e.g., firmware stored in a memory coupled to a controller). For example, if the instructions are performed by a controller (e.g., Figure 2 Controller 215, Figure 2 If the instruction is executed by the change log manager 220), the instruction may cause the controller to perform the operation of flowchart 400.

[0068] One or more of the operations described in flowchart 400 may be performed earlier or later, omitted, replaced, supplemented, or combined with another operation. Moreover, the additional operations described herein may replace, supplement, or combine one or more operations described in flowchart 400.

[0069] At 405, one or more logical-to-physical mappings may be written to a change log buffer (eg, Figure 2 Change log buffer 207 or Figure 3 In some examples, the logical-to-physical mapping is based on a write operation performed in response to a write command, wherein the write command may indicate a logical address and be associated with a set of data, and wherein the set of data may be written to a physical address within the memory system. The logical-to-physical mapping may indicate a relationship between a logical address and a physical address. In some examples, one or more logical-to-physical mappings are written to (e.g., appended to) the end of an entry in the change log buffer—e.g., written to the first empty position of the change log buffer.

[0070] In other examples, one or more logical-to-physical mappings are written to the location of the change log buffer based on their corresponding logical addresses. In such cases, for each logical-to-physical mapping, it is possible (e.g., by Figure 2The change log manager 220 of the embodiment of the present invention determines the logical address of each logical-to-physical mapping, and the determined logical address can be used to determine the location in the change log buffer of the corresponding logical-to-physical mapping. One option for identifying the location in the change log buffer of the logical-to-physical mapping includes comparing the logical address of the logical-to-physical mapping with the logical addresses of the logical-to-physical mappings already in the change log buffer, and inserting the logical-to-physical mapping between the logical-to-physical mappings having logical addresses lower and higher than the logical-to-physical mapping. Another option for identifying the location in the change log buffer of the logical-to-physical mapping includes identifying a set of locations in the change log buffer (e.g., a set of locations in a certain zone in the change log buffer) designated for logical-to-physical mappings having logical addresses with a certain logical address range (e.g., LBA_1024 to LBA_2047), and adding the logical-to-physical mapping to the location in the zone. For example, the logical-to-physical mapping may be added at a location after the location of the last logical-to-physical mapping entered into the zone.

[0071] At 410, the change log buffer may be sorted (e.g., by the change log manager 220). In some instances, if the logical-to-physical mapping is written to the change log buffer according to its logical address—e.g., if the logical address has been sorted based on the operation used to write to the change log buffer, then the change log buffer is not sorted separately. In other instances, the change log buffer is sorted separately in addition to writing the logical-to-physical mapping to the change log buffer according to its logical address. The additional sorting operation may be beneficial if the logical-to-physical mapping is written to the change log buffer with lower accuracy (e.g., to reduce latency) and to correct any positioning errors. In some instances (e.g., if the second operation described above is used), the sorting operation may be used to organize the logical-to-physical mapping in the region of the change log buffer in the order of its logical address.

[0072] In some examples, classification may be performed after each logical-to-physical mapping is written to the change log buffer. In some examples, classification may be performed at periodic intervals (e.g., once every millisecond). In some examples, classification may be performed in response to the occurrence of certain events—e.g., whenever a certain amount of logical-to-physical mappings are written to the change log buffer, if the number of entries in the change log buffer reaches a threshold, if a power-off event is initiated, etc.

[0073] By storing the logical-to-physical mappings in a change log buffer in a sorted manner, sets of logical-to-physical mappings that would otherwise be sequential—if not interrupted by other logical-to-physical mappings (e.g., generated for system operations)—can be rearranged to be sequential. In some examples, the change log buffer can be sorted to store multiple sets of sequential logical-to-physical mappings.

[0074] At 415, one or more sets of sequential logical-to-physical mappings can be identified in the change log buffer, for example, based on the entries of the change log buffer being sorted. In some examples, the entire change log buffer is identified as containing one set of sequential logical-to-physical mappings. In other examples, a first region of the change log buffer is identified as containing one set of sequential logical-to-physical mappings, and a second region of the change log buffer is identified as containing another set of sequential logical-to-physical mappings.

[0075] Identifying a set of sequential logical-to-physical mappings may include identifying an initial logical-to-physical mapping in the change log buffer having a logical address corresponding to a logical address of an initial PPT3 entry of a PPT3 page (e.g., LBA_2048). In some examples, the following logical-to-physical mappings are sorted in order of their logical addresses. Identifying the set of sequential logical-to-physical mappings may include determining that the following logical-to-physical mapping in the change log buffer has logical addresses of remaining PPT3 entries of the PPT3 page (e.g., LBA_2049 to LBA_4095).

[0076] In some instances, the following logical-to-physical mappings are not sorted in order of their logical addresses, and a set of logical-to-physical mappings may be determined based on the number of logical-to-physical mappings in a region starting from an initial logical-to-physical mapping satisfying a threshold amount (e.g., 1024). In some instances, the mappings are not sorted in order of their logical addresses, and a set of logical-to-physical mappings is determined based on identifying that an entry in a threshold number of entries (e.g., 1024 entries) away from the initial logical-to-physical mapping contains a logical address corresponding to the logical address of the last PPT3 entry of the PPT3 page (e.g., LBA_4095) and all entries between the initial logical-to-physical mapping and the ending logical-to-physical mapping are filled.

[0077] At 420, one or more compressed PPT entries may be generated based on the identified sequential logical-to-physical mappings. In some examples, one or more compressed PPT entries are generated upon identifying a set of sequential logical-to-physical mappings. Additionally or alternatively, one or more compressed PPT entries may be generated in response to an operation being initiated to flush the change log buffer. By enabling compressed PPT entries to be generated for portions of the change log buffer, PPT compression techniques may be utilized even if all logical-to-physical mappings in the change log buffer are not sequential—which increases the likelihood that the PPT compression techniques will be used.

[0078] At 425, a portion of the PPT (e.g., including PPT1, PPT2, PPT3, or any combination thereof) may be loaded into a memory device (e.g., an SRAM device) from another memory device (e.g., a NAND device). In some examples, the portion of the PPT loaded into the memory device may be based on entries of a change log buffer—e.g., may include entries of the change log buffer. In response to an operation to flush the change log buffer being initiated—e.g., if available capacity of the change log buffer drops below a threshold, if a power-off event is initiated, if a command to update the PPT at the NAND device is received, etc.—the portion of the PPT may be loaded into the memory device.

[0079] At 430, the portion of the PPT loaded into the memory device may be updated based on the entry in the change log buffer. For logical-to-physical mappings in the change log buffer that are not included in a set of sequential logical-to-physical mappings, the logical-to-physical mappings may be used to update the corresponding PPT3 entry. For logical-to-physical mappings in the change log buffer that are included in a set of sequential logical-to-physical mappings, the corresponding compressed PPT entry may be used to set a flag in a PPT2 entry pointing to a PPT3 page of a logical address that includes the set of sequential logical-to-physical mappings. In such cases, the PPT3 entry for the PPT3 page itself may not be updated.

[0080] At 435, the updated portion of the PPT may be written back to the NAND device. For updated PPT3 entries, corresponding PPT3 entries at the NAND device may be individually updated. For updated PPT2 entries, corresponding PPT2 entries may be individually updated, while the PPT3 entries in the PPT3 pages pointed to by the PPT2 entries may not be changed, thereby reducing the number of write operations to the portion of the NAND device storing the PPT. Performing fewer write operations to the NAND device may reduce the latency associated with updating the PPT and extend the operational life of the NAND device.

[0081] Figure 5A block diagram 500 is shown of a memory system 520 supporting a classified change log for physical page table compression according to examples disclosed herein. The memory system 520 may be a reference Figures 1 to 4 5. The memory system 520 or its various components may be examples of means for performing various aspects of the classified change log of physical page table compression described herein. For example, the memory system 520 may include a command manager 525, a write component 530, an L2P component 535, an L2P compression component 540, a classification component 545, or any combination thereof. Each of these components may communicate with each other directly or indirectly (e.g., via one or more buses).

[0082] The command manager 525 may be configured to or otherwise support means for receiving a write command associated with data and a logical address from a host system. The write component 530 may be configured to or otherwise support means for writing data to a physical address in response to a write command. The L2P component 535 may be configured to or otherwise support means for storing a mapping at a location in a change log buffer based at least in part on data being written to a physical address, wherein the mapping indicates a relationship between a logical address and a physical address, and wherein the location of the mapping in the change log buffer is based at least in part on a value of the logical address relative to values ​​of logical addresses of other mappings stored in the change log buffer. The L2P compression component 540 may be configured to or otherwise support means for generating a compressed entry in a logical-to-physical table for a set of mappings stored in a change log buffer based at least in part on storing the mapping at a location in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

[0083] In some examples, L2P compression component 540 can be configured or otherwise support means for determining that the set of mappings includes the set of sequentially indexed logical addresses based at least in part on storing the mappings in a change log buffer.

[0084] In some examples, the L2P compression component 540 may be configured to or otherwise support means for determining that a number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, wherein a compressed entry in the logical-to-physical table is generated based at least in part on the number of logical addresses satisfying the threshold.

[0085] In some examples, the classification component 545 can be configured to or otherwise support means for determining that the logical address of the mapping is between a second logical address of a second mapping stored in a second location of the change log buffer and a third logical address of a third mapping stored in a third location of the change log buffer. In some examples, the classification component 545 can be configured to or otherwise support means for identifying a location based at least in part on the second location and the third location, wherein the mapping is stored at the location based at least in part on identifying the location.

[0086] In some examples, to support determining that the logical address is between the second logical address and the third logical address, the classification component 545 can be configured or otherwise support means for comparing the logical address of the mapping with logical addresses of other mappings stored at the change log buffer. In some examples, to support determining that the logical address is between the second logical address and the third logical address, the classification component 545 can be configured or otherwise support means for identifying that the second mapping contains a second logical address that is less than the logical address and the third mapping contains a third logical address that is greater than the logical address based at least in part on the comparison.

[0087] In some examples, the command manager 525 may be configured to or otherwise support means for receiving a second write command associated with the second data and the fourth logical address from the host system. In some examples, the write component 530 may be configured to or otherwise support means for writing the second data to the fourth physical address in response to the second write command, wherein the fourth mapping indicates a relationship between the fourth logical address and the fourth physical address based at least in part on the second data being written to the fourth physical address. In some examples, the classification component 545 may be configured to or otherwise support means for determining that a fourth logical address of the fourth mapping is between the mapped logical address and the third logical address of the third mapping. In some examples, the classification component 545 may be configured to or otherwise support means for storing the fourth mapping at a fourth location of the change log buffer, the fourth location being located between the location and the third location based at least in part on the fourth logical address being between the logical address and the third logical address.

[0088] In some examples, the L2P component 535 may be configured or otherwise support means for loading a portion of the logical-to-physical table from a non-volatile memory device. In some examples, the L2P component 535 may be configured or otherwise support means for modifying the portion of the logical-to-physical table based at least in part on mappings stored in a change log buffer, the mappings including the set of mappings and the second set of mappings. In some examples, the L2P component 535 may be configured or otherwise support means for writing the portion of the logical-to-physical table to the non-volatile memory device based at least in part on modifying the portion of the logical-to-physical table.

[0089] In some examples, the logical-to-physical table includes a first-level table and a second-level table. In some examples, modifying the portion of the logical-to-physical table further includes: modifying one or more entries in the first-level table based at least in part on the second set of mappings; and modifying entries in the second-level table based at least in part on the compressed entries. In some examples, the entries in the second-level table correspond to a set of entries in the first-level table that cover a set of sequentially indexed logical addresses.

[0090] In some examples, the second set of mappings includes non-sequentially indexed logical addresses that are excluded from the set of sequentially indexed logical addresses.

[0091] In some examples, L2P compression component 540 may be configured to or otherwise support means for generating second compressed entries in the logical-to-physical table for a second set of mappings stored in the change log buffer, the second set of mappings including logical addresses of a second set of sequential indices stored in the change log buffer.

[0092] In some examples, the change log buffer includes a plurality of locations for storing mappings between logical addresses and physical addresses, the plurality of locations including the location, and the set of mappings is stored at a set of locations in the plurality of locations including the location.

[0093] In some examples, the change log buffer includes a plurality of locations for temporarily storing a mapping between logical addresses and physical addresses based at least in part on a physical address at which data is written to the non-volatile memory device.

[0094] In some examples, the sorting component 545 may be configured to or otherwise support means for sorting mappings of a change log buffer based at least in part on storing the mappings in the change log buffer based at least in part on a logical address of the mapping and logical addresses of other mappings, wherein generating the compressed entries is based at least in part on sorting the mappings.

[0095] Figure 6A flowchart illustrating a method 600 for supporting a classified change log for physical page table compression according to examples disclosed herein is shown. The operations of the method 600 may be implemented by a memory system or components thereof described herein. For example, the operations of the method 600 may be implemented by reference to Figures 1 to 5 The memory system described herein may be used to perform. In some examples, the memory system may execute a set of instructions to control the functional elements of the device to perform the described functions. In addition, or alternatively, the memory system may use dedicated hardware to perform aspects of the described functions.

[0096] At 605, the method may include receiving a write command associated with data and a logical address from a host system. Operation 605 may be performed according to examples disclosed herein. In some examples, aspects of operation 605 may be performed as described in reference to Figure 5 The described command manager 525 is executed.

[0097] At 610, the method may include writing data to the physical address in response to the write command. Operation 610 may be performed according to examples disclosed herein. In some examples, aspects of operation 610 may be performed as described in reference to Figure 5 The described write component 530 is performed.

[0098] At 615, the method may include storing a mapping at a location in a change log buffer based at least in part on data being written to a physical address, wherein the mapping indicates a relationship between a logical address and a physical address, and wherein the location of the mapping in the change log buffer is based at least in part on a value of the logical address relative to values ​​of logical addresses of other mappings stored in the change log buffer. Operation 615 may be performed according to examples disclosed herein. In some examples, aspects of operation 615 may be performed as described in reference to Figure 5 The described L2P component 535 is performed.

[0099] At 620, the method may include generating a compressed entry in a logical-to-physical table for a set of mappings stored in a change log buffer based at least in part on storing the mappings at the location of the change log buffer, the set of mappings including a set of sequentially indexed logical addresses. Operation 620 may be performed according to examples disclosed herein. In some examples, aspects of operation 620 may be performed as described in reference to Figure 5 The described L2P compression component 540 is performed.

[0100] In some examples, an apparatus as described herein may perform a method, such as method 600. The apparatus may include features, circuitry, logic, means, or instructions (e.g., a non-transitory computer-readable medium storing instructions executable by a processor) for performing the following aspects of the present disclosure, or any combination thereof:

[0101] Aspect 1: A method, apparatus, or non-transitory computer-readable medium comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for receiving a write command associated with data and a logical address from a host system; writing the data to a physical address in response to the write command; storing a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is based at least in part on a value of the logical address relative to values ​​of logical addresses of other mappings stored in the change log buffer; and generating a compressed entry in a logical-to-physical table for a set of mappings stored in the change log buffer based at least in part on storing the mapping at the location in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

[0102] Aspect 2: A method, apparatus, or non-transitory computer-readable medium according to Aspect 1, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining that the set of mappings includes the set of sequentially indexed logical addresses based at least in part on storing the mappings in the change log buffer.

[0103] Aspect 3: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 2, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining that the number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, wherein the compressed entry in the logical-to-physical table is generated at least in part based on the number of logical addresses satisfying the threshold.

[0104] Aspect 4: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 3, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining that the logical address of the mapping is between a second logical address of a second mapping stored in a second position of the change log buffer and a third logical address of a third mapping stored in a third position of the change log buffer and identifying the location at least in part based on the second location and the third location, wherein the mapping is stored at the location based at least in part on identifying the location.

[0105] Aspect 5: A method, apparatus, or non-transitory computer-readable medium according to Aspect 4, wherein determining that the logical address is between the second logical address and the third logical address further comprises operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for comparing the logical address of the mapping with the logical addresses of the other mappings stored at the change log buffer and identifying, at least in part based on the comparison, that the second mapping contains the second logical address that is less than the logical address and that the third mapping contains the third logical address that is greater than the logical address.

[0106] Aspect 6: A method, device or non-transitory computer-readable medium according to any one of Aspects 4 to 5, further comprising operations, features, circuit systems, logic, components or instructions or any combination thereof, for receiving a second write command associated with second data and a fourth logical address from the host system; in response to the second write command, writing the second data to a fourth physical address, wherein a fourth mapping indicates a relationship between the fourth logical address and the fourth physical address at least in part based on the second data being written to the fourth physical address; determining that the fourth logical address of the fourth mapping is between the logical address of the mapping and the third logical address of the third mapping; and storing the fourth mapping at a fourth position of the change log buffer, the fourth position being located between the position and the third position at least in part based on the fourth logical address being between the logical address and the third logical address.

[0107] Aspect 7: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 6, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for loading a portion of the logical-to-physical table from a non-volatile memory device; modifying the portion of the logical-to-physical table based at least in part on a mapping stored in the change log buffer, the mapping comprising the set of mappings and the second set of mappings; and writing the portion of the logical-to-physical table to the non-volatile memory device based at least in part on modifying the portion of the logical-to-physical table.

[0108] Aspect 8: A method, device or non-transitory computer-readable medium according to Aspect 7, wherein the logical-to-physical table includes a first-level table and a second-level table; modifying the portion of the logical-to-physical table further includes modifying one or more entries in the first-level table based at least in part on the second set of mappings; and modifying entries in the second-level table based at least in part on the compressed entries; and the entries in the second-level table correspond to a set of entries in the first-level table that cover the set of sequentially indexed logical addresses.

[0109] Aspect 9: The method, apparatus, or non-transitory computer-readable medium of any of Aspects 7-8, wherein the second set of mappings includes non-sequentially indexed logical addresses that are excluded from the set of sequentially indexed logical addresses.

[0110] Aspect 10: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 9, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for generating a second compressed entry in the logical-to-physical table for a second set of mappings stored in the change log buffer, wherein the second set of mappings comprises logical addresses of a second set of sequential indexes stored in the change log buffer.

[0111] Aspect 11: A method, device, or non-transitory computer-readable medium according to any one of Aspects 1 to 10, wherein the change log buffer includes multiple locations for storing mappings between logical addresses and physical addresses, the multiple locations include the location, and the set of mappings is stored at a set of locations in the multiple locations, the set of locations includes the location.

[0112] Aspect 12: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 11, wherein the change log buffer includes multiple locations for temporarily storing a mapping between logical addresses and physical addresses based at least in part on a physical address at which data is written to a non-volatile memory device.

[0113] Aspect 13: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 12, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for sorting the mappings of the change log buffer based at least in part on storing the mappings in the change log buffer and at least in part on the logical addresses of the mappings and the logical addresses of the other mappings, wherein generating the compressed entries is based at least in part on sorting the mappings.

[0114] It should be noted that the methods described above describe possible implementations, and the operations and steps may be rearranged or otherwise modified, and other implementations are possible. In addition, parts from two or more of the methods may be combined.

[0115] A device is described. The following provides an overview of aspects of the device as described herein:

[0116] Aspect 14: An apparatus comprising: a memory device; and a controller coupled to the memory device and configured to cause the apparatus to: receive a write command associated with data and a logical address from a host system; write the data to a physical address in response to the write command; store a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is based at least in part on a value of the logical address relative to values ​​of logical addresses of other mappings stored in the change log buffer; and generate compressed entries in a logical-to-physical table for a set of mappings stored in the change log buffer based at least in part on storing the mapping at the location in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

[0117] Aspect 15: The apparatus of aspect 14, wherein the controller is further configured to cause the apparatus to: determine, based at least in part on storing the mappings in the change log buffer, that the set of mappings includes the set of sequentially indexed logical addresses.

[0118] Aspect 16: An apparatus according to any one of Aspects 14 to 15, wherein the controller is further configured to cause the apparatus to: determine that the number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, wherein the compressed entry in the logical-to-physical table is generated at least in part based on the number of logical addresses satisfying the threshold.

[0119] Aspect 17: An apparatus according to any one of Aspects 14 to 16, wherein the controller is further configured to enable the apparatus to: determine that the logical address of the mapping is between a second logical address of a second mapping stored in a second position of the change log buffer and a third logical address of a third mapping stored in a third position of the change log buffer; and identify the location based at least in part on the second location and the third location, wherein the mapping is stored at the location based at least in part on identifying the location.

[0120] Aspect 18: An apparatus according to Aspect 17, wherein, in order to determine that the logical address is between the second logical address and the third logical address, the controller is further configured to cause the apparatus to: compare the logical address of the mapping with the logical addresses of the other mappings stored in the change log buffer; and identify, at least in part based on the comparison, that the second mapping contains the second logical address that is smaller than the logical address and that the third mapping contains the third logical address that is larger than the logical address.

[0121] Aspect 19: An apparatus according to any one of Aspects 17 to 18, wherein the controller is further configured to cause the apparatus to: receive a second write command associated with second data and a fourth logical address from the host system; write the second data to a fourth physical address in response to the second write command, wherein a fourth mapping indicates a relationship between the fourth logical address and the fourth physical address based at least in part on the second data being written to the fourth physical address; determine that the fourth logical address of the fourth mapping is between the logical address of the mapping and the third logical address of the third mapping; and store the fourth mapping at a fourth position of the change log buffer, the fourth position being located between the position and the third position based at least in part on the fourth logical address being between the logical address and the third logical address.

[0122] Aspect 20: An apparatus according to any one of Aspects 14 to 19, wherein the controller is further configured to cause the apparatus to: load a portion of the logical-to-physical table from a non-volatile memory device; modify the portion of the logical-to-physical table based at least in part on a mapping stored in the change log buffer, the mapping comprising the set of mappings and a second set of mappings; and write the portion of the logical-to-physical table to the non-volatile memory device based at least in part on modifying the portion of the logical-to-physical table.

[0123] Aspect 21: An apparatus according to Aspect 20, wherein the logical-to-physical table includes a first-level table and a second-level table, and wherein in order to modify the portion of the logical-to-physical table, the controller is further configured to cause the apparatus to: modify one or more entries in the first-level table based at least in part on the second set of mappings; and modify entries in the second-level table based at least in part on the compressed entries, wherein the entries in the second-level table correspond to a set of entries in the first-level table that cover the set of sequentially indexed logical addresses.

[0124] Aspect 22: The apparatus of any of aspects 20 to 21, wherein the second set of mappings includes non-sequentially indexed logical addresses that are excluded from the set of sequentially indexed logical addresses.

[0125] Aspect 23: An apparatus according to any one of Aspects 14 to 22, wherein the controller is further configured to cause the apparatus to: generate a second compressed entry in the logical-to-physical table for a second set of mappings stored in the change log buffer, the second set of mappings comprising logical addresses of a second set of sequential indexes stored in the change log buffer.

[0126] Aspect 24: An apparatus according to any one of Aspects 14 to 23, wherein: the change log buffer includes a plurality of locations for storing mappings between logical addresses and physical addresses, the plurality of locations including the location, and the set of mappings is stored at a set of locations in the plurality of locations, the set of locations including the location.

[0127] Aspect 25: The apparatus of any of aspects 14 to 24, wherein the change log buffer comprises a plurality of locations for temporarily storing a mapping between logical addresses and physical addresses based at least in part on a physical address at which data is written to a non-volatile memory device.

[0128] Aspect 26: An apparatus according to any one of Aspects 14 to 25, further comprising: a change log management circuit configured to sort the mappings of the change log buffer at least in part based on storing the mappings in the change log buffer and at least in part based on the logical addresses of the mappings and the logical addresses of the other mappings, wherein generating the compressed entries is based at least in part on sorting the mappings.

[0129] A device is described. The following provides an overview of aspects of the device as described herein:

[0130] Aspect 27: A non-temporary computer-readable medium storing code comprising instructions which, when executed by a processor of an electronic device, causes the electronic device to: receive a write command associated with data and a logical address from a host system; write the data to a physical address in response to the write command; store a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is based at least in part on a value of the logical address relative to values ​​of logical addresses of other mappings stored in the change log buffer; and based at least in part on storing the mapping at the location in the change log buffer, generate a compressed entry in a logical-to-physical table for a set of mappings stored in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

[0131] Aspect 28: The non-transitory computer-readable medium of aspect 27, wherein the instructions are further executable by the processor to cause the electronic device to: determine, based at least in part on storing the mapping in the change log buffer, that the set of mappings includes the set of sequentially indexed logical addresses.

[0132] Aspect 29: A non-temporary computer-readable medium according to any one of Aspects 27 to 28, wherein the instructions are further executable by the processor to cause the electronic device to: determine whether the number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, wherein the compressed entry in the logical-to-physical table is generated at least in part based on the number of logical addresses satisfying the threshold.

[0133] Aspect 30: A non-transitory computer-readable medium according to any one of Aspects 27 to 29, wherein the instructions are further executable by the processor to cause the electronic device to: determine that the logical address of the mapping is between a second logical address of a second mapping stored in a second position of the change log buffer and a third logical address of a third mapping stored in a third position of the change log buffer; and identify the location based at least in part on the second location and the third location, wherein the mapping is stored at the location based at least in part on identifying the location.

[0134] Aspect 31: A non-transitory computer-readable medium according to any one of Aspects 27 to 30, wherein the instructions are further executable by the processor to cause the electronic device to: load a portion of the logical-to-physical table from a non-volatile memory device; modify the portion of the logical-to-physical table based at least in part on a mapping stored in the change log buffer, the mapping comprising the set of mappings and the second set of mappings; and write the portion of the logical-to-physical table to the non-volatile memory device based at least in part on modifying the portion of the logical-to-physical table.

[0135] Aspect 32: A non-transitory computer-readable medium according to any one of Aspects 27 to 31, wherein the instructions are further executable by the processor to cause the electronic device to: generate a second compressed entry in the logical-to-physical table for a second set of mappings stored in the change log buffer, the second set of mappings including logical addresses of a second set of sequential indexes stored in the change log buffer.

[0136] Aspect 33: A non-transitory computer-readable medium according to any one of Aspects 27 to 32, wherein the instructions are further executable by the processor to cause the electronic device to: sort the mappings of the change log buffer based at least in part on storing the mappings in the change log buffer and at least in part on the logical addresses of the mappings and the logical addresses of the other mappings, wherein generating the compressed entries is based at least in part on sorting the mappings.

[0137] The information and signals described herein may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some figures may illustrate a signal as a single signal; however, the signal may represent a signal bus, where the bus may have various bit widths.

[0138] The terms "electronic communication," "conductive contact," "connected," and "coupled" may refer to a relationship between components that supports the flow of signals between the components. Components are considered to be in electronic communication with each other (or in conductive contact or connected or coupled to each other) if there is any conductive path between the components that can support the flow of signals between the components at any time. At any given time, the conductive path between components that are in electronic communication with each other (or in conductive contact or connected or coupled to each other) may be an open circuit or a closed circuit based on the operation of the device that includes the connected components. The conductive path between the connected components may be a direct conductive path between the components or the conductive path between the connected components may be an indirect conductive path that may include intermediate components such as switches, transistors, or other components. In some examples, the flow of signals between the connected components may be interrupted at a time, for example, using one or more intermediate components such as switches or transistors.

[0139] The term "coupled" refers to a state of transitioning from an open circuit relationship between components (where signals are currently unable to communicate between components through conductive paths) to a closed circuit relationship between components (where signals are able to communicate between components through conductive paths). If a component (e.g., a controller) couples other components together, the component initiates a change that allows signals to flow between the other components through conductive paths that previously did not allow signals to flow.

[0140] The term "isolation" refers to a relationship between components where a signal cannot currently flow between the components. If an open circuit exists between components, they are isolated from each other. For example, when a switch positioned between two components is opened, the components separated by the switch are isolated from each other. If a controller isolates two components, the controller causes a change that prevents a signal from flowing between the components using a conductive path that previously allowed the signal to flow.

[0141] The terms "if", "when", "based on", or "based at least in part on" are used interchangeably. In some instances, if the terms "if", "when", "based on", or "based at least in part on" are used to describe a connection between conditional actions, conditional processes, or parts of processes, the terms are interchangeable.

[0142] The term "responsive to" may refer to a state or action occurring at least in part, if not in whole, as a result of a previous state or action. For example, a first condition or action may be performed, and a second condition or action may occur at least in part as a result of the previous condition or action occurring (whether immediately after or after one or more other intermediate conditions or actions occurring after the first condition or action).

[0143] In addition, the term "directly in response to" or "directly in response to" may refer to a state or action occurring as a direct result of a previous state or action. In some instances, a first condition or action may be performed, and a second condition or action may occur directly as a result of the occurrence of the previous condition or action, independent of whether other conditions or actions occur. In some instances, a first condition or action may be performed, and a second condition or action may occur directly as a result of the occurrence of the previous condition or action, so that no other intermediate conditions or actions occur between the previous condition or action and the second condition or action, or a limited number of one or more intermediate steps or actions occur between the previous condition or action and the second condition or action. Unless otherwise specified, any state or action described herein as "based on", "at least partially based on" or "in response to" some other steps, actions, events or conditions and performed may be performed in addition or alternatively (e.g., in alternative instances) directly in response to" or "directly in response to" this other state or action.

[0144] The devices discussed herein, including memory arrays, may be formed on a semiconductor substrate such as silicon, germanium, silicon-germanium alloys, gallium arsenide, gallium nitride, etc. In some examples, the substrate is a semiconductor wafer. In some other examples, the substrate may be a silicon-on-insulator (SOI) substrate, such as silicon-on-glass (SOG) or silicon-on-sapphire (SOP), or an epitaxial layer of a semiconductor material on another substrate. The conductivity of the substrate or a sub-region of the substrate may be controlled by doping with various chemical species, including but not limited to phosphorus, boron, or arsenic. Doping may be performed by ion implantation during the initial formation or growth of the substrate or by any other doping method.

[0145] The switch components or transistors discussed herein may represent field effect transistors (FETs) and include three-terminal devices including a source, a drain, and a gate. The terminals may be connected to other electronic components by conductive materials such as metals. The source and drain may be conductive and may include heavily doped (e.g., degenerate) semiconductor regions. The source and drain may be separated by a lightly doped semiconductor region or channel. If the channel is n-type (i.e., most carriers are electrons), the FET may be referred to as an n-type FET. If the channel is p-type (i.e., most carriers are holes), the FET may be referred to as a p-type FET. The channel may be capped by an insulating gate oxide. Channel conductivity may be controlled by applying a voltage to the gate. For example, applying a positive voltage or a negative voltage to an n-type FET or a p-type FET, respectively, may cause the channel to become conductive. If a voltage greater than or equal to the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "on" or "activated". If a voltage less than the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "off" or "deactivated".

[0146] The description set forth herein describes example configurations in conjunction with the accompanying drawings and does not represent all examples that may be implemented or within the scope of the claims. The term "exemplary" as used herein means "serving as an example, instance, or illustration" rather than "preferred" or "superior to other examples". The detailed description includes specific details to provide an understanding of the described techniques. However, these techniques may be practiced without these specific details. In some examples, well-known structures and devices are shown in block diagram form to avoid obscuring the concepts of the described examples.

[0147] In the accompanying drawings, similar components or features may have the same reference label. In addition, various components of the same type may be distinguished by following the reference label with a hyphen and a second label that distinguishes the similar components. When only the first reference label is used in the specification, the description may apply to any of the similar components having the same first reference label, regardless of the second reference label.

[0148] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on a computer-readable medium or transmitted via a computer-readable medium as one or more instructions or codes. Other examples and implementations are within the scope of the present disclosure and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. Features that implement the functions may also be physically located at various locations, including portions that are distributed so that the functions are implemented at different physical locations.

[0149] For example, the various illustrative blocks and components described in connection with the present disclosure may be implemented or performed using a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device designed to perform the functions described herein, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any processor, controller, microcontroller, or state machine. A processor may be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).

[0150] As used herein, "or" as used in a list of items (e.g., a list of items beginning with a phrase such as "at least one" or "one or more"), including as used in the claims, indicates an inclusive list, such that a list of at least one of, for example, A, B, or C means A or B or C or AB or AC or BC or ABC (i.e., A and B and C). Moreover, as used herein, the phrase "based on" should not be interpreted as a reference to a closed set of conditions. For example, an exemplary step described as "based on condition A" may be based on both condition A and condition B without departing from the scope of the present disclosure. In other words, as used herein, the phrase "based on" should be interpreted in the same manner as the phrase "based at least in part on".

[0151] Computer-readable media include both non-transitory computer storage media and communication media, and the communication media include any media that facilitates the transfer of a computer program from one place to another. Non-transitory storage media can be any available media that can be accessed by a general or special computer. As an example and not limitation, non-transitory computer-readable media may include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), compact disk (CD) ROM or other optical disk storage device, magnetic disk storage device or other magnetic storage device, or can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a general or special computer or a general or special processor. Any other non-transitory media. Moreover, any connection is appropriately referred to as computer-readable media. For example, if coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave) is included in the definition of media. As used herein, disk and disc include CD, laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above are also included within the scope of computer-readable media.

[0152] The description herein is provided to enable one skilled in the art to make or use the present disclosure. Various modifications to the present disclosure will be apparent to one skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but should be in the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device comprising: Memory device; and a controller coupled to the memory device and configured to cause the apparatus to: receiving a write command associated with data and a logical address from a host system; In response to the write command, writing the data to a physical address; storing a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is a value based at least in part on the value of the logical address relative to other mapped logical addresses stored in the change log buffer; as well as Based at least in part on storing the mappings at the location in the change log buffer, compressed entries in a logical-to-physical table are generated for a set of mappings stored in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

2. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: The set of mappings is determined to include the set of sequentially indexed logical addresses based at least in part on storing the mappings in the change log buffer.

3. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: determining that a number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, Wherein the compressed entry in the logical-to-physical table is generated based at least in part on the number of logical addresses satisfying the threshold.

4. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: determining that the logical address of the mapping is between a second logical address of a second mapping stored in a second location of the change log buffer and a third logical address of a third mapping stored in a third location of the change log buffer; and identifying the location based at least in part on the second location and the third location, Wherein the mapping is stored at the location based at least in part on identifying the location.

5. The apparatus of claim 4, wherein to determine that the logical address is between the second logical address and the third logical address, the controller is further configured to cause the apparatus to: comparing the logical address of the mapping with the logical addresses of the other mappings stored at the change log buffer; and Based at least in part on the comparing, it is identified that the second mapping includes the second logical address that is less than the logical address and the third mapping includes the third logical address that is greater than the logical address.

6. The apparatus of claim 4, wherein the controller is further configured to cause the apparatus to: receiving from the host system a second write command associated with second data and a fourth logical address; writing the second data to a fourth physical address in response to the second write command, wherein a fourth mapping indicates a relationship between the fourth logical address and the fourth physical address based at least in part on the second data being written to the fourth physical address; determining that the fourth logical address of the fourth mapping is between the logical address of the mapping and the third logical address of the third mapping; as well as The fourth mapping is stored at a fourth location of the change log buffer, the fourth location being located between the location and the third location based at least in part on the fourth logical address being between the logical address and the third logical address.

7. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: loading a portion of the logical to physical table from a non-volatile memory device; modifying the portion of the logical-to-physical table based at least in part on a mapping stored in the change log buffer, the mapping comprising the set of mappings and a second set of mappings; as well as Based at least in part on modifying the portion of the logical-to-physical table, writing the portion of the logical-to-physical table to the non-volatile memory device.

8. The apparatus of claim 7, wherein the logical-to-physical table comprises a first-level table and a second-level table, and wherein, To modify the portion of the logical-to-physical table, the controller is further configured to cause the device to: modifying one or more entries in the first level table based at least in part on the second set of mappings; and Entries in the second level table are modified based at least in part on the compressed entries, wherein the entries in the second level table correspond to a set of entries in the first level table that cover the set of sequentially indexed logical addresses.

9. The apparatus of claim 7, wherein the second set of mappings includes non-sequentially indexed logical addresses that are excluded from the set of sequentially indexed logical addresses.

10. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: A second compressed entry in the logical-to-physical table is generated for a second set of mappings stored in the change log buffer, the second set of mappings comprising logical addresses of a second set of sequential indices stored in the change log buffer.

11. The apparatus of claim 1, wherein: The change log buffer includes a plurality of locations for storing mappings between logical addresses and physical addresses, the plurality of locations including the location, and The set of mappings is stored at a set of locations in the plurality of locations, the set of locations including the location.

12. The apparatus of claim 1, wherein the change log buffer comprises a plurality of locations for temporarily storing a mapping between logical addresses and physical addresses based at least in part on a physical address at which the data is written to a non-volatile memory device.

13. The apparatus of claim 1, further comprising: a change log management circuit configured to sort mappings of the change log buffer based at least in part on the logical address of the mapping and the logical addresses of the other mappings based at least in part on storing the mappings in the change log buffer, Wherein generating the compressed entries is based at least in part on sorting the mapping.

14. A non-transitory computer-readable medium storing code including instructions that, when executed by a processor of an electronic device, cause the electronic device to: receiving a write command associated with data and a logical address from a host system; In response to the write command, writing the data to a physical address; storing a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is a value based at least in part on the value of the logical address relative to other mapped logical addresses stored in the change log buffer; as well as Based at least in part on storing the mappings at the location in the change log buffer, compressed entries in a logical-to-physical table are generated for a set of mappings stored in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

15. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: The set of mappings is determined to include the set of sequentially indexed logical addresses based at least in part on storing the mappings in the change log buffer.

16. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: determining that a number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, Wherein the compressed entry in the logical-to-physical table is generated based at least in part on the number of logical addresses satisfying the threshold.

17. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: determining that the logical address of the mapping is between a second logical address of a second mapping stored in a second location of the change log buffer and a third logical address of a third mapping stored in a third location of the change log buffer; and identifying the location based at least in part on the second location and the third location, Wherein the mapping is stored at the location based at least in part on identifying the location.

18. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: loading a portion of the logical to physical table from a non-volatile memory device; modifying the portion of the logical-to-physical table based at least in part on a mapping stored in the change log buffer, the mapping comprising the set of mappings and a second set of mappings; as well as Based at least in part on modifying the portion of the logical-to-physical table, writing the portion of the logical-to-physical table to the non-volatile memory device.

19. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: A second entry in the logical-to-physical table is generated for a second set of mappings stored in the change log buffer, the second set of mappings comprising a second set of sequentially indexed logical addresses stored in the change log buffer.

20. The non-transitory computer-readable medium of claim 14, wherein the instructions are further executable by the processor to cause the electronic device to: sorting mappings of the change log buffer based at least in part on the logical address of the mapping and the logical addresses of the other mappings based at least in part on storing the mappings in the change log buffer, Wherein generating the compressed entries is based at least in part on sorting the mapping.

21. A method comprising: receiving a write command associated with data and a logical address from a host system; In response to the write command, writing the data to a physical address; storing a mapping at a location in a change log buffer based at least in part on the data being written to the physical address, wherein the mapping indicates a relationship between the logical address and the physical address, and wherein the location of the mapping in the change log buffer is a value based at least in part on the value of the logical address relative to other mapped logical addresses stored in the change log buffer; as well as Based at least in part on storing the mappings at the location in the change log buffer, compressed entries in a logical-to-physical table are generated for a set of mappings stored in the change log buffer, the set of mappings comprising a set of sequentially indexed logical addresses.

22. The method of claim 21, further comprising: The set of mappings is determined to include the set of sequentially indexed logical addresses based at least in part on storing the mappings in the change log buffer.

23. The method of claim 21, further comprising: determining that a number of logical addresses in the set of sequentially indexed logical addresses satisfies a threshold, Wherein the compressed entry in the logical-to-physical table is generated based at least in part on the number of logical addresses satisfying the threshold.

24. The method of claim 21, further comprising: determining that the logical address of the mapping is between a second logical address of a second mapping stored in a second location of the change log buffer and a third logical address of a third mapping stored in a third location of the change log buffer; and identifying the location based at least in part on the second location and the third location, Wherein the mapping is stored at the location based at least in part on identifying the location.

25. The method of claim 21, further comprising: sorting, by change log management circuitry and based at least in part on storing the mappings in the change log buffer, mappings of the change log buffer based at least in part on the logical address of the mapping and the logical addresses of the other mappings, Wherein generating the compressed entries is based at least in part on sorting the mapping.