Zones of translation tables from logical to physical data addresses with parallelized log list replay
Patent Information
- Application Number
- DE102017104125
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-05-05
- Filing Date
- 2017-02-28
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2037-02-28
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELDThe present disclosure relates generally to mapping logical data addresses to physical data addresses.PRIOR ARTStorage devices used in computers or other electronic devices may include non-volatile memory and / or volatile memory. Non-volatile memory allows data storage in cases of power failure, where the power failure may be scheduled or unscheduled. As a result, nonvolatile memory devices have evolved into a popular type of memory for a variety of electronic applications. For example, nonvolatile memory devices including flash memory devices are commonly integrated into semiconductor memory devices such as solid-state drives (SSDs).Some storage devices use physical data addresses to internally map data to storage locations. For example, SSDs may use physical block addresses, such as physical NAND address units in the storage components of the SSD, to specify locations of data in the SSD. However, operating systems may use logical data addresses to specify logical information to represent the storage location of data. To precisely locate data based on logical location information understood by the operating system, a controller of an SSD may maintain a logical to physical data address translation table, referred to herein as an "L2P" table. The L2P table associates each logical data address used by the operating system with a respective physical block address used internally by the controller of the SSD. The SSD controller may also maintain a log list that dynamically logs updates of the various logical to physical address mappings in the L2P table. For example, the dynamic log list may include previously implemented updates to the L2P table. In addition, the dynamic log list may include pending updates to be implemented with respect to the L2P table in the future.US 7 353 305 B2 relates to a system including a memory processing device having an input / output module and a control module, wherein the input / output module and the control module are configured to support data virtualization, data migration, data journaling and snapshot creation.SUMMARYIn some examples, the disclosure describes a method. The method includes forming, by a processor, a table that includes two or more mappings, each mapping being associated with a respective logical address and a respective physical address of a data storage device, and identifying, by the processor, a plurality of logical zones that include a first logical zone in the table and a second logical zone in the table, wherein each of the first logical zone and the second logical zone includes one or more mappings of the table, and wherein the one or more mappings of the first logical zone are mutually exclusive with respect to the one or more mappings of the second logical zone. The method may further include forming, by the processor, a first log list associated with the first logical zone, the first log list indicating one or more mapping updates associated with the one or more mappings included in the first logical zone, and forming, by the processor, a second log list associated with the second logical zone, the second log list indicating one or more mapping updates associated with the one or more mappings included in the second logical zone. The method may also include simultaneously replaying, by the processor, a portion of the first log list and a portion of the second log list to update the table.In some examples, the disclosure describes a storage device comprising a device comprising a storage device and one or more processors. The storage device is configured to store a table comprising two or more maps, each map being associated with a respective logical address and a respective physical address of a data storage device. The one or more processors are configured to identify a plurality of logical zones including a first logical zone in the table and a second logical zone in the table, wherein each of the first logical zone and the second logical zone comprises one or more mappings of the table, and wherein the one or more mappings of the first logical zone are mutually exclusive with respect to the one or more mappings of the second logical zone. The processor or processors may be further configured to form a first log list associated with the first logical zone, the first log list indicating one or more mapping updates associated with the one or more mappings included in the first logical zone, and to form a second log list associated with the second logical zone, the second log list indicating one or more mapping updates associated with the one or more mappings included in the second logical zone. The processor or processors may also be configured to simultaneously replay a portion of the first log list and a portion of the second log list to update the table.In some examples, the disclosure describes a non-transitory computer readable storage medium encoded with instructions. When executed, the instructions cause one or more processors of a computing device to form a table comprising two or more mappings, each mapping associated with a respective logical address and a respective physical address of a data storage device, and identify a plurality of logical zones comprising a first logical zone in the table and a second logical zone in the table, wherein each of the first logical zone and the second logical zone comprises one or more mappings of the table, and wherein the one or more mappings of the first logical zone are mutually exclusive with respect to the one or more mappings of the second logical zone. The non-transitory computer readable storage medium may be further encoded with instructions that, when executed, cause the one or more processors of the computing device to form a first log list associated with the first logical zone, the first log list indicating one or more mapping updates associated with the one or more mappings included in the first logical zone and form a second log list associated with the second logical zone, the second log list indicating one or more mapping updates associated with the one or more mappings included in the second logical zone. The non-transitory computer readable storage medium may also be encoded with instructions that, when executed, cause the one or more processors of the computing device to simultaneously replay a portion of the first log list and a portion of the second log list to update the table.In the accompanying drawings and in the following description, the details of one or more examples are set forth. Other features, objects and advantages will be apparent from the description and the accompanying drawings and from the claims.BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 is a conceptual and schematic block diagram of an example storage environment in which a storage device may function as a storage device for a host device, in accordance with one or more aspects of the present disclosure. FIG. 2 is a conceptual diagram of an example memory device, in accordance with one or more aspects of the present disclosure. FIG. 3 is a conceptual and schematic block diagram of an example controller, in accordance with one or more aspects of the present disclosure. FIG. 4 is a conceptual diagram of an example logical to physical (L2P) table. FIG. 5 is a conceptual diagram of a time line based on which various aspects of the present disclosure will be described. FIG. 6 shows an example log list that a device may maintain to log changes to be implemented with respect to an L2P table. FIG. 7 shows a zoomed L2P table, in accordance with one or more aspects of the present disclosure. FIG. 8 shows another example of a zoomed L2P table, in accordance with one or more aspects of the present disclosure. FIGS. 9A and 9B show examples of zone specific log lists that a device can maintain, in accordance with various aspects of the present disclosure. FIG. 10 is a flow diagram of an example process that may execute an apparatus to implement one or more aspects of the present disclosure.DETAILED DESCRIPTIONThe present disclosure relates generally to systems and techniques for reducing the time spent traversing or "replay" a loglist when powering up a data storage device. In various use cases, a data storage device controller or a processor of the controller may implement aspects of the present disclosure to take advantage of multi-core processing to parallelize the replay of the log list when starting up. For example, a controller configured in accordance with aspects of the present disclosure may split the L2P table into multiple logical "zones.". In power-up, multiple processors or processing cores of the controller may in turn replay the log list in parallel for multiple logical zones. As storage capacity of data storage devices such as SSD has increased, the size of the L2P table has also increased. As the L2P size increases, the replay or journaling process to update the L2P tables as it powers up also becomes increasingly time consuming and resource intensive.The techniques of the logical zones of the L2P table and the parallelized log list replay of the present disclosure provide several potential advantages by extending existing data storage device startup mechanisms. By journaling multiple zones of the L2P table in parallel, the data storage device controller may reduce the startup time currently required by existing data storage device technology. As another example, the controller may more evenly distribute the journaling process resource consumption among multiple cores, thereby reducing the load on any single core over a particular time slice or interval. In this way, a storage device controller configured in accordance with aspects of the present disclosure may utilize more and more available multi-core processing technology to improve resource usage distribution and decrease power-up time for the storage device. In other words, the techniques of the present disclosure enable the data storage device controller to utilize multi-core processors that are increasingly common in commercially available data processing devices.Previously proposed techniques for reducing startup time used partitioning of an SSD into multiple virtual drives or "entities.". Partitioning the SSD may potentially result in a decreased startup time based on the decreased storage capacity of each partitioned entity. However, in the case of partitioned SSDs, the SSD controller or controllers manage each partitioned entity in a closed universum. A partitioned SSD may thus impede or prevent the controller or controllers from performing certain maintenance operations, such as so-called "garbage collection" and / or "wear leveling" on an SSD-wide (or "global") basis. Instead, according to these previously proposed techniques, any additional resources that can be accessed for maintenance operations must reside locally in the smaller partitioned entity.In contrast, the local zone and parallelized replay techniques of the present disclosure enable the controller or controllers of the data storage device to mitigate startup time and efficiently employ multi-core processing without compromising global garbage collection and wear leveling throughout the data storage device. It should be appreciated that a storage device controller configured in accordance with aspects of the present disclosure may zone an L2P table without partitioning the L2P table into separate stand-alone tables or logically partitioning the storage devices themselves. For example, the data storage device controller may delineate multiple zones of the L2P table from one another while maintaining the monolithic or unified texture of the overall L2P table itself. Thus, the controller according to the present disclosure may still rely on any physical storage or other resources in the overall SSD to perform garbage collection and wear leveling. In this way, the table logical zone and parallelized journaling techniques of the present disclosure enable the controller to improve the startup process from the standpoint of time and clock cycle consumption while maintaining the advantages of global garbage collection and wear leveling.According to one or more techniques of the present disclosure, a controller of a data storage device may logically zone the L2P table based on various logical address grouping schemes. According to some implementations, the controller may form a logical zone by grouping logical data addresses that are in sequential order ranging from a predetermined base value to a predetermined maximum value. According to other implementations, the controller may form a zone by selecting each "Nth" logical address in sequential order. In an example where N=4, the controller may place logical addresses with indices 0 and 4 in a first zone, logical addresses with indices 1 and 5 in a second zone, and so on. The former implementation is referred to herein as a "range" or "serial" implementation, while the latter is referred to as an "nested" or "nested" implementation. The aspects of the present disclosure will be discussed below with reference to the accompanying drawings.FIG. 1 is a conceptual and schematic block diagram of an example storage environment 2 in which the storage device 6 may function as a storage device for the host device 4, in accordance with one or more techniques of the present disclosure. For example, the host device 4 may use nonvolatile memory devices included in the storage device 6 to store and retrieve data. In some examples, storage environment 2 may include multiple storage devices, such as storage device 6, where the multiple storage devices may operate as a storage array. For example, storage environment 2 may include multiple storage devices 6 configured as a redundant array of inexpensive / independent disks (RAID) that together function as a mass storage device for host device 4.The storage environment 2 may include the host device 4 that may store data in and / or retrieve data from one or more storage devices, such as the storage device 6. As illustrated in FIG. 1, the host device 4 may communicate with the storage device 6 via the interface 14. The host device 4 may include any of a variety of devices, including computer servers, network attached storage (NAS) devices, desktop computers, notebook (i.e., laptop) computers, tablet computers, set top boxes, telephone handsets such as so-called "smart phones", smart pads, televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, and the like. The host device 4 may identify data stored in the storage environment 2 using logical or virtual addresses.As shown in FIG. 1, the storage device 6 may include a controller 8, a nonvolatile memory array 10 (NVMA 10), a power supply 11, volatile memory 12, and an interface 14. In some examples, the storage device 6 may include additional components not shown in FIG. 1 for clarity. For example, the storage device 6 may include a printed circuit board (PB) to which components of the storage device 6 are mechanically attached and which includes electrically conductive traces that electrically connect components of the storage device 6 to each other; and the like. In some examples, the physical dimensions and connector configurations of the storage device 6 may correspond to one or more standard aspect ratios. Some example standard aspect ratios include, but are not limited to, a 3.5 inch hard disk drive (HDD) or SSD, a 2.5 inch HDD or SSD, a 1.8 inch HDD or SSD, Peripheral Component Interconnect (PCI), Peripheral Component Interconnect (PCI-X (PCI-extended), PCIe (PCI Express) (e.g., PCIe x1, x4, x8, x16, PCIe Mini Card, MiniPCI, etc.), NVMe (non-volatile memory, Express), or the like. In some examples, the storage device 6 may be directly coupled (e.g., directly soldered) to a motherboard of the host device 4.The storage device 6 may include an interface 14 as an interface with the host device 4. The interface 14 may include a data bus for exchanging data with the host device 4 and / or a control bus for exchanging commands with the host device 4. The interface 14 may operate according to any suitable protocol. For example, the interface 14 may operate according to one or more of the following protocols: Advanced Technology Attachment (ATA) (e.g., serial-ATA (SATA) and parallel-ATA (PATA)), Fibre Channel, Small Computer System Interface (SCSI), SAS (Serially Attached SCSI), PCI (Peripheral Component Interconnect), PCI Express, and NVMe. The electrical connection of the interface 14 (e.g., the data bus, the control bus, or both) is electrically connected to the controller 8, thereby providing electrical connection between the host device 4 and the controller 8, allowing the exchange of data between the host device 4 and the controller 8. In some examples, the electrical connection of interface 14 may also allow storage device 6 to receive power from host device 4. For example, as illustrated in FIG. 1, the power supply 11 may receive power from the host device 4 via the interface 14.The storage device 6 includes the controller 8, which may manage one or more operations of the storage device 6. For example, the controller 8 may manage reading of data from and / or writing of data to storage devices 16.Storage device 6 may include NVMA 10, which may include multiple storage devices 16Aa- 16Nn (collectively "storage devices 16"). Each of the storage devices 16 may be configured to store and / or retrieve data. For example, a storage device of the storage devices 16 may receive data and a message from the controller 8 instructing the storage device to store the data. Similarly, the storage device of the storage devices 16 may receive a message from the controller 8 instructing the storage device to retrieve data. In some examples, each of the memory devices 16 may be referred to as die. In some examples, a single physical chip may include multiple dies (i.e., multiple memory devices 16). In some examples, each of the storage devices 16 may be configured to store relatively large amounts of data (e.g., 128 MB, 256 MB, 512 MB, 1 GB, 2 GB, 4 GB, 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB, 512 GB, 1 TB, etc.).In some examples, the storage devices 16 may include any type of non-volatile storage devices. Some examples of memory devices 16 include, but are not limited to, flash memory devices, phase change memory (PCM) devices, resistive random access memory (ReRAM) devices, magnetoresistive random access memory (MRAM) devices, ferroelectric random access memory (F-RAM), holographic memory devices, and any other type of nonvolatile memory devices.Flash memory devices may include NAND or NOR-based flash memory devices and may store data based on a charge contained in a floating gate of a transistor for each flash memory cell. In NAND flash memory devices, the flash memory device may be divided into a plurality of blocks, each of which may be divided into a plurality of pages.FIG. 2 is a conceptual block diagram of an example memory device 16Aa that includes multiple blocks 17A- 17N (collectively "blocks 17") that are each divided into multiple pages 19Aa- 19Nm (collectively "pages 19"). Each page of pages 19 in a particular memory device (e.g., memory device 16Aa) may include multiple flash memory cells. In NAND flash memory devices, rows of flash memory cells may be electrically connected using a wordline to define a side of the plurality of sides 19. Respective cells in each of the sides 19 may be electrically connected to respective bitlines. The controller 8 may write data to and read data from NAND flash memory devices at the page level and erase data from NAND flash memory devices at the block level.In some examples, it may not be practicable for controller 8 to be separately connected to each storage device of storage devices 16. Accordingly, the connections between storage devices 16 and controller 8 may be multiplexed. For example, storage devices 16 may be grouped into channels 18A- 18N (collectively "channels 18"). For example, as shown in FIG. 1, memory devices 16Nb- 16Anmay be grouped into a first channel 18A and memory devices 16Na- 16Nnmay be grouped into an Nthchannel 18N. The storage devices 16 grouped into each of the channels 18 may share one or more connections to the controller 8. For example, the memory devices 16 grouped into the first channel 18A may be connected to a common I / O bus and a common control bus. The storage device 6 may include a common I / O bus and a common control bus for each respective channel of channels 18. In some examples, each channel of channels 18 may include a set of chip enable, CE, lines that may be used to multiplex memory devices on each channel. For example, each CE line may be connected to a respective one of the storage devices 16. In this way, the number of separate connections between the controller 8 and the storage devices 16 may be reduced. In addition, since each channel has an independent set of connections to the controller 8, the reduction of connections may not significantly affect the data throughput rate because the controller 8 may issue different commands to each channel simultaneously.In some examples, storage device 6 may include a number of storage devices 16 selected to provide a total capacity greater than the capacity accessible by host device 4. This is referred to as overprovision. For example, if storage device 6 is supposed to include 240 GB of user-accessible storage capacity, storage device 6 may include enough storage devices 16 to result in a total storage capacity of 256 GB. The 16 GBs of the storage devices 16 may be inaccessible to the host device 4 or a user of the host device 4. Instead, the over-provisioned portion of the storage devices 16 may provide additional blocks to provide writes, garbage collection, wear leveling, and the like. Further, the overprovisioned storage devices 16 may provide additional blocks that may be used when some blocks wear down to the extent that they become unusable and are taken out of use. The presence of the additional blocks may allow the worn blocks to be removed without causing a change in the storage capacity available for the host device 4. In some examples, the amount of overprovision may be defined as p=(T-D) / D, where p is the overprovision ratio, T is the total storage capacity of storage device 2, and D is the storage capacity of storage device 2 accessible to host device 4.The storage device 6 may include the power supply 11 that may supply power to one or more components of the storage device 6. When operating in a default mode, power supply 11 may supply power to the one or more components using power provided by an external device, such as host device 4. For example, the power supply 11 may supply power to the one or more components using power obtained from the host device 4 via the interface 14. In some examples, power supply 11 may include one or more power storage components configured to power the one or more components when operating in a power down mode, such as when power is no longer received from the external device. In this way, the power supply 11 can function as an onboard backup power source. Some examples of the one or more current storage components include, but are not limited to, capacitors, supercapacitors, batteries, and the like. In some examples, the amount of power that may be stored by the one or more power storage components may be a function of the cost and / or size (e.g., area and / or volume) of the one or more power storage components. In other words, cost and / or size of the one or more current storage components also increases as the amount of current stored by the one or more current storage components increases.The storage device 6 may include the volatile memory 12 with which the controller 8 may store information. In some examples, controller 8 may use volatile memory 12 as a cache. For example, the controller 8 may store cache-stored information 13 in the volatile memory 12 until the cache-stored information 13 is written to the storage devices 16. As illustrated in FIG. 1, the volatile memory 12 may consume power received from the power supply 11. Examples of the volatile memory 12 include, but are not limited to, RAM (random access memory), DRAM (dynamic random access memory), SRAM (static RAM), and SDRAM (synchronous dynamic RAM) (e.g., DDR1, DDR2, DDR3, DDR3L, LPDDR3, DDR4, and the like).Although described herein mainly with respect to an SSD, in other examples, the storage device 6 may include an HDD (Hard Disk Drive), such as an SMR HDD (Shingled Magnetic Recording). In some examples, HDDs use L2P or redirection tables similar to those described herein and may take advantage of the logical zone techniques described in the present disclosure.In some examples, the controller 8 may store the volatile memory 12 to store a logical to physical (or virtual to physical) data address translation table, referred to herein as an L2P table. The L2P table may include entries that map a logical data address to a corresponding physical data address. For example, the L2P table may map an LBN (Logical Block Number) to a NAND physical addressing unit or PBN (Physical Block Number). In some examples, rather than including an LBN for each entry, the L2P table may include an index encoding the respective LBN. In some examples, the L2P table may not store the index value (or LBN) in the respective entry. Instead, in such cases, the host device 4 may refer to a data unit using the LBN, and the controller 8 may use PBN to directly write data to or read data from the storage devices 16.The controller 8 may maintain the L2P table in the volatile memory 12 for a variety of reasons. One reason for maintaining the L2P table is, in large part, that controller 8 may erase NAND blocks from memory devices 16 before reprogramming the erased NAND blocks. For performance reasons, the controller 8 may not erase a currently mapped NAND block associated with a particular LBN each time data needs to be stored or programmed, and then program the newly erased NAND. To store the data for the LBN, the controller 8 may instead write the data to a pre-erased (or free) NAND block of memory devices 16. As a result of these dynamic rewrites to pre-erased PBN, the content of the L2P table may change when the host 4 sends write commands.Internally in storage device 6, controller 8 performs garbage collection by moving valid user data for a particular LBN from one PBN to another PBN in storage devices 16. Accordingly, garbage collection with respect to the operation of the storage device 6 may be referred to as a "background" process. Garbage collection performed by the controller 8 may cause the content of the L2P to also change. More specifically, although the controller 8 transfers data from one PBN to another PBN, the host 4 may still associate the transferred data with the same LBN. Any garbage collection operation performed by the controller 8 may thus potentially trigger a need to update in the L2P table. By maintaining the L2P table in volatile memory 12, controller 8 may reduce write overhead of updating the L2P table, facilitate wear leveling by making it less necessary to include data from the L2P table in wear leveling, increase a speed of write updates to the L2P table, and the like. In some examples, controller 8 may periodically write a current copy of the L2P table to NVMA 10.The storage device 6 may experience a power failure under a variety of circumstances. An example is intentional shutdown, such as may occur when a user shuts down a computing device accessing storage device 6. Another example is inadvertent power failure, such as during power loss, loose connections, or other malfunction. Whether power failure is intended or unintended, the controller 8 may need to restore the L2P table content during subsequent power-up to reflect the actual maps of LBN to PBN that were most recently valid prior to power failure. Upon restoration of the L2P table after a full power cycle (power down or power failure followed by power up), the controller 8 may again provide write or read commands sent by the host 4.To restore the contents of the L2P table to reflect currently valid mappings from LBN to PBN, the controller 8 may track a log list at runtime. The log list logs the change history of maps from LBN to PBN in chronological order. The length of the log list may be sufficient to capture all updates to the mapping from LBN to PBN since the last time the L2P table was passed in the NMVA 10.The controller 8 may limit the length of the log list to remain within a maximum or threshold length. The maximum length may reflect a length for which the controller 8 may perform replay or "journal" within the backup time (or "power capacity") provided by the power supply 11 in the event of power failure. For example, controller 8 may limit the maximum log list length such that the current capacity provided by power supply 11 (in units of time) for controller 8 is long enough to write the log list to nonvolatile memory array 10. Upon a subsequent power-up, the controller 8 may update the last L2P table passed in the NVMA 10 using the log list. The process of iterating through the loglist to update the L2P table may be referred to as "replay," "traversal," "traversal," or "journaling" of the loglist. The controller 8 performs the replay of the log list in the same order in which the log list has been recorded (in a serial manner).As user-accessible capacity of the nonvolatile memory 10 increases, the size of the L2P table maintained by the controller 8 also increases. The length of the log list maintained by the controller 8 may in turn potentially also increase. Any increase in log list length affects the time required for controller 8 to replay the log list as it powers up. Thus, increasing the storage capacity provided by the non-volatile memory array 10 may negatively impact (e.g., increase) the startup standby time of the storage device 6.To reduce start-up delays caused by log-list replay, the controller 8 may be configured to operate in accordance with various aspects of the present disclosure. For example, the controller 8 may apply a logical zone scheme to identify different logical zones in the L2P table. The controller 8 can maintain a respective log list individually for each logical zone ("journal") and can in turn perform a replay of a plurality of individual log lists in parallel when starting up. Because each log list corresponds to a single logical zone of the L2P table, the controller 8 may implement the techniques of the present disclosure in parallel for replaying multiple changes from LBN to PBN. By parallelizing the log list replay process, the controller 8 may reduce the replay time during a power-up following an intended or unintentional power failure.According to various aspects of the present disclosure, controller 8 may identify multiple zones in an L2P table without partitioning the L2P table into separate stand-alone sub-tables. The L2P table zone techniques of the present disclosure thus enable the controller 8 to zone an L2P table while maintaining the single table identity of the L2P table. In addition, the controller 8 may associate each zone of the L2P table with its own separate log list. The controller 8 may group entries into a single zone based on the LBN components of the entries. In other words, the controller 8 may form the zones of the L2P table using the logical addresses of the various individual table entries. Accordingly, the zones identified by the controller 8 in an L2P table are also referred to herein as "logical zones", and the various zone identification techniques are referred to herein as "logical zones".Because each identified logical zone is associated with its own single log list, the controller 8 may have multiple smaller log lists available for L2P table update upon powering up the storage device 6. At a time of performing the log list replay, therefore, the controller 8 may have parallel processing capabilities to perform replay of multiple log lists for the same L2P table simultaneously. With the increasing presence of multi-core processors, the controller 8 may effectively employ logical zone formation and multiple log lists of the present disclosure to increase the number of log lists concurrently processed for a single L2P table. For example, the controller 8 may use 8 cores CPUs or 16 cores CPUs to replay multiple log lists simultaneously, with the final common goal of reconstructing a single L2P table. Simultaneity and parallelization of the log list replay process for a single L2P table may speed up the startup standby time for the storage device 6 after a power failure of any type. Thus, the controller 8 may implement the techniques of the present disclosure to efficiently employ the increasingly powerful computer architecture that is commercially available to improve the startup readiness of the storage device 6.FIG. 3 is a conceptual and schematic block diagram of example details of controller 8. In some examples, controller 8 may include an address translation module 22, a write module 24, a logical zone module 26, a read module 28, an entertainment module 30, a journaling module 31, and multiple channel controllers 32A- 32N (collectively "channel controllers 32"). In other examples, controller 8 may include additional modules or hardware units, or may include fewer modules or hardware units. The controller 8 may include a microprocessor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other digital logic circuitry. In some examples, the controller 8 may be a SoC (system on a chip).The controller 8 may interface with the host device 4 via the interface 14 and manage the storage of data in and retrieval of data from storage devices 16. For example, the write module 24 of the controller 8 may manage writes to the memory devices 16. For example, the write module 24 may receive a message from the host device 4 via the interface 14 instructing the storage device 6 to store data associated with a logical data address and the data. The write module 24 may manage the writing of the data to the storage devices 16.For example, the write module 24 may communicate with the address translation module 22, manage translation between logical data addresses used by the host device 4 to manage storage locations of data, and physical data addresses used by the write module 24 to direct writing of data to storage devices 16. The address translation module 22 of the controller 8 may use an L2P table and one or more log lists, thereby associating logical data addresses (or logical block addresses) of data stored by the memory devices 16 with physical data addresses (or physical block addresses) of data stored by the memory devices 16. For example, host device 4 may use the logical data addresses of the data stored by storage devices 16 in instructions or messages for storage device 6, while write module 24 uses physical data addresses of the data to control the writing of data to storage devices 16. (Similarly, the read module 28 may use physical data addresses to control the reading of data from the storage devices 16.) The physical data addresses correspond to actual physical locations of storage devices 16. In some examples, the address translation module 22 may store the L2P table and one or more log lists in volatile memory 12. In some examples, the address translation module 22 may periodically store or pass a current copy of the L2P table in NVMA 10 (FIG. 1 ).In this way, the host device 4 can be allowed to use a static logical data address for a certain amount of data, while the physical data address at which the data is actually stored can change. The address translation module 22 may maintain the L2P table and one or more log lists to map the logical data addresses to physical data addresses to allow use of the static logical data address by the host device 4, while the physical data address of the data may change due to, for example, wear leveling, garbage collection, or the like. In some examples, the L2P translation table may be a single layer table, such that by applying a hash to a logical data address received from the host device 4, the address translation module 22 may directly retrieve a corresponding physical data address.As discussed above, the write module 24 of the controller 8 may perform one or more operations to manage the writing of data to memory devices 16. For example, the write module 24 may manage the writing of data to storage devices 16 by selecting one or more blocks in the storage devices 16 to store the data and causing storage devices of the storage devices 16 that contain the selected blocks to actually store the data. As discussed above, the write module 24 may cause the address translation module 22 to update the L2P table or a log list with the logical block address based on the selected blocks. For example, the write module 24 may receive a message from the host device 4 that includes a unit of data and a logical data address, select a block and page in a particular storage device of the storage devices 16 to store the data, cause the particular storage device of the storage devices 16 to actually store the data (e.g., via a channel controller of the channel controllers 32 corresponding to the particular storage device), and cause the address translation module 22 to update the L2P table or log list containing the logical block address to indicate that the logical data address corresponds to the selected physical data address in the particular storage device of the storage devices 16.In some examples, in addition to causing the data to be stored by storage devices 16, write module 24 may cause storage devices 16 to store information that may be used to restore the unit of data if one or more of the blocks fail or become corrupted. The parity information may be used to restore the data stored by other blocks. In some examples, the parity information may be an XOR of the data stored by the other blocks.To write a bit with a logic value of 0 (loaded) to a bit with a previous logic value of 1 (unloaded), a large current is used. This current may be large enough to cause unintentional changes in the charge of adjacent flash memory cells. To protect against unintentional changes, an entire block of flash memory cells may be erased to a logic value of 1 (uncharged) prior to writing any data into cells in the block. For this reason, block-level flash memory cells may be erased and page-level flash memory cells may be written.Thus, in order to write even an amount of data that would consume less than one page, the controller 8 may cause the erasure of an entire block. This may result in write amplification, which refers to the relationship between the amount of data received from the host device 4 to be written to the storage devices 16 and the amount of data actually written to the storage devices 16. Write amplification contributes to a faster wear of the flash memory cells than would occur without write amplification. Wear on flash memory cells may occur when flash memory cells are erased due to the relatively high voltages used to erase the flash memory cells. Over multiple erase cycles, the relatively high voltages may result in changes in the flash memory cells. Finally, the flash memory cells may wear down, so that data can no longer be written to the cells. Write gain may be exacerbated by using larger blocks and / or pages.One technique that the controller 8 can implement to reduce write gain and wear of flash memory cells includes writing data received from the host device 4 into unused blocks or partially used blocks. For example, when the host device 4 sends data including only a small change with respect to data already stored by the storage device 6 to the storage device 6. The controller may then mark the old data as being out of order or no longer valid. Over time, this may reduce a number of erase operations experienced by blocks compared to erasing the block that holds the old data and writing the updated data to the same block.In response to receiving a write command from the host device 4, the write module 24 may determine at which physical locations (e.g., blocks) of the storage devices 16 to write the data. For example, the write module 24 may request from the address translation module 22 one or more physical block addresses that are empty (e.g., do not store data), partially empty (e.g., only some pages of the block store data), or at least some invalid (or stalled) data. Upon receipt of the one or more physical block addresses, the write module 24 may select one or more blocks as discussed above and transmit a message that causes the channel controllers 32A- 32N (collectively "channel controllers 32") to write the data to the selected blocks.The read module 28 may similarly control reading of data from memory devices 16. For example, the read module 28 may receive a message from the host device 4 requesting data with an associated logical data address. The address translation module 22 may convert the logical data address to a physical data address using the L2P table or the log list containing the logical data address. The read module 28 may then control one or more of the channel controllers 32 to retrieve the data from the physical data addresses. Similar to the write module 24, the read module 28 may select one or more blocks and transmit a message that causes the channel controllers 32 to read the data from the selected blocks.Each channel controller of the channel controllers 32 may be connected to a respective one of the channels 18. In some examples, controller 8 may include the same number of channel controllers 32 as the number of channels 18 of storage device 2. The channel controllers 32 may perform the intimate control of addressing, programming, erasing, and reading memory devices 16 associated with respective channels, e.g., under the control of one or more of the write module 24, the read module 28, the maintenance module 30, or the journaling module 31.The maintenance module 30 may be configured to perform operations related to maintaining the performance and extending the useful life of the storage device 6 (e.g., the storage devices 16). For example, the service module 30 may implement wear leveling and / or garbage collection.As described above, erasing flash memory cells may use relatively high voltages that may cause changes to the flash memory cells over multiple erase operations. After a certain number of erase operations, flash memory cells degrade to the extent that data can no longer be written to the flash memory cells, and a block containing these cells can be backed up (no longer used by the controller 8 to store data). To increase the amount of data that can be written to the storage devices 16 before blocks are worn and are retracted, the maintenance module 30 can implement wear leveling.In wear leveling, the maintenance module 30 may track a number of erases or writes to a block or group of blocks for each block or group of blocks. The maintenance module 30 may cause incoming data from the host device 4 to be written to a block or group of blocks that has undergone relatively fewer writes or erases to attempt to keep the number of writes or erases approximately equal for each block or group of blocks. This may cause I to wear each block of storage devices 16 at approximately the same rate and may increase the useful lifetime of the storage device 6.Although this may reduce write gain and wear of flash memory cells by reducing a number of erases and writing data to different blocks, this may also result in blocks including some valid (fresh) data and some invalid (spaced) data. To combat this, the maintenance module 30 may implement garbage collection. In a garbage collection operation, the maintenance module 30 may analyze the contents of the blocks of storage devices 16 to determine a block that contains a high percentage of invalid (objectionable) data. The maintenance module 30 may then rewrite the valid data from the block to another block and then delete the block. This may reduce an amount of invalid (spaced) data stored by storage devices 16 and increase a number of free blocks, but may also increase write gain and wear of the storage devices 16.To maintain accurate information, journaling module 31 may be invoked to replay the log list for the L2P table. More specifically, a log list replay is needed to construct a current version of the L2P table. Journaling module 31 may perform loglist replay to construct the current version of the L2P table based on the last passed version of the L2P table and the latest version of the corresponding loglist.According to one or more techniques of the present disclosure, the logical zone module 26 of the controller 8 may identify multiple logical zones in an L2P table. Journaling module 31 of controller 8 may journal each logical zone using a separate log list. The controller 8 (and / or various components thereof) may in turn perform a replay of two or more of the log lists in parallel when powering up, thereby using parallel processing technology to improve L2P table reconstruction time. In this way, the logical zone module 26 and journaling module 31 of the controller 8 may implement aspects of the present disclosure to process potentially long L2P tables in more manageable portions, thereby parallelizing the log list replay operations when powering up the storage device 6.Although journaling module 31 may effectively employ multi-core processing or other parallel processing capabilities for log list replay in accordance with the present disclosure, journaling module 31 may use any available processing resources to form the log list. For example, journaling module 31 may still use single-core processing for log-list formation, while multi-core processing is relied on for log-list replay to provide one or more advantages of the techniques described herein. Although described herein with reference to processors for ease of discussion, it should be appreciated that journaling module 31 may also rely on processing capabilities (e.g., parallel processing) of other devices and components, such as the functionalities provided by a hardware support engine to perform the parallelized log list replay techniques of the present disclosure.Typically, an L2P table (not zoned according to the techniques of the present disclosure) is expressed as a linear array of entries. The entries of such an L2P are ordered based on an ascending order of the LBN component of the entries. As discussed above, each entry of the L2P table also includes a PBN mapped to the LBN of the same entry. FIG. 4 is a conceptual diagram of an example L2P table 40. As shown in FIG. 4, the L2P table 40 is a linear array of entries 42 a- 42 n(collectively "entries 42"). The first entry of the L2P table 40 is entry 42a represented by the top position of the L2P table 40. entry 42a indicates the PBN mapping for the first LBN, namely the LBN indexed as "LBN_0.". The second entry of the L2P table 40 is entry 42 brepresented by the second uppermost position of the L2P table 40, and indicates the PBN mapping for the second LBN, namely, the LBN indexed as "LBN_ 1.". In this manner, for a mapping from PBN to LBN, the L2P table 40 includes a single entry, sequentially arranged from the first LBN (LBN_0) to the maximum LBN ("LBN_max") at the entry 42n.Due to the nature of writing data to an SSD, routine maintenance operations such as garbage collection, and other reasons, the PBN corresponding to a particular LBN may change during runtime. FIG. 5 is a conceptual diagram of a time line 46 in accordance with which various aspects of the present disclosure are described. The dynamic nature of the mapping from LBN to PBN is discussed herein with reference to time line 46. It should be appreciated that FIG. 5, although not necessarily drawn to scale, represents the elapse of time in fixed increments, such as milliseconds (ms), microseconds (μs), nanoseconds (ns), or any other unit of time. The time between T x-1 and T x may or may not be the same as the time between T x and T x+1.At a time represented on time line 46 with time stamp "T x-1", LBN_ 0 may be associated with PBN_ 0, as a non-limiting example. The 3-tuple representing a static LBN_ 0, its corresponding PBN_ 0, and the time stamp (T x-1) of the time of correspondence is expressed here as "Pbn_ForLbn0_AtT x-1". However, as shown in FIG. 4, each of the entries 42 in the L2P table 40 includes only a 2-tuple that maps a current PBN to the static LBN. Accordingly, the L2P table 40 may include potentially valid entries for only a single timestamp (e.g., T x-1) on the timeline 46, depending on whether any of the entries 42 require update in response to garbage collection or other operations that could change a mapping from LBN to PBN.Between time T x-1 and a subsequent time (represented on time line 46 by time stamp "T x"), host 4 may send a write command associated with LBN_0, or maintenance module 30 may perform garbage collection (internally in storage device 6) by moving data associated with LBN_0. As a result, LBN_ 0 may be mapped to different PBN values at times T x-1 and T x. Expressed using the 3-tuple notation introduced above, the PBN values for Pbn_ForLb0_AtTx-1and Pbn_ForLbn0_AtTx are different. Thus, journaling module 31 may update L2P table 40 by changing the PBN value for LBN_ 0 to a new value. Although the update is not necessarily effected at time T x journaling module 31 may log the change in a log list and effect the change at the time of log list replay (e.g., when powering up storage device 6).As described above, journaling module 31 maintains a log list in (or in progress of) runtime. The log list reflects changes in the maps from LBN to PBN in chronological order. Each entry of the log list may follow the 2-tuple notation discussed above to thereby map a static LBN to a dynamic PBN and indicate the novelty of each update based on the position of each entry in a sequential order from top to bottom. FIG. 6 shows an example log list 50 that journaling module 31 may maintain to log changes to be implemented with respect to L2P table 40. To a first entry 52 aof the log list 50, the journaling module 31 has attached a tuple of LBN_ 0, Pbn_ForLbn0_AtTx. To a second entry 52b of the log list 50, the journaling module 31 has appended the tuple of LBN_87, Pbn_ForLbn87_AtTx+1. To a third entry 52 cof the log list 50, the journaling module 31 has appended the tuple of LBN_ 1001, Pbn_ForLbn1001_AtTx+2. To a fourth entry 52d of the log list 50, the journaling module 31 has appended the tuple of LBN_0, Pbn_ForLbn0_AtTx+3. Journaling module 31 may append entries 52 in a manner that allows journaling module 31 to later replay entries 52 in the wait method, the stack method, or the ad hoc method in the replay. In a queuing scenario, journaling module 31 may perform replaying of entries 52 in a first-in-first-out (FIFO) order, such as by starting at entry 52 aand sequentially running down through log list 50. In a batch scenario, journaling module 31 may perform replaying of entries 52 in a last-in-first-out (LIFO) order, such as by starting at entry 52 nand sequentially running up through log list 50. In an ad hoc scenario, journaling module 31 may perform replaying of entries 52 in random order to update L2P table 40.As shown, entries 52 of the log list 50 are appended in chronological order. It should be understood that successive time stamps T x, T x+1, T x+2 and T x+3 are not necessarily separated from their neighbors by fixed time increments. Instead, the set of timestamps reflected in the log list 50 are chronological progress moments at which the journaling module 31 identifies a change to be implemented with respect to the L2P table 40. For example, T x+1 may follow T x by 2 nanoseconds, while T x+2 may follow T x+1 by 5 nanoseconds. The order of the log list 50 is thus chronological in that the journaling module 31 appends a new entry based on the time that the journaling module 31 detects a change to an existing mapping from LBN to PBN. Each of the time stamps T x to T x+3 may represent a moment of an LBN-PBN mapping change due to the new host write operation or due to internal garbage collection data movement. It should be appreciated that the time interval between timestamps of any two adjacent entries 52 is not necessarily fixed.FIG. 6 illustrates a scenario where the log list 50 includes multiple entries with respect to a single LBN. More specifically, the log list 50 includes two instances of LBN-PBN mapping changes for LBN_ 0. In the context of log list formation, it is possible to have multiple entries for a single LBN. In the specific example of log list 50, entries 52 aand 52 drepresent both LBN-PBN mapping changes for LBN_ 0. Entry 52a represents a PBN mapping change that was detected and / or logged at time stamp T x for LBN_0. Entry 52d represents a PBN mapping change detected and / or logged at time stamp T x+3. The logging time difference is represented by the position of each of the entries 52 in the top-to-bottom order as shown in Fig. 6. The time stamps shown in FIG. 6 are not necessarily stored in entries 52, but are instead included in FIG. 6 for illustration purposes only. The PBN mapped to LBN_0 in entry 52d thus represents an update to the mapping change in entry 52a. Accordingly, entry 52d will discard or miss entry 52a. If none of the entries following entry 52d in table 50 (i.e., from the entry immediately following entry 52d to entry 52n) are related to LBN_0, entry 52d represents the current PBN map for LBN_0. In this case, upon powering up the storage device 6, the controller 8 (or components thereof, such as the address translation module 22) may update the L2P table 40 to reflect the mapping from LBN to PBN represented by entry 52 dof the log list 50.An exemplary use case scenario will be described below with reference to the log list 50. In the manufacture and factory production of the storage device 6, the controller 8 may receive new write commands from the host 4. As shown in the log list 50, the host 4 may send write commands corresponding to various logical addresses including LBN_0, LBN_87, and LBN_1001. In the example of log list 50, host 4 sends multiple write commands corresponding to LBN_ 0. After journaling module appends entry 52 dto log list 50, storage device 6 may lose power either by an intended shutdown or by an unexpected power loss. The power supply capacity provided by the power supply 11 (expressed in terms of time units) provides a power supply burst of relatively short duration. The duration of the power supply capacity provided by the power supply 11 is long enough for the journaling module 31 to store the log list 50 in the non-volatile memory array 10 (e.g., either NAND or EEPROM). Upon subsequent restoration of power (e.g., "power-on" or "power-up") to the storage device 6, the address translation module 22 iterates (or "runs" or "steps") through the log list 50 to update the L2P table 40.The above-described process of iterating by the log list 50 to update the L2P table 40 is referred to herein as a process of "log list replay". It should be appreciated that the use case scenario described above represents a relatively simple example for ease of illustration. In practice, log lists may be relatively long. In the case of relatively long log lists, a log list replay can consume significant time when it is switched on. More specifically, a chronological careful entry-wise replay of the entire log list may impede the startup time on the order of 100ths of a second, and may also create a bottleneck in the distribution of clock cycles and processing resources on startup.One possible approach to mitigation of these problems arising from log-list replay is to split (or "partition") the entire SSD into sub-SSDs. For example, partitioning a 4-TB SSD could result in four virtual 1-TB SSDs. Each sub-SSD serves one-fourth of the LBN range that the SSD can serve. For example, if the total user capacity of the SSD is represented by the upper limit LBN index "U", the first sub SSD may supply LBN ranging from index values of 0 to ((U-1) / 4), the second sub SSD may supply LBN ranging from (U / 4) to ((U-1) / 2), the third sub SSD may supply LBN ranging from (U / 2) to (3*(U-1) / 4), and the fourth sub SSD may supply LBN ranging from (3*U / 4) to (U-1). According to such SSD partitioning techniques, the NAND blocks in the SSD are also divided into four sub-SSDs. Thus, if the write commands sent by the host tend or are offset toward a particular LBN sub-region, the partitioning techniques may be subject to various offset-based deficiencies or inconveniences. As examples of potential drawbacks, the SSD may not perform garbage collection or wear leveling on a global basis throughout the SSD. More specifically, each post-partition sub-SSD is recognized as a discrete entity, and the SSD would need to perform garbage collection and wear leveling on an entity-by-entity basis in the closed universum of each sub-SSD. Accordingly, garbage collection and wear leveling may be limited in that, for any SSD partitioning based solution, fresh resources from another sub-SSD are not available for compliance in a current sub-SSD.To mitigate delays caused by log-list replay while maintaining the benefits associated with SSD-further global garbage collection and wear leveling, the controller 8 and various components thereof may implement one or more techniques of the present disclosure. For example, the logical zone module 26 may identify multiple (e.g., two or more) logical zones in the L2P table 40. More specifically, the logical zone module 26 may maintain the single table status of the L2P table 40 even after identifying the zones.FIG. 7 shows a logically zoomed L2P table 60. For example, each logical zone module 26 may identify multiple logical zones in an L2P (e.g., the L2P table 40 of FIG. 4 ) to form the logically zoned L2P table 60. The logically zoomed L2P table 60 includes twelve entries, referred to as entries 62a-62l. In this particular example, the logical zone module 26 may identify multiple logical zones, each logical zone including four entries. As shown, the logically zoomed L2P table 60 includes three logical zones, referred to as logical zones 64a-64c. The entries 62a-64d belong to the logical zone 64a and are visually distinguished using solid boundaries. The entries 62e-62h belong to the logical zone 64b and are visually distinguished using dashed boundaries. The entries 62i-62l belong to the logical zone 64l and are visually distinguished using dotted boundaries. FIG. 7 also includes a space between each two successive logical zones 64 to illustrate the logical boundary identified by the logical zone module 26. It should be appreciated that although FIG. 7 uses spaces to illustrate logical boundaries between logical zones 64, the logically zoomed L2P table 60 still represents a contiguous monolithic table according to the techniques of the present disclosure.The L2P logical zone module 60 represents an implementation in which the logical zone module 26 identifies zones in a "serial" manner. More specifically, by selecting contiguous blocks or rows of entries 62, the logical zone module 26 may identify a single zone in the logically zoned L2P table 60. According to the serial implementation of the logical zone techniques of the present disclosure, each row of entries 62 may correspond to a contiguous row of LBNs. For example, the first zone, namely logical zone 64a, represents a contiguous block or series of entries 62a-62d. According to a serial implementation of the L2P table zone, the logical zone module 26 may divide the total number of entries in an L2P table by a desired number of zones to obtain a number of entries per zone. In the example of the logically zoomed L2P table 60, the logical zone module 26 has come to a determination of four entries per zone.In a simplified example where a total logically zoomed L2P table 60 includes a total of twelve entries, the logical zone module 26 may determine that the logically zoomed L2P table 60 is to be divided into a total of three zones. By dividing the total number of entries (twelve) by the desired number of zones (three), the logical zone module 26 may determine that each identified zone will comprise four entries. Based on the logical zone scheme for the L2P logical table 60 being the serial zone scheme, the logical zone module 26 may identify each of the logical zones 64 by beginning with the first entry (62a) and identifying contiguous blocks of four entries. In this manner, the logical zone module 26 may identify each logical zone 64 in the logically zoned L2P table 60. Additionally, journaling module 31 may implement the techniques of the present disclosure to form and maintain a separate log list for each of the logical zones 64 identified by logical zone module 26. The controller 8 is in turn intended to rely on parallel processing capabilities for the parallel replay of two or more of the log lists. In this way, the zone logic module 26 and journaling module 31 may allow the controller 8 to replay log lists simultaneously for different portions of the logically zoomed L2P 60, thereby improving the startup time of the storage device 6 and distributing processing tasks more efficiently among multiple cores.By using the serial zone scheme of the present disclosure to identify logical zones 64 in the zoned L2P table 60, the logical zone module 26 may provide one or more potential advantages. For example, the logical zone module 26 may reduce the complexity of parallel log list formation. In cases where the system is better performing localized access for log lists, serial implementation causes journaling module 31 to access a log list (e.g., a sublist for a single zone) more frequently. Serial implementation of the logical zone may thus provide a beneficial result in scenarios where the system is better suited for localized access. Moreover, when the host 4 performs write operations in a localized manner, a certain region of the nonvolatile memory array 10 may be updated more frequently than other regions. In this scenario, serial implementation is a relatively efficient solution due to reduced write gain, thereby potentially mitigating hardware downtime issues. For example, the non-volatile memory array 10 may be capable of keeping longer under permanent use according to the serial zone scheme.FIG. 8 shows another example of the zoned L2P table 60. in the example of FIG. 8, the logical zone module 26 may identify zones 64 according to an interleaved zone scheme. In contrast to the serial zone scheme illustrated with reference to FIG. 7, the logical zone module 26 may implement the interleaved zone scheme to evenly distribute the identified zones across the source L2P table. Similar to FIG. 7, FIG. 8 includes gaps between different zones for illustrative purposes only, and it should be appreciated that the zoomed L2P table 60 of FIG. 8 also represents a single contiguous monolithic table.The logical zones 64 are not explicitly pointed out in FIG. 8 for illustrative purposes only. However, the logical zones 64 are visually distinguished using the same boundary scheme used in Fig. 7. More specifically, any of the entries 62 represented by a solid boundary belong to the logical zone 64a, any of the entries 62 represented by a dashed boundary belong to the logical zone 64b, and any of the entries 62 represented by a dotted boundary belong to the logical zone 64c. As shown, a first entry (62a) of the zoned L2P table 62 belongs to the logical zone 64a, the second entry (62b) belongs to the logical zone 64b, and the third entry (62c) belongs to the logical zone 64c. Beginning at the fourth entry 62d (belonging to the logical zone 62a, the same logical zone as the first entry 62a), the logical zone assignment repeats. Thus, according to the nested zone implementation, the logical zone module 26 may identify logical zones 64 such that no two consecutive entries of the entries 62 are included in the same logical zone. According to the nested implementation of the techniques of the present disclosure, each logical zone may correspond to a group of LBNs that are equally spaced apart from each other.From the logical indexing viewpoint, the logical zone module 26 may assign entries 62 to the logical zones 64 by performing a modulo operation (or "mod" operation) using the LBN index and the total number of zones as the two operands. In turn, the logical zone module 26 may determine that all entries 62 producing a particular result (residue) from the mod operation belong to a single logical zone of the logical zones 64.Continuing with the trizone example discussed with reference to FIG. 7, the logical zone module 26 may perform a respective modulo operation using the LBN index of each of the entries 62 and a value of three. Accordingly, the logical zone module 26 may perform operation 0%3 for entry 62 a, operation 1%3 for entry 62 b, operation 2%3 for entry 62 c, operation 3%3 for entry 62 d, and so forth. Thus, the logical zone module 26 may obtain values of zero (0) for the entries 62 a, 62 d, and 62 g. The logical zone module 26 may obtain resulting values of one (1) for the entries 62 b, 62 e, and 62 h. The logical zone module 26 may obtain resulting values of two (2) for the entries 62c, 62f, and 62i. Based on the results of the mod operations, the logical zone module 26 may identify the logical zone 64 aas including entries 62 a, 62 d, and 62 g. Similarly, the logical zone module 26 may identify the logical zone 64 bas including entries 62 b, 62 e, and 62 h, and may identify the logical zone 64 cas including entries 62 c, 62 f, and 62 i. Journaling module 31 may in turn form and maintain a separate log list for each of logical zones 64 in the same manner described above with respect to the serial implementation.By implementing the nested implementation of the logical zone according to the techniques described herein, the logical zone module 31 (and thereby journaling module 31) may provide one or more potential advantages. For example, the nested implementation may allow the controller 8 to use a hot-warm-cold or hot-warm-cool cold access pattern when accessing the non-volatile memory array 10. As used herein, the terms "hot," "warm," "cool," and "cold" refer to the number of times data stored in a particular portion of the nonvolatile memory array 10 is accessed. The controller 8 may operatively employ the interleaved zone techniques described herein to more evenly distribute access to portions of the nonvolatile memory array 10. In other words, the controller 8 may access and use the various storage devices 16 ain a less localized or local-intensive manner.In some cases, the logical zone module 26 may be configured to execute the serial logical zone scheme in all scenarios. In other examples, the logical zone module 26 may be configured to execute the nested logical zone scheme in all scenarios. In still further examples, the logical zone module 26 may use both the serial and interleaved logical zone schemes, such as by selecting from the two schemes on a case by case basis. In this way, the logical zone module 26 may implement the L2P table zone techniques of the present disclosure in a variety of ways to improve the startup performance of the storage device 6 and provide various advantages to the operation of the storage device 6.Although both FIGS. 7 and 8 are illustrated and described with reference to three-zone schemes for ease of illustration and discussion, it should be appreciated that in practice the number of logical zones may be any number selected as an appropriate configuration. The logical zone and parallelized journaling techniques of the present disclosure are scalable in that the techniques can be scaled up or down as the capacity of the nonvolatile memory array 10 increases. As used herein, "scaling up" refers to adding more storage capacity to the nonvolatile memory array 10 without adding controller infrastructure to the controller 8. As used herein, "scaling" refers to adding more storage capacity to the nonvolatile memory array 10, along with adding more controller infrastructure to the controller 8. Accordingly, the scalability of the logical zone and parallelized journaling techniques of the present disclosure represents improvements that can be applied to widely different storage capacities.FIGS. 9A and 9B show examples of zone specific log lists 70 aand 70 b, which journaling module 31 can maintain, in accordance with various aspects of the present disclosure. The zone-specific log lists 70 aand 70 bcorrespond to the logical zone scheme illustrated in FIG. 7. More specifically, journaling module 31 may form and maintain zone specific log lists 70 aand 70 bin a case where logical zone module 26 uses a serial logical zone scheme to identify zones in an L2P table. The specific examples of the zone-specific log lists 70 aand 70 brespectively correspond to the zones 64 aand 64 billustrated with reference to the zoned L2P table 60 illustrated in FIG. 7. The zone identifiers for the logical zones 64 aand 64 bare illustrated in FIGS. 9A and 9B with dashed lines to indicate that the logical zones 64 aand 64 bbelong to an L2P table (namely, the logically zoomed L2P table 60) and accordingly do not represent any zone or identification in either of the zone-specific log lists 70 aor 70 b.As shown in FIG. 9A, zone-specific log list 70 aincludes entries 72 a- 72 ccorresponding only to LBNs that fall within the logical indices included in logical zone 64 a. More specifically, all entries 72a-72c of zone specific log list 70a are related to one of LBN_0, LBN_1, LBN_2, or LBN_3. In the specific example of FIG. 9A, zone specific log list 70 a, two mapping updates for LBN_ 0 and one mapping update for LBN_ 2 are entered. As shown, entries 72a-72c are appended in chronological order, starting from time stamp T x and until time stamp T x+3. If and when journaling module 31 detects subsequent mapping changes in logical zone 64 a, journaling module 31 may append additional entries to zone specific log list 70 a. The specific example of zone specific log list 70 aincludes no entries for LBN_ 1 or for LBN_ 3, both of which are included in logical zone 64 a. However, journaling module 31 may append entries relating to these LBN indices if and when journaling module 31 detects PBN mapping changes for these LBN indices.As shown in FIG. 9B, zone specific log list 70 bincludes entries 72 d- 72 fthat relate to all LBN indices in logical zone 64 b. More specifically, all entries 72d-72f of zone specific log list 70b are related to one of LBN_4, LBN_5, LBN_6 or LBN_7. The controller 8 may implement the techniques of the present disclosure for parallel replay of the zone specific log lists 72. For example, controller 8 may leverage multi-core processing capabilities available via host 4 to simultaneously replay portions of zone-specific log lists 72 to reconstruct the zoned L2P table 60. Compared to existing log list replay technology, the techniques of the present disclosure enable the controller 8 to simultaneously implement two or more updates to the zone L2P table 60. By parallelizing the replay of the zone-specific log lists 72, the controller 8 may implement the techniques of the present disclosure to speed up the process of table reconstruction each time the storage device 6 powers up. In addition, the controller 8 may more evenly distribute data processing resource consumption across multiple processing cores, thereby mitigating physical and logical load on any given core at any given time.FIG. 10 is a flow diagram of an example process 80 that an apparatus may perform to implement one or more aspects of the present disclosure. Although various devices may perform the process 80 and steps relevant thereto, the process 80 is described herein as being performed by the controller 8 and one or more of its components, as a non-limiting example. Various steps are described as being performed on the nonvolatile memory array 10. Process 80 may begin when controller 8 forms an L2P table that includes multiple mappings (82) from LBN to PBN. For example, the address translation module 22 may form the L2P table such that the table includes two or more mappings, each mapping associated with a respective logical address and a respective physical address. In turn, the logical zone module 26 may identify multiple zones within the L2P table (84). In a simplified example, the logical zone module 26 may identify a first zone in the table and a second zone in the table, wherein the first zone and the second zone each include one or more mappings of the table, and wherein the first zone and the second zone do not share any mapping of the two or more mappings of the table. The first logical zone and the second logical zone may be included in a plurality of logical zones identified by the logical zone module 26. In various implementations, the logical zone module 26 may identify the plurality of logical zones using the serial zone scheme, the interleaved zone scheme, or any combination thereof. The mappings included in the first logical zone may be mutually exclusive with respect to the mappings included in the second logical zone. Thus, the first and second logical zones do not share any mapping of the various mappings included in the L2P table. In other words, two logical zones never overlap.In addition, journaling module 31 may form a separate log list for each identified zone of L2P table (86). For example, journaling module 31 may form a first log list associated with the first zone, the first log list indicating one or more mapping updates associated with the one or more mappings included in the first zone. In this example, journaling module 31 may form a second log list associated with the second zone, the second log list indicating one or more mapping updates associated with the one or more mappings included in the second zone. According to aspects of the present disclosure, when powering up the storage device 6 ( 88), the journaling module 31 may perform replay of parts of the plurality of log lists in parallel. For example, journaling module 31 may simultaneously replay a portion of the first log list and a portion of the second log list to update the table. For example, journaling module 31 may rely on multiple processors or multiple cores of a single processor to parallelize the replay of zone specific log lists 70 aand 70 b simultaneously. It should be appreciated that journaling module 31 may parallelize the completeness of some log lists or portions of some log lists, or may perform any combination thereof. In other words, according to aspects of the present disclosure, journaling module 31 may or may not perform a replay of multiple log lists at any given time, and journaling module 31 may perform a replay of different numbers of log lists at any given time.Although the above examples have been described with reference to a controller of a storage device, in other scenarios, the examples described herein may be implemented by another processor, such as a general purpose processor, and the logical to physical data address translation table may be, for example, a translation lookaside buffer.The techniques described in the present disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the described techniques may be implemented in one or more processors, including one or more microprocessors, DSP (digital signal processors), ASIC (application specific integrated circuits), FPGA (field programmable gate arrays), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components. The term "processor" or "processing circuitry" may generally refer to any of the above logic circuitry alone or in combination with other logic circuitry or any other equivalent circuitry. A controller comprising hardware may also perform one or more of the techniques of the present disclosure.Such hardware, software, and firmware may be implemented in the same device or in separate devices to support the various techniques described in the present disclosure. In addition, any of the described units, modules, or components may be implemented together or separately as discrete, but interoperable logic devices. The mapping of various features as modules or units is intended to emphasize various functional aspects and does not necessarily imply that such modules or units must be implemented as separate hardware, firmware, or software components. Rather, functionality associated with one or more modules or units may be executed by separate hardware, firmware, or software components or integrated into common or separate hardware, firmware, or software components.The techniques described in the present disclosure may also be realized or encoded in an article of manufacture including a computer readable storage medium encoded with instructions. Instructions embedded or encoded in an article of manufacture comprising computer readable storage medium encoded may cause one or more programmable processors or other processors to implement one or more of the techniques described herein, such as when instructions included or encoded in the computer readable storage medium are executed by the one or more processors. Computer readable storage media include, for example, RAM (random access memory), ROM (read only memory), PROM (programmable read only memory), EPROM (erasable programmable read only memory), EEPROM (electronically erasable programmable read only memory), flash memory, a hard disk, a CD-ROM (compact disc ROM), a floppy disk, a cartridge, magnetic media, optical media, or other computer readable media. In some examples, an article of manufacture may include one or more computer readable storage media.In some examples, a computer readable storage medium may comprise a non-transitory medium. The term "non-transitory" may indicate that the storage medium is not realized in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that may change over time (e.g., in RAM or cache).Various examples have been described. These and other examples are within the scope of the following claims.
Claims
A method comprising: forming (82), by a processor, a table (40, 60) comprising two or more mappings, each mapping being associated with a respective logical address and a respective physical address of a data storage device (6); identifying (84), by the processor, a plurality of logical zones (64a, 64b, 64c) comprising a first logical zone (64a) in the table (60) and a second logical zone (64b) in the table (60), wherein the first logical zone (64a) and the second logical zone (64b) each comprise one or more mappings of the table (60), and wherein the one or more mappings of the first logical zone (64a) are mutually exclusive with respect to the one or more mappings of the second logical zone (64b); forming (86), by the processor, a first log list (70a) associated with the first logical zone (64a), the first log list (70a) indicating one or more mapping updates associated with the one or more mappings included in the first logical zone (64a); forming (86), by the processor, a second log list (70b) associated with the second logical zone (64b), the second log list (70b) indicating one or more mapping updates associated with the one or more mappings included in the second logical zone (64b); and simultaneously replaying (88) a portion of the first log list (70a) and a portion of the second log list (70b) by the processor to update the table (60).The method of claim 1, wherein a controller (8) of the data storage device (6) comprises the processor, and wherein replay of the portion of the first log list (70a) and the portion of the second log list (70b) occurs when the controller (8) detects a power-up of the data storage device (6).The method of claim 1, wherein identifying the first logical zone (64a) and the second logical zone (64b) comprises: determining, by the processor, that a first subset of the two or more mappings is associated with a first group of logical addresses; determining, by the processor, that a second subset of the two or more mappings is associated with a second, different group of logical addresses; allocating, by the processor, the first subset to the first logical zone (64a); and allocating, by the processor, the second subset to the second logical zone (64b).The method of claim 3, further comprising: identifying, by the processor, the first group of logical addresses based on the first group of logical addresses representing a successive block of logical addresses.The method of claim 4, further comprising: determining, by the processor, a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60); and determining, by the processor, a total number of logical addresses to be included in the first subset based on a total number of entries in the table (40, 60) and the total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60).The method of claim 3, further comprising: identifying, by the processor, the first group of logical addresses based on a respective index of each logical address in the first group that produces a same residue when divided by a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60).The method of claim 1, wherein simultaneously playing back the portion of the first log list (70a) and the portion of the second log list (70b) comprises: playing back the portion of the first log list (70a) by a first processor core; and playing back the portion of the second log list (70b) by a second processor core.The method of claim 1, further comprising determining, by the processor, a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60) such that the total number of logical zones (64a, 64b, 64c) is based on a total number of processing cores associated with the processor.The method of claim 1, wherein forming the first log list (70a) comprises journaling, by the processor, the one or more mapping updates associated with the one or more mappings included in the first logical zone (64a) in a chronological order.An apparatus comprising: a storage device (16Aa-16N) configured to store a table (40, 60) comprising two or more mappings, each mapping being associated with a respective logical address and a respective physical address of a data storage device (6); and one or more processors configured to: identify (84) a plurality of logical zones (64a, 64b, 64c) comprising a first logical zone (64a) in the table (60) and a second logical zone (64b) in the table (60), wherein the first logical zone (64a) and the second logical zone (64b) each comprise one or more mappings of the table (60), and wherein the one or more mappings of the first logical zone (64a) are mutually exclusive with respect to the one or more mappings of the second logical zone (64b); forming (86) a first log list (70a) associated with the first logical zone (64a), the first log list (70a) indicating one or more mapping updates associated with the one or more mappings included in the first logical zone (64a); forming (86) a second log list (70b) associated with the second logical zone (64b), the second log list (70b) indicating one or more mapping updates associated with the one or more mappings included in the second logical zone (64b); and simultaneously replaying (88) a portion of the first log list (70a) and a portion of the second log list (70b) to update the table (60).The apparatus of claim 10, wherein a controller (8) of the data storage device (6) comprises the one or more processors, wherein the storage device comprises a non-volatile memory array (10) of the data storage device (6), and wherein to replay (88) the portion of the first log list (70a) and the portion of the second log list (70b), the controller (8) is configured to replay the portion of the first log list (70a) and the portion of the second log list (70b) when a power-up of the data storage device (6) is detected.The apparatus of claim 10, wherein to identify the first logical zone (64a) and the second logical zone, the one or more processors are configured to: determine that a first subset of the two or more mappings is associated with a first group of logical addresses; determine that a second subset of the two or more mappings is associated with a second, different group of logical addresses; assign the first subset to the first logical zone (64a); and assign the second subset to the second logical zone (64b).The apparatus of claim 12, wherein the one or more processors are further configured to identify the first group of logical addresses based on the first group of logical addresses representing a successive block of logical addresses.The apparatus of claim 13, wherein the one or more processors are further configured to: determine a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60); and determine a total number of logical addresses to be included in the first subset based on a total number of entries in the table (40, 60) and the total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60).The apparatus of claim 12, wherein the one or more processors are further configured to identify the first group of logical addresses based on a respective index of each logical address in the first group that produces a same residue when divided by a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60).The apparatus of claim 10, wherein to replay (88) the portion of the first log list (70a) and the portion of the second log list (70b) simultaneously, the one or more processors are configured to: replay the portion of the first log list (70a) by a first processor core; and replay the portion of the second log list (70b) by a second processor core.The apparatus of claim 10, wherein the one or more processors are further configured to determine a total number of logical zones (64a, 64b, 64c) to be identified in the table (40, 60) such that the total number of zones (64a, 64b, 64c) is based on a total number of processing cores associated with the processor.The apparatus of claim 10, wherein to form the first log list (70a), the one or more processors are configured to journal the one or more mapping updates associated with the one or more mappings included in the first logical zone (64a) in a chronological order.The apparatus of claim 10, wherein the data storage device (6) comprises a solid state drive (SSD).A non-transitory computer readable storage medium encoded with instructions that, when executed, cause one or more processors of a data processing device (6) to: form (82) a table (40, 60) comprising two or more mappings, each mapping being associated with a respective logical address and a respective physical address of a data storage device (6); identifying (84) a plurality of logical zones (64a, 64b, 64c) comprising a first logical zone (64a) in the table (60) and a second logical zone (64b) in the table (60), wherein the first logical zone (64a) and the second logical zone (64b) each comprise one or more mappings of the table (60), and wherein the one or more mappings of the first logical zone (64a)) are mutually exclusive with respect to the one or more mappings of the second logical zone (64b); forming (86) a first log list (70a) associated with the first logical zone (64a), wherein the first log list (70a) indicates one or more mapping updates associated with the one or more mappings included in the first logical zone (64a); forming (86) a second log list (70b) associated with the second logical zone (64b), the second log list (70b) indicating one or more mapping updates associated with the one or more mappings included in the second logical zone (64b); and simultaneously replaying (88) a portion of the first log list (70a) and a portion of the second log list (70b) to update the table (60).
Citation Information
Patent Citations
Apparatus and method for data virtualization in a storage processing device
US7353305B2
