Address mapping table compression

By identifying the logical address set written sequentially and selecting the appropriate translation unit size and compression factor, and removing the physical address subset, the performance problem caused by the too small translation unit size of the address mapping table in the existing technology is solved, and a more efficient Address mapping and memory system performance improvements.

CN118535486APending Publication Date: 2024-08-23MICRON TECHNOLOGY INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410198538.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-02-15
Filing Date
2024-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The size of the translation unit of the address mapping table in the existing memory system is 1 physical address, which results in a large address mapping table, affects performance, and makes it difficult to perform address translation efficiently.

Method used

By identifying the set of logical addresses written sequentially, selecting an appropriate translation unit size and compression factor, and removing a subset of physical addresses, the address mapping table is compressed so that each entry is associated with multiple physical addresses, improving the efficiency of the address mapping table.

Benefits of technology

By compressing the address mapping table, the storage space occupation and address translation delay are reduced, and the performance and efficiency of the memory system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535486A_ABST
    Figure CN118535486A_ABST
Patent Text Reader

Abstract

The invention relates to address mapping table compression. The memory system may identify, for a region of an address mapping table, a set of sequentially indexed logical addresses that are mapped to a set of sequentially indexed physical addresses. The memory system may select a compression factor for the region based on the set of sequentially indexed logical addresses. And the memory system may remove a subset of physical addresses from the set of sequentially indexed physical addresses in the region based on the compression factor.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references

[0002] This patent application claims priority to U.S. Patent Application No. 18 / 443,005 of PALMER, entitled “ADDRESS MAPPING TABLE COMPRESSION,” filed on February 15, 2024, and U.S. Provisional Patent Application No. 63 / 486,378 of PALMER, entitled “ADDRESS MAPPING TABLE COMPRESSION,” filed on February 22, 2023, each of which is assigned to the present assignee and each of which is incorporated herein by reference in its entirety.

[0003] The technical field relates to address mapping table compression. Background Art

[0004] Memory devices are widely used to store information in devices such as computers, user devices, wireless communication devices, cameras, digital displays, etc. 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 indicated by a logical 1 or a logical 0. In some examples, a single memory cell can support more than two states, either of which can be stored. To access the stored information, the memory device can read (e.g., sense, detect, retrieve, determine) a state from the memory cell. To store information, the memory device can write (e.g., program, set, assign) a state to the memory cell.

[0005] There are various types of memory devices, including magnetic hard disks, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), static RAM (SRAM), ferroelectric RAM (FeRAM), magnetic RAM (MRAM), resistive RAM (RRAM), flash memory, phase change memory (PCM), self-selected memory, chalcogenide memory technology, "NOR" and "NAND" memory devices, etc. Memory cells can be described according to volatile configurations or non-volatile configurations. Memory cells configured in a non-volatile configuration can maintain a stored logic state for a long period of time even in the absence of an external power source. Memory cells configured in a volatile configuration can lose the stored state when disconnected from the external power source. Summary of the invention

[0006] An apparatus is described. The apparatus may include: a memory device; and a controller coupled to the memory device and configured to cause the apparatus to: determine, for a region of an address mapping table including physical addresses and indicating mappings between physical addresses and logical addresses, a set of sequentially indexed logical addresses mapped to a set of sequentially indexed physical addresses; select a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and remove a subset of physical addresses from the set of sequentially indexed physical addresses in the region according to the compression factor.

[0007] A method is described. The method may include: determining, for a region of an address mapping table including physical addresses and indicating mappings between physical addresses and logical addresses, a set of sequentially indexed logical addresses that maps to a set of sequentially indexed physical addresses; selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and removing a subset of physical addresses from the set of sequentially indexed physical addresses in the region according to the compression factor.

[0008] A non-transitory computer-readable medium is described. The non-transitory computer-readable medium may store code including instructions executable by a processor to: for a region of an address mapping table including physical addresses and indicating mappings between physical addresses and logical addresses, determine a set of sequentially indexed logical addresses that map to a set of sequentially indexed physical addresses; select a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and remove a subset of physical addresses from the set of sequentially indexed physical addresses in the region according to the compression factor. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 An example of a system supporting address mapping table compression according to examples disclosed herein is shown.

[0010] Figure 2 An example of an address mapping table supporting compression according to examples disclosed herein is shown.

[0011] Figure 3 An example of an address mapping table supporting compression according to examples disclosed herein is shown.

[0012] Figure 4 An example of a process flow supporting address mapping table compression according to examples disclosed herein is shown.

[0013] Figure 5 A block diagram of a memory system supporting address mapping table compression according to examples disclosed herein is shown.

[0014] Figure 6 A flow chart is shown showing one or more methods of supporting address mapping table compression according to examples disclosed herein. DETAILED DESCRIPTION

[0015] In some systems, a host system may use logical addresses (e.g., logical block addresses (LBAs)) for various operations, and a memory system may use physical addresses (e.g., physical block addresses (PBAs)) for various operations. In order to perform address conversion between logical addresses and physical addresses, the memory system may have one or more address mapping tables that include address mapping information (e.g., information that maps logical addresses and physical addresses). For example, a given entry of an address mapping table may indicate a mapping between an individual logical address and an individual physical address. That is, the translation unit (TU) size of the address mapping table may be one physical address (e.g., 1 PBA), where the translation unit size refers to the number of physical addresses associated with an entry. However, an associated single logical address per entry (e.g., using a translation unit size of 1 PBA) may be inefficient, resulting in a larger address mapping table size that adversely affects performance.

[0016] According to the techniques described herein, a memory system can improve performance by increasing the translation unit size of one or more regions in an address mapping table. In other words, the memory system can compress the address mapping table by removing physical addresses so that each entry in the address mapping table is associated with multiple physical addresses.

[0017] To do so, the memory system may identify a set of sequentially written logical addresses, where the sequentially written logical addresses refer to sequentially indexed logical addresses that are mapped to sequentially indexed physical addresses. For example, for a given zone, the memory system may determine how many sets of logical addresses are sequentially written, such as: how many sets of two logical addresses are sequentially written, how many sets of four logical addresses are sequentially written, and how many sets of eight logical addresses are sequentially written, etc. The memory system may then compress the zone of the address mapping table by switching to a larger translation unit size for the zone based on statistics of the sequentially written logical addresses (e.g., as a function of the statistics). For example, the memory system may increase the translation unit size from 1 PBA to 2 PBAs (so that the corresponding entry is associated with two physical addresses instead of one physical address) by removing one physical address in each set of two sequentially written logical addresses. In some examples, the memory system may perform a data relocation procedure (e.g., a garbage collection procedure, a copy / move procedure) for some of the data associated with the zone so that a higher translation unit size may be selected. Thus, the memory system may compress the address mapping table so that each entry in the address mapping table is associated with multiple physical addresses for more efficient and effective mapping processes and other operations.

[0018] Initially in reference Figure 1 Features of the present disclosure are described in the context of systems, devices, and circuits. Figures 2 to 4 Features of the present disclosure are described in the context of an address mapping table and process flow. Figures 5 to 6 These and other features of the present disclosure are further illustrated and described in the context of a device diagram and flow chart for address mapping table compression.

[0019] Figure 1 An example of a system 100 supporting address mapping table compression according to examples disclosed herein is shown. The system 100 includes a host system 105 coupled to a memory system 110. The system 100 can be included in a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an airplane, a drone, a train, a car, or other transportation), an Internet of Things (IoT) enabled device, an embedded computer (e.g., an embedded computer included in a vehicle, an industrial device, or a networked commercial device), or any other computing device including a memory and a processing device.

[0020] 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 device, a universal serial bus (USB) flash 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 devices.

[0021] System 100 may include a host system 105 that may be coupled to a memory system 110. In some instances, this coupling may include an interface with a host system controller 106, which may be an instance of a controller or control component configured to cause the host system 105 to perform various operations according to the examples described herein. 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, host system 105 may include an application configured to communicate with memory system 110 or a device therein. The processor chipset may include one or more cores, one or more caches (e.g., memory local to or included in 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). Host system 105 may use memory system 110, for example, to write data to memory system 110 and read data from 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 .

[0022] 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 via the physical host interface using an associated protocol (e.g., to exchange or otherwise communicate control, address, data, and other signals between the memory system 110 and the host system 105). Examples of physical host interfaces may include, but are not limited to, a SATA interface, a UFS 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 DIMM socket interface supporting DDR), 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 or otherwise supported between a host system controller 106 of the host system 105 and a memory system controller 115 of the memory system 110. 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).

[0023] The memory system 110 may include a memory system controller 115 and one or more memory devices 130. The memory devices 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.

[0024] The memory system controller 115 may be coupled 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 examples as described herein. The memory system controller 115 may also be coupled and communicate with the memory device 130 to perform operations such as reading data, writing data, erasing data, or refreshing data at the memory device 130, as well as other such operations that may be generally 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 device 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.

[0025] 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 refresh, 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.

[0026] 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 to perform 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.

[0027] 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, for example, internal storage or computations related to the functions attributed herein to the memory system controller 115. Additionally or alternatively, the local memory 120 may act as a cache for the memory system controller 115. For example, when reading from or writing to the memory device 130, the data may be stored in the local memory 120, and the data may be available within 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).

[0028] although Figure 1 The example of the memory system 110 in FIG. 1 has been illustrated as including a memory system controller 115, but in some cases, the memory system 110 may not include a 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 internal to the memory device 130 to perform the functions attributed herein to the memory system controller 115, respectively. In general, one or more functions attributed herein to the memory system controller 115 may in some cases be alternatively performed by the host system 105, the local controller 135, or any combination thereof. In some cases, a 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.

[0029] The memory device 130 may include one or more non-volatile memory cell arrays. 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 (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 volatile memory cell arrays. For example, the memory device 130 may include RAM memory cells, such as dynamic RAM (DRAM) memory cells and synchronous DRAM (SDRAM) memory cells.

[0030] In some examples, the memory devices 130 may include (e.g., on the same die or within the same package) a local controller 135 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 shown, memory device 130 - a may include a local controller 135 - a , and memory device 130 - b may include a local controller 135 - b .

[0031] In some cases, memory device 130 may be or include a NAND device (e.g., a NAND flash device). Memory device 130 may be or include a die 160 (e.g., a memory die). For example, in some cases, memory device 130 may be a package that includes one or more die 160. In some examples, die 160 may be a piece of electronic grade semiconductor 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.

[0032] 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 a single-level cell (SLC). 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 a multi-level cell (MLC) if configured to store two bits of information each, a triple-level cell (TLC) if configured to store three bits of information each, a quad-level cell (QLC) if configured to store four bits of information each, or more generally, a multi-level memory cell. A multi-level memory cell may provide greater storage density relative to an SLC memory cell, but in some cases may involve narrower read or write margins or greater complexity for supporting circuitry.

[0033] In some cases, a plane 165 may refer to a group of blocks 170, and in some cases, parallel operations may be performed on different planes 165. For example, memory cells within different blocks 170 may be operated on in parallel 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 parallel operations may occur. For example, blocks 170-a, 170-b, 170-c, and 170-d within planes 165-a, 165-b, 165-c, and 165-d, respectively, may be operated on concurrently, 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, etc.). In some cases, parallel operations in different planes 165 may be subject to one or more restrictions, such as parallel operations on memory cells in different pages 175 that have the same page address within their respective planes 165 (e.g., related to command decoding, page address decoding circuitry, or other circuitry shared across planes 165).

[0034] 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).

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

[0036] In some cases, in order to update some data within a block 170 while retaining other data within the block 170, the memory device 130 may copy the data to be retained to a new block 170 and write the updated data to one or more remaining pages of the new block 170. The memory device 130 (e.g., the local controller 135) or the memory system controller 115 may mark or otherwise indicate the data retained in the old block 170 as invalid or obsolete, and may update a logical-to-physical (L2P) mapping table to associate the logical address (e.g., LBA) of the data with the new valid block 170 instead of the old invalid block 170. Thus, the L2P table may include address mapping information indicating a mapping (e.g., a corresponding relationship) between a logical address and a physical address. In some cases, such copying and remapping may be performed instead of erasing and rewriting the entire old block 170, for example due to latency or wear considerations. In some cases, one or more copies of the L2P mapping table may be stored within a memory unit of the memory device 130 (eg, within one or more blocks 170 or planes 165 ) for use (eg, reference and update) by the local controller 135 or the memory system controller 115 .

[0037] In some cases, an L2P mapping table may be maintained that allows memory system 110 to perform address translation, where address translation refers to the translation of logical addresses to physical addresses (and vice versa). The L2P table may also be referred to as an address mapping table or other suitable terminology.

[0038] In some examples, data may be marked as valid or invalid at a page granularity level, and a page 175 may contain valid data, invalid data, or no data. Invalid data may be data that may be outdated because the latest or updated version of the data is stored in a different page 175 of the memory device 130. Invalid data may have been previously programmed to an invalid page 175, but may no longer be associated with a valid logical address, such as a logical address referenced by the host system 105. Valid data may be the latest version of such data stored on the memory device 130. A page 175 that does not contain data may be a page 175 that has never been written to or has been erased.

[0039] In some cases, the memory system controller 115 or the local controller 135 may perform operations of the memory device 130 (e.g., as part of one or more media management algorithms), such as wear leveling, background refresh, garbage collection, scrubbing, block scanning, health monitoring, or other operations, or any combination thereof. For example, within the memory device 130, a block 170 may have some pages 175 containing valid data and some pages 175 containing invalid data. In order to avoid waiting for all pages 175 in a block 170 to have invalid data in order to erase and reuse the block 170, an algorithm known as "garbage collection" may be invoked to allow the block 170 to be erased and freed as a free block for subsequent write operations. Garbage collection may refer to a set of media management operations that include, for example, selecting a block 170 containing valid and invalid data, selecting a page 175 in a block containing valid data, copying valid data from the selected page 175 to a new location (e.g., a free page 175 in another block 170), marking data in a previously selected page 175 as invalid, and erasing the selected block 170. Thus, the number of erased blocks 170 may be increased so that more blocks 170 are available for storing subsequent data (e.g., data subsequently received from the host system 105). A garbage collection procedure may be an example of a data relocation procedure that moves data from one storage location (e.g., a physical block) of a memory system to another storage location of the memory system.

[0040] In some examples, the address mapping table maintained by the memory system 110 may be organized according to a translation unit size of 1 PBA (e.g., each entry of the address mapping table may be associated with a physical address). However, using a translation unit size of 1 PBA may result in a larger address mapping table, which in turn may consume a large amount of memory and increase delays associated with address translation (e.g., mapping of logical addresses to physical addresses).

[0041] According to the techniques described herein, the memory system 110 may reduce the size of the address mapping table (or increase the mapping information indicated by the address mapping table) by increasing the translation unit size for at least one region of the address mapping table, which the memory system 110 may do by compressing at least one region of the address mapping table according to a compression factor. The compression factor of a region may indicate the number of physical addresses that may be removed from the region without compromising the ability of the memory system 110 to perform address translation. For example, the memory system 110 may compress a region of the address mapping table by a compression factor z so that for z+1 each entry is associated with (e.g., indicates mapping information) as many physical addresses as the uncompressed region (assuming the uncompressed region has a translation unit size of 1 PBA). To identify the compression factor for a region, the memory system may determine how many sets of x logical blocks are sequentially written in the region, where x may vary, and use this information to select a translation unit size for the region.

[0042] The set of sequentially written logical addresses may refer to a set of sequentially indexed logical addresses mapped to sequentially indexed physical addresses. Sequentially indexed addresses may also be referred to as consecutively indexed addresses or other suitable terms.

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

[0044] Figure 2 An example of an address mapping table 200 supporting compression according to examples disclosed herein is shown. The address mapping table 200 may be an example of an L2P table of a memory system as described herein. Figure 2 In the illustrated example, the address mapping table may be divided into regions such as region A, region B, region C, and region D. A region of an address mapping table may refer to a subset of entries corresponding to sequentially indexed logical addresses, and may also be referred to as a portion or block of information of the address mapping table, among other suitable terms. In some examples, the regions of the address mapping table may be stored in different locations of the memory system.

[0045] The memory system may compress one or more of the regions according to the techniques described herein. The compressed regions of the address mapping table may contain fewer physical addresses and therefore may occupy less space in the memory relative to an uncompressed but still address translation for the memory system. The compressed address mapping table may also be referred to as a compact address mapping table, among other suitable terms. Although described with reference to four regions, the techniques described herein may be implemented for address mapping tables containing any number of regions.

[0046] Initially, a region of the address mapping table 200 may be organized according to a first translation unit size. For example, a region of the address mapping table may be organized according to a translation unit size = 1 PBA, such that each entry in the address mapping table 200 is associated with one logical address and one physical address. Thus, the address mapping table 200 may include y entries and y physical addresses, where y = 64 in the illustrated example. Although each entry is shown as having an associated LBA and PBA pair, in some examples, only the PBA may be stored in the address mapping table 200 (e.g., an LBA may be implicitly associated with an entry but need not be stored in the address mapping table 200).

[0047] The memory system may compress one or more of the regions of the address mapping table by selecting a new (e.g., larger) translation unit size, which in turn may be used as a basis for selecting a compression factor for the one or more regions. For example, the memory system may select a translation unit size of two PBAs and a compression factor of one PBA. The compression factor for a region may be based on (e.g., a function of) the translation unit size of the region. For example, the compression factor for a region may be equal to the translation unit size of the region minus one. After determining the compression factor for the region, the memory system may compress the region by dividing the number of physical addresses by (e.g., equal to) the compression factor. For example, if the translation size for the region is two PBAs and the compression factor is one PBA, the memory system may remove one PBA for each pair of sequentially written LBAs. As another example, if the translation size for the region is four PBAs and the compression factor is three PBAs, the memory system may remove three PBAs for each set of four sequentially written LBAs.

[0048] In general, during compaction, the memory system may maintain the leading (e.g., lowest index) PBA for a given set of sequentially written LBAs. For example, given a 4-byte set of sequentially written LBAs 4-7 mapped to PBAs 600-603, the memory system may maintain PBA 600 and remove PBAs 601-603.

[0049] The memory system may determine the translation unit size for a zone by analyzing statistics of sets of sequentially written LBAs in the zone. For example, the memory system may determine how many pairs of sequentially written LBAs are included in the zone (e.g., sets of two sequentially written LBAs), how many four-byte sets of sequentially written LBAs are included in the zone (e.g., sets of four sequentially written LBAs), and how many eight-byte sets of sequentially written LBAs are included in the zone (e.g., sets of eight sequentially written LBAs). Other numbers of logical addresses (e.g., 16, 32, 64, 128, 512) are contemplated and within the scope of the present disclosure. The memory system may then use this information to determine the translation unit size for the zone. For example, the memory system may select a translation unit of two PBAs based on a zone having a threshold number of sequentially written LBA pairs or based on the number of sequentially written LBA pairs exceeding (or exceeding a threshold number) other numbers of sequentially written LBAs.

[0050] The memory system may select the same conversion unit size for each region of address mapping table 200 or may select different conversion unit sizes for the regions. For example, the memory system may select a conversion unit size for two PBAs of region A, region B, region C, and region D. As another example, the memory system may select a conversion unit size for two PBAs of region B and region C, and may select a conversion unit size for four PBAs of region A and region D.

[0051] In some examples, the memory system may perform a data relocation procedure based on (e.g., due to, in response to) the translation unit size of the selected zone. For example, the memory system may perform a garbage collection procedure or a read-modify-write procedure in which data stored at one physical address is written to another physical address. The memory system may perform a data relocation procedure to increase the set of sequentially written LBAs having a desired number of logical addresses. For example, if the translation unit size of zone A is two PBAs, the memory system may perform a data relocation procedure such that data associated with LBAs 2 and 3 are rewritten to sequentially indexed physical addresses (e.g., PBAs 107 and 108), thereby increasing the set of sequentially written LBA pairs from six to seven. Similarly, the memory system may perform a data relocation procedure such that data associated with LBAs 14 and 15 are rewritten to sequentially indexed physical addresses (e.g., PBAs 109 and 110), thereby increasing the set of sequentially written LBA pairs from seven to eight.

[0052] In some examples, the memory system may perform address mapping table compression for regions of the address mapping table that are associated with cold data, where cold data may refer to data that has not been written within a threshold duration. For example, if the memory system determines that a threshold duration has passed since data associated with the region has been written, the memory system may determine that the region is associated with cold data and may initiate a compression procedure for the region. Selectively performing a compression procedure on regions associated with cold data may prevent the memory system from compressing subsequently updated regions (which may undo the compression).

[0053] Thus, the memory system may compress the region, which may improve the performance of the memory system.

[0054] Figure 3 An example of an address mapping table 300 supporting compression according to examples disclosed herein is shown. The address mapping table 300 may be an example of an L2P table of a memory system as described herein. Figure 3 In the example depicted, the address mapping table may be divided into regions such as region A, region B, region C, and region D. A region of the address mapping table may refer to a subset of entries corresponding to sequentially indexed logical addresses, and may also be referred to as a portion or block of information of the address mapping table, among other suitable terms. The memory system may compress the regions according to different compression factors and may update the tracking table 305 to indicate the compression.

[0055] The memory system may maintain one or more tracking tables indicating management information for the regions of the address mapping table 300. For example, the memory system may maintain a tracking table 305, which may indicate the starting LBA of each region, the address location of each region, and the compression factor of each region. Initially (e.g., before compression), the tracking table 305 may indicate that the starting LBAs of region A, region B, region C, and region D are LBA 32, LBA 40, LBA 96, and LBA 104, respectively. The tracking table 305 may also indicate that the address locations of region A, region B, region C, and region D are x0, x1, x2, and x3, respectively. The tracking table 305 may also indicate that the translation unit (TU) size of region A, region B, region C, and region D is 0, 0, 0, and 0, respectively. And the tracking table 305 may indicate that the compression factors of region A, region B, region C, and region D are 0, 0, 0, and 0, respectively.

[0056] Although tracking table 305 is shown with both the translation unit size and the compression factor, tracking table 305 may include one of these metrics and may exclude the other. For example, tracking table 305 may include the translation unit size instead of the compression factor (e.g., by subtracting one from the translation unit size, which the memory system may derive based on the translation unit size). As another example, tracking table 305 may include the compression factor instead of the translation unit size (e.g., by adding one to the compression factor, which the memory system may derive based on the compression factor). After compressing one or more of the regions, the memory system may update tracking table 305 with the updated information of address mapping table 300.

[0057] To compress address mapping table 300, the memory system may identify a set of sequentially written LBAs for each region of address mapping table 300. Thus, the memory system may determine that region A has no set of sequentially written LBAs. The memory system may also determine that region B has four sets of two sequentially written LBAs (e.g., a set of four sequentially written LBA pairs). The memory system may also determine that region C has two sets of four sequentially written LBAs (e.g., two sequentially written sets of LBA four-byte groups). And the memory system may determine that region D has one set of eight sequentially written LBAs (e.g., one sequentially written set of LBA eight-byte groups).

[0058] The memory system may select a translation unit size, and therefore a compression factor for a zone, based on (e.g., as a function of) the set of sequentially written LBAs for each zone. For example, the memory system may select a translation unit size of one PBA for zone A based on zone A having no set of sequentially written LBAs. Thus, the memory system may select a compression factor of 0 PBAs for zone A (which indicates that 0 physical addresses may be removed from zone A).

[0059] As another example, the memory system may select a translation unit size for two PBAs of zone B based on zone B having a set of four sequentially written LBA pairs. Thus, the memory system may select a compression factor for one PBA of zone B (which indicates that one physical address may be removed for each set of sequentially written LBAs). As another example, the memory system may select a translation unit size for four PBAs of zone C based on zone C having two sequentially written sets of LBA nibbles. Thus, the memory system may select a compression factor for three PBAs of zone C (which indicates that three physical addresses may be removed for each set of sequentially written LBAs). As another example, the memory system may select a translation unit size for eight PBAs of zone D based on zone D having a set of one sequentially written LBA octets. Thus, the memory system may select a compression factor for seven PBAs of zone D (which indicates that seven physical addresses may be removed for each set of sequentially written LBAs).

[0060] The memory system may compress some or all of the zones according to a compression factor for the zones. For example, the memory system may compress zone B according to a compression factor for one PBA, may compress zone C according to a compression factor for three PBAs, and may compress zone D according to a compression factor for seven PBAs. Compression of a zone according to a compression factor may involve removing a subset of physical addresses (equal to the compression factor) from the zone. For example, the memory system may remove a subset of physical addresses from each set of sequentially indexed physical addresses associated with a set of sequentially written LBAs.

[0061] As an illustration, the memory system may compress region B by removing one physical address per pair of sequentially written LBAs. However, the memory system may maintain the leading (e.g., lowest indexed) physical address of each pair of sequentially written LBAs. Thus, the memory system may remove PBA 201 from the LBA pair including LBAs 40 and 41 and may maintain PBA 200. Similarly, the memory system may remove PBA 217 from the LBA pair including LBAs 42 and 43. And so on, as illustrated.

[0062] After compressing the regions of address mapping table 300, the memory system may update tracking table 305 to reflect the new organization of the regions. For example, the memory system may update tracking table 305 to indicate the new start addresses of the regions (if the start addresses are modified as part of the compression). For example, the memory system may update tracking table 305 to indicate that the start address of region A is y0, the start address of region B is y1, the start address of region C is y2, and the start address of region D is y3. The memory system may also update tracking table 305 to indicate the new compression factors of the regions (if the compression factors are modified). For example, the memory system may update tracking table 305 to indicate that the compression factor of region B is one PBA, the compression factor of region C is three PBAs, and the compression factor of region D is seven PBAs.

[0063] Additionally or alternatively, the memory system can update the tracking table 305 to indicate the translation unit size of the region. For example, the memory system can update the tracking table 305 to indicate that the translation unit size of region B is two PBAs, the translation unit size of region C is four PBAs, and the translation unit size of region D is eight PBAs.

[0064] The memory system may use the information in tracking table 305 to use and, if necessary, decompress the region. To use the compressed region for address translation of a logical address (e.g., LBA 101), the memory system may reference tracking table 305 to determine the address of the region (e.g., region C) associated with the logical address. The memory system may then read the region based on the address to determine the physical address (e.g., 360) that maps to the LBA (e.g., LBA 100) that is closest to the logical address subject to address translation. The memory system may then use the TU size (or compression factor) of the region to determine the physical address (e.g., PBA 361) that maps to the logical address (e.g., LBA 101) that is subject to address translation.

[0065] Thus, the memory system may compress regions according to different compression factors and may update tracking table 305 to indicate the compression.

[0066] Figure 4 An example of a process flow 400 for supporting address mapping table compression according to examples disclosed herein is shown. The process flow 400 may be, for example, referenced to Figure 1 The described memory system implementation of memory system 110. By implementing process flow 400, a memory system may compress one or more regions of an address mapping table, which may improve performance of the memory system.

[0067] Aspects of process flow 400 may be implemented by a controller and other components. Additionally or alternatively, aspects of process flow 400 may be implemented as instructions stored in a memory (e.g., firmware stored in a memory coupled to a memory system). For example, the instructions, when executed by a controller (e.g., memory system controller 115), may cause the controller to perform the operations of process flow 400.

[0068] At 405, a region of the address mapping table associated with cold data can be identified. For example, the memory system can determine that a threshold duration has passed since data associated with the region of the address mapping table was last (e.g., most recently) written. At 410, a compression procedure can be initiated for the region based on (e.g., in response to) the region being associated with cold data.

[0069] At 415, a set length for analysis may be determined, where the set length may refer to the number of logical addresses in the set of sequentially written logical addresses. For example, the memory system may determine to examine sets of sequentially written logical addresses having set lengths equal to two, four, and eight. At 420, sets of sequentially written logical addresses may be identified for each set length. For example, the memory system may determine (e.g., count) the sets of sequentially written logical addresses for each set length. As an illustration, the memory system may determine that there are sets of x sequentially written logical addresses having a set length of two (e.g., two LBAs), there are sets of y sequentially written logical addresses having a set length of four (e.g., four LBAs), and there are sets of z sequentially written logical addresses having a set length of eight (e.g., eight LBAs).

[0070] At 425, a compression factor for the zone may be selected. For example, the memory system may select a compression factor for the zone based on a set of sequentially written logical addresses (e.g., as a function of the set of sequentially written logical addresses). As an illustration, the memory system may select a compression factor for a PBA (corresponding to a translation unit size of the two PBAs) based on a set of two sequentially written LBAs exceeding a threshold, based on a set of other sequentially written LBAs of a set length being less than one or more thresholds, or both. As another illustration, the memory system may select a compression factor for a PBA based on a set of two sequentially written LBAs containing a higher total number of LBAs than a set of other sequentially written LBAs of a set length. As another illustration, the memory system may select a compression factor for a PBA based on a set of two sequentially written LBAs being associated with a larger amount of data than a set of other sequentially written LBAs of a set length. As another illustration, the memory system may select a compression factor for a PBA based on a set of two sequentially written LBAs covering a larger portion of the zone than a set of other sequentially written LBAs of a set length.

[0071] At 430, a data relocation procedure (e.g., a garbage collection procedure, a wear leveling procedure, a read-modify-write procedure) may be performed based on the compression factor. For example, the memory system may perform a data relocation procedure to relocate at least some data associated with the region such that an additional set of sequentially written LBAs is generated (according to the translation unit size). At 435, the region may be updated to reflect the new physical address of the data that underwent the data relocation procedure.

[0072] At 440, the region may be compressed. For example, the memory system may compress the region by removing at least some physical addresses from the region. In some examples, the memory system may remove a subset of physical addresses from a set of physical addresses associated with a set of sequentially written logical addresses. In such examples, the number of physical addresses removed from each set of physical addresses may be based on a tracking unit size (e.g., equal to the tracking unit size minus one) or based on a compression factor (e.g., equal to the compression factor). The memory system may maintain a leading (e.g., lowest indexed) physical address in each set of physical addresses.

[0073] At 445, a tracking table associated with the region may be updated based on (e.g., in response to) compressing the region. For example, the memory system may update the tracking table to indicate the new address location of the region (if the address location changed during 435 or 440). Additionally or alternatively, the memory system may update the tracking table to indicate the translation unit size of the region, the compression factor of the region, or both.

[0074] Thus, the memory system compresses regions of the address mapping table, which can improve the performance of the memory system. Alternative examples of the foregoing may be implemented, in which some operations are performed in an order different from the order described, in parallel, or not performed at all. In some cases, the operations may include additional features not mentioned herein, or additional operations may be added. In addition, certain operations may be performed multiple times, or certain combinations of operations may be repeated or looped.

[0075] Figure 5 A block diagram 500 of a memory system 520 supporting address map compression according to examples disclosed herein is shown. The memory system 520 may be a memory system such as the one described in the reference Figures 1 to 4 520, or various components thereof, may be examples of means for performing various aspects of address mapping table compression as described herein. For example, memory system 520 may include controller 525, access circuitry 530, local memory 535, or any combination thereof. Each of these components may communicate with each other, directly or indirectly (e.g., via one or more buses).

[0076] The controller 525 may be configured to or otherwise support means for determining, for a region of an address mapping table that includes physical addresses and indicates mappings between physical addresses and logical addresses, a set of sequentially indexed logical addresses that is mapped to a set of sequentially indexed physical addresses. In some examples, the controller 525 may be configured to or otherwise support means for selecting a compression factor for a region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating the number of physical addresses to be removed per set of sequentially indexed physical addresses. The access circuit system 530 may be configured to or otherwise support means for removing a subset of physical addresses from the set of sequentially indexed physical addresses in the region based on the compression factor.

[0077] In some instances, the controller 525 may be configured to or otherwise support a component for determining whether a region of the address mapping table is associated with data that has not been written within a threshold duration, wherein the set of sequentially indexed logical addresses is determined based at least in part on the region of the address mapping table being associated with data that has not been written within the threshold duration.

[0078] In some examples, each subset of physical addresses includes a number of physical addresses equal to the number of physical addresses indicated by the compression factor.

[0079] In some examples, local memory 535 may be configured or otherwise support means for updating a tracking table including the address location of the region and the lowest indexed logical address mapped by the region to indicate a compression factor for the region.

[0080] In some examples, access circuit system 530 may be configured to or otherwise support means for performing a data relocation procedure to increase a set of sequentially indexed logical addresses mapped to sequentially indexed physical addresses based at least in part on determining at least one set of sequentially indexed logical addresses mapped to non-sequentially indexed physical addresses.

[0081] In some examples, each set of sequentially indexed logical addresses has the same number of logical addresses. In some examples, the number of physical addresses to be removed per set is based at least in part on the number of logical addresses.

[0082] In some instances, controller 525 may be configured to or otherwise support components for determining, for a zone, an additional set of sequentially indexed logical addresses that map to an additional set of sequentially indexed physical addresses and have a different number of logical addresses than the set of sequentially indexed logical addresses, wherein a compression factor for the zone is selected based at least in part on the additional set of sequentially indexed logical addresses.

[0083] In some examples, access circuitry 530 may be configured or otherwise support means for maintaining, for each set of sequentially indexed logical addresses in a region, a lowest indexed physical address associated with the set of sequentially indexed logical addresses.

[0084] In some instances, the set of sequentially-indexed logical addresses includes a set of two sequentially-indexed addresses and a set of four sequentially-indexed addresses, and the controller 525 may be configured to or otherwise support determining that the set of two sequentially-indexed logical addresses includes a higher total number of logical addresses than the set of four sequentially-indexed logical addresses, wherein the compression factor for the zone is selected based at least in part on the determination.

[0085] Figure 6 A flowchart showing a method 600 for supporting address mapping 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 as described herein. For example, the operations of the method 600 may be implemented by a memory system or components thereof as described herein. Figures 1 to 5 The memory system described herein performs the functions described herein. In some examples, the memory system may execute instruction sets to control functional elements of the device to perform the functions described herein. Additionally or alternatively, the memory system may use dedicated hardware to perform aspects of the functions described herein.

[0086] At 605, the method may include determining, for a region of an address mapping table that includes physical addresses and indicates mappings between physical addresses and logical addresses, a set of sequentially indexed logical addresses that are mapped to a set of sequentially indexed physical addresses. The operations of 605 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 605 may be as described in reference to Figure 5 The controller 525 described above performs the above.

[0087] At 610, the method may include selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating the number of physical addresses to be removed per set of sequentially indexed physical addresses. The operation of 610 may be performed according to examples as disclosed herein. In some examples, aspects of the operation of 610 may be as described in reference to Figure 5 The controller 525 described above performs the above.

[0088] At 615, the method may include removing a subset of physical addresses from a set of sequentially indexed physical addresses in the region according to the compression factor. The operations of 615 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 615 may be described by reference to Figure 5 The access circuitry 530 is described.

[0089] In some examples, an apparatus as described herein may perform one or more methods, 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:

[0090] 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 determining, for a region of an address mapping table that includes physical addresses and indicates mappings between physical addresses and logical addresses, a set of sequentially indexed logical addresses that are mapped to a set of sequentially indexed physical addresses; selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed for each set of sequentially indexed physical addresses; and removing a subset of physical addresses from the set of sequentially indexed physical addresses in the region based on the compression factor.

[0091] 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 whether a region of an address mapping table is associated with data that has not been written within a threshold duration, wherein a set of sequentially indexed logical addresses is determined at least in part based on the region of the address mapping table being associated with data that has not been written within a threshold duration.

[0092] Aspect 3: The method, apparatus, or non-transitory computer-readable medium of any one of aspects 1 to 2, wherein each subset of physical addresses includes a number of physical addresses equal to the number of physical addresses indicated by the compression factor.

[0093] 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 updating a tracking table to indicate a compression factor for a zone, wherein the tracking table includes an address location of the zone and a lowest indexed logical address mapped by the zone.

[0094] Aspect 5: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 4, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for performing a data relocation program to increase a set of sequentially indexed logical addresses mapped to sequentially indexed physical addresses based at least in part on determining at least one set of sequentially indexed logical addresses mapped to non-sequentially indexed physical addresses.

[0095] Aspect 6: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 5, wherein each set of sequentially indexed logical addresses has the same number of logical addresses, and the number of physical addresses to be removed from each set is based at least in part on the number of logical addresses.

[0096] Aspect 7: A method, apparatus, or non-transitory computer-readable medium according to any of Aspects 1 to 6, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining, for a region, an additional set of sequentially indexed logical addresses mapped to an additional set of sequentially indexed physical addresses and having a number of logical addresses different from the set of sequentially indexed logical addresses, wherein a compression factor for the region is selected at least in part based on the additional set of sequentially indexed logical addresses.

[0097] Aspect 8: A method, apparatus, or non-transitory computer-readable medium according to any of Aspects 1 to 7, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for maintaining, for each set of sequentially indexed logical addresses in a zone, a lowest indexed physical address associated with a set of sequentially indexed logical addresses.

[0098] Aspect 9: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 8, wherein the set of sequentially indexed logical addresses includes a set of two sequentially indexed logical addresses and a set of four sequentially indexed logical addresses, and the method, apparatus, and non-transitory computer-readable medium further include operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for determining that the set of two sequentially indexed logical addresses includes a total number of logical addresses that is higher than the set of four sequentially indexed logical addresses, wherein the compression factor of the zone is selected at least in part based on the determination.

[0099] It should be noted that the described techniques include possible implementations, and that operations and steps may be rearranged or otherwise modified, and other implementations are possible. In addition, portions from two or more of the described methods may be combined.

[0100] 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, or symbols of the signaling referenced throughout the above description may be represented by voltage, current, 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.

[0101] The terms "electronic communication," "conductive contact," "connection," and "coupling" 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 with each other, or connected to each other, 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 paths between components that are in electronic communication with each other (or in conductive contact with each other, or connected to each other, or coupled to each other) may be open or closed based on the operation of the device that includes the connected components. The conductive paths between the connected components may be direct conductive paths between the components, or the conductive paths between the connected components may be indirect conductive paths that may include intermediate components such as switches, transistors, or other components. In some examples, the signal flow between the connected components may be interrupted for a period of time, for example, using one or more intermediate components such as switches or transistors.

[0102] The term "coupled" (e.g., "electrically coupled") may refer to a condition of moving from an open circuit relationship between components, in which signals are currently unable to communicate between the components via a conductive path, to a closed circuit relationship between the components, in which signals are able to communicate between the components via the conductive path. If a component, such as a controller, couples other components together, the component initiates a change that allows signals to flow between the other components via conductive paths that previously did not permit signal flow.

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

[0104] As used herein, the term "substantially" means that the modified characteristic (eg, a verb or adjective modified by the term substantially) is not necessarily absolute but is close enough to obtain the advantage of the characteristic.

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

[0106] The term "responsive to" may refer to a condition or action that occurs at least in part (if not completely) as a result of a prior condition 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 prior condition or action occurring (whether directly after the first condition or action or after one or more other intermediate conditions or actions occur after the first condition or action).

[0107] In addition, the term "directly in response to" or "directly in response to" may refer to a condition or action occurring as a direct result of a previous condition 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 a previous condition or action occurring that is 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 a previous condition or action occurring, so that no other intermediate conditions or actions occur between an earlier condition or action and the second condition or action, or a limited number of one or more intermediate steps or actions occur between an earlier condition or action and the second condition or action. Unless otherwise specified, any condition or action described herein as "based on", "at least partially based on" or "in response to" some other step, action, event or condition may be performed in addition or alternatively (e.g., in an alternative instance) "directly in response to" or "directly in response to" this other condition or action.

[0108] The devices discussed herein, including memory arrays, may be formed on semiconductor substrates such as silicon, germanium, silicon-germanium alloys, gallium arsenide, gallium nitride, etc. In some instances, the substrate is a semiconductor wafer. In some other instances, 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 semiconductor material on another substrate. The conductivity of the substrate or a sub-region of the substrate may be controlled by doping using various chemical species including, but not limited to, phosphorus, boron, or arsenic. Doping may be performed during the initial formation or growth of the substrate, by ion implantation, or by any other doping method.

[0109] 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 (e.g., metals). The source and drain may be conductive and may include heavily doped, such as 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 terminated 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 make the channel conductive. When a voltage greater than or equal to the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "turned on" or "activated". If a voltage less than the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "turned off" or "deactivated".

[0110] The descriptions set forth herein in conjunction with the accompanying drawings describe example configurations and do 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" and is not "preferable" or "advantageous" over other examples. The detailed description contains specific details that 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.

[0111] In the 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 dash and a second label that distinguishes between the similar components. If only the first reference label is used in the specification, the description applies to any of the similar components having the same first reference label, regardless of the second reference label.

[0112] 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 as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. 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 may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. Features implementing the functions may also be physically located at various locations, including distribution so that portions of the functions are implemented at different physical locations.

[0113] For example, the various illustrative blocks and components described in connection with the disclosure herein 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 combination of multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).

[0114] As used herein, including in the claims, "or" used in a list of items (e.g., a list of items beginning with a phrase such as "at least one of" or "one or more of") indicates an inclusive list, such that, for example, a list of at least one of 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). Additionally, as used herein, the phrase "based on" should not be construed as referring 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 similarly to the phrase "based at least in part on."

[0115] Computer-readable media include both non-transitory computer storage media and communication media including any media that facilitates the transfer of computer programs from one place to another. Non-transitory storage media may be any available media that can be accessed by a general or special-purpose computer. By way of 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 any other non-transitory media that can be used to carry or store desired program code components in the form of instructions or data structures and can be accessed by a general or special-purpose computer or a general or special-purpose processor. And, any connection is appropriately referred to as computer-readable media. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwaves are used to transmit software from a website, server or other remote source, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwaves are 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 using lasers. Combinations of the above are also included within the scope of computer-readable media.

[0116] 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 is given the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device, wherein include: Memory device; and a controller coupled to the memory device and configured to cause the apparatus to: determining, for a region of an address mapping table including physical addresses and indicating a mapping between the physical addresses and logical addresses, a set of sequentially indexed logical addresses mapped to a set of sequentially indexed physical addresses; selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and A subset of physical addresses is removed from the set of sequentially indexed physical addresses in the region according to the compression factor.

2. The device of claim 1, wherein the controller is further configured to cause the device to: A determination is made as to whether the region of the address mapping table is associated with data that has not been written within a threshold duration, wherein the set of sequentially indexed logical addresses is determined based at least in part on the region of the address mapping table being associated with data that has not been written within the threshold duration.

3. The apparatus of claim 1, wherein each subset of physical addresses includes a number of physical addresses equal to the number of physical addresses indicated by the compression factor.

4. The device of claim 1, wherein the controller is further configured to cause the device to: A tracking table is updated to indicate the compression factor for the region, the tracking table including the address location of the region and the lowest indexed logical address mapped by the region.

5. The device of claim 1, wherein the controller is further configured to cause the device to: Based at least in part on determining at least one set of sequentially-indexed logical addresses mapped to non-sequentially-indexed physical addresses, a data relocation procedure is performed to increase the set of sequentially-indexed logical addresses mapped to sequentially-indexed physical addresses.

6. The apparatus of claim 1, wherein each set of sequentially indexed logical addresses has a same number of logical addresses, and wherein the number of physical addresses to remove per set is based at least in part on the number of logical addresses.

7. The device of claim 1, wherein the controller is further configured to cause the device to: An additional set of sequentially-indexed logical addresses that maps to an additional set of sequentially-indexed physical addresses and has a different number of logical addresses than the set of sequentially-indexed logical addresses is determined for the region, wherein the compression factor for the region is selected based at least in part on the additional set of sequentially-indexed logical addresses.

8. The device of claim 1, wherein the controller is further configured to cause the device to: For each set of sequentially indexed logical addresses in the region, a lowest indexed physical address associated with the set of sequentially indexed logical addresses is maintained.

9. The apparatus of claim 1, wherein the set of sequentially indexed logical addresses comprises a set of two sequentially indexed addresses and a set of four sequentially indexed addresses, and wherein the controller is further configured to cause the apparatus to: It is determined that the set of two sequentially indexed logical addresses includes a higher total number of logical addresses than the set of four sequentially indexed logical addresses, wherein the compression factor for the region is selected based at least in part on the determination.

10. A method, wherein include: determining, for a region of an address mapping table including physical addresses and indicating a mapping between the physical addresses and logical addresses, a set of sequentially indexed logical addresses mapped to a set of sequentially indexed physical addresses; selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and A subset of physical addresses is removed from the set of sequentially indexed physical addresses in the region according to the compression factor.

11. The method according to claim 10, further comprising: include: A determination is made as to whether the region of the address mapping table is associated with data that has not been written within a threshold duration, wherein the set of sequentially indexed logical addresses is determined based at least in part on the region of the address mapping table being associated with data that has not been written within the threshold duration.

12. The method of claim 10, wherein each subset of physical addresses includes a number of physical addresses equal to the number of physical addresses indicated by the compression factor.

13. The method according to claim 10, further comprising: include: A tracking table is updated to indicate the compression factor for the region, the tracking table including the address location of the region and the lowest indexed logical address mapped by the region.

14. The method according to claim 10, further comprising: include: Based at least in part on determining at least one set of sequentially-indexed logical addresses mapped to non-sequentially-indexed physical addresses, a data relocation procedure is performed to increase the set of sequentially-indexed logical addresses mapped to sequentially-indexed physical addresses.

15. The method of claim 10, wherein each set of sequentially indexed logical addresses has a same number of logical addresses, and wherein the number of physical addresses to remove per set is based at least in part on the number of logical addresses.

16. The method according to claim 10, further comprising: include: An additional set of sequentially-indexed logical addresses that maps to an additional set of sequentially-indexed physical addresses and has a different number of logical addresses than the set of sequentially-indexed logical addresses is determined for the region, wherein the compression factor for the region is selected based at least in part on the additional set of sequentially-indexed logical addresses.

17. The method according to claim 10, further comprising: include: For each set of sequentially indexed logical addresses in the region, a lowest indexed physical address associated with the set of sequentially indexed logical addresses is maintained.

18. The method according to claim 10, wherein the set of sequentially indexed logical addresses comprises a set of two sequentially indexed addresses and a set of four sequentially indexed addresses, the method further comprising: include: It is determined that the set of two sequentially indexed logical addresses includes a higher total number of logical addresses than the set of four sequentially indexed logical addresses, wherein the compression factor for the region is selected based at least in part on the determination.

19. A non-transitory computer-readable medium storing code, the code comprising instructions executable by a processor to: determining, for a region of an address mapping table including physical addresses and indicating a mapping between the physical addresses and logical addresses, a set of sequentially indexed logical addresses mapped to a set of sequentially indexed physical addresses; selecting a compression factor for the region based at least in part on the set of sequentially indexed logical addresses, the compression factor indicating a number of physical addresses to be removed per set of sequentially indexed physical addresses; and A subset of physical addresses is removed from the set of sequentially indexed physical addresses in the region according to the compression factor.

20. The non-transitory computer-readable medium of claim 19, wherein the instructions are further executable by the processor to: A determination is made as to whether the region of the address mapping table is associated with data that has not been written within a threshold duration, wherein the set of sequentially indexed logical addresses is determined based at least in part on the region of the address mapping table being associated with data that has not been written within the threshold duration.

Citation Information

Cited By

  • Data compression method, data reading method, device, storage medium, and program product

    WO2026118731A1