APPARATUS AND METHOD TO MANAGE HIGH CAPACITY STORAGE DEVICES
Apparatus, systems, and methods to manage high capacity memory devices are described. In one example, a controller comprises logic to receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA), compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA, store the first system CRC in association with the first extended LBA in a local memory, and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory. Other examples are also disclosed and claimed.
Latest Intel Patents:
- ENHANCED LOADING OF MACHINE LEARNING MODELS IN WIRELESS COMMUNICATIONS
- DYNAMIC PRECISION MANAGEMENT FOR INTEGER DEEP LEARNING PRIMITIVES
- MULTI-MICROPHONE AUDIO SIGNAL UNIFIER AND METHODS THEREFOR
- APPARATUS, SYSTEM AND METHOD OF COLLABORATIVE TIME OF ARRIVAL (CTOA) MEASUREMENT
- IMPELLER ARCHITECTURE FOR COOLING FAN NOISE REDUCTION
This application is a continuation of U.S. patent application Ser. No. 14/040,651, filed. Sep. 28, 2013, now issued as U.S. Pat. No. 9,292,379, which is incorporated herein by reference in its entirety.
FIELDThe present disclosure generally relates to the field of electronics. More particularly, aspects generally relate to apparatus and methods to manage high capacity memory.
BACKGROUNDSolid state drive (SSD) memory devices provide high speed, nonvolatile memory capacity without the need for moving parts. SSD memory devices commonly comprise memory and a local controller, and may be coupled to a memory system of an electronic device. SSD technology is advancing rapidly, which will enable the introduction of high capacity SSD memory devices. Accordingly, techniques to manage high capacity memory devices may find utility, e.g., in memory systems for electronic devices.
The detailed description is provided with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of various examples. However, various examples may be practiced without the specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to obscure the particular examples. Further, various aspects of examples may be performed using various means, such as integrated semiconductor circuits (“hardware”), computer-readable instructions organized into one or more programs (“software”), or some combination of hardware and software. For the purposes of this disclosure reference to “logic” shall mean either hardware, software, or some combination thereof.
Memory interface 124 is coupled to one or more remote memory devices 140 by a communication bus 160. Memory device 140 may comprise a controller 142 which may comprise local memory 146 and memory 150. In various examples, at least some of the memory 150 may be implemented using a solid state drive (SSD) comprising nonvolatile memory, e.g., phase change memory, NAND (flash) memory, ferroelectric random-access memory (FeTRAM), nanowire-based non-volatile memory, memory that incorporates memristor technology, a static random access memory (SRAM), three dimensional (3D) cross point memory such as phase change memory (PCM), spin-transfer torque memory (STT-RAM) or NAND memory. The specific configuration of the memory 150 in the memory device(s) 140 is not critical. In such embodiments the memory interface may comprise a Serial ATA interface, a PCI Express (PCIE) to 100 interface, or the like.
As described above, in some examples logic in the memory controller 122 manages write operations to memory device(s) 140 on behalf of applications which consume memory 150. More particularly, in some examples logic in the memory controller 122 receives memory access requests from applications executing on CPU(s) 110 and implements memory operations directed to memory devices 140.
In some examples described herein, the memory controller 142 comprising logic which allows the controller 142 to extend a 32-bit memory mapping scheme, ordinarily capable of mapping up to two terabytes (2 TB) of data stored in sectors that measure between 512 and 528 bytes, to map up to 8 terabytes (8 TB) of data, which requires a 35-bit mapping scheme. By cross-referencing a Logical Block Adress (LBA) of a sector referenced in a memory operation with a block address in an indirection table maintained by the controller 142, the controller 142 can reconstruct a 35-bit LBA from a 32-bit LBA. This allows the controller 142 to store a 32-bit LBA in the memory 150, thereby saving memory space for error correction control (ECC) bits or the like.
Operations implemented by controller 142 will be described with reference to
At operation 215 the controller 142 computes a first system cyclic redundancy check (CRC) 415 for the data received in the write operation. Referring to
Referring to
Referring now to
At operation 245 the controller 122 retrieves the payload data 435, the system CRC 415, and the truncated LBA 460 from the memory 150.
At operation 250 the controller 122 determines an extended LBA from the truncated LBA 460 retrieved from the memory 150. In one example the controller 122 determines the least three significant bits of the extended LBA by cross-referencing an indirection table maintained by the controller 122.
By way of an example, referring to
For example, the indirection system may be configured with blocks 510 that are approximately 4K bytes in length such that each block 510 can hold eight sectors configured as depicted in
Referring back to
At operation 260 it is determined whether the second system CRC computed in operation 255 matches the first system CRC 415 retrieved with the data. If the second system CRC computed in operation 255 does not match the first system CRC 415 then control passes to operation 265 and the controller 122 implements an error routine. By way of example, controller 122 may return an error to memory controller 142. By contrast, if the second system CRC computed in operation 255 matches the first system CRC 415 then control passes to operation 270 and the controller 122 returns the payload data 435 read from the storage media.
Thus, the structure and operations described herein enable a controller 122 to manage a high capacity memory device. More particularly, the structure and operations described herein enable controller 122 to store a truncated LBA 460 in storage media and leverage information in an indirection table to convert the truncated LBA to an extended LBA which can be used in a CRC calculation.
As described above, in some examples the electronic device may be embodied as a computer system.
A chipset 606 may also communicate with the interconnection network 604. The chipset 606 may include a memory control hub (MCH) 608. The MCH 608 may include a memory controller 610 that communicates with a memory 612 (which may be the same or similar to the memory 130 of
The MCH 608 may also include a graphics interface 614 that communicates with a display device 616. In one example, the graphics interface 614 may communicate with the display device 616 via an accelerated graphics port (AGP). In an example, the display 616 (such as a flat panel display) may communicate with the graphics interface 614 through, for example, a signal converter that translates a digital representation of an image stored in a storage device such as video memory or system memory into display signals that are interpreted and displayed by the display 616. The display signals produced by the display device may pass through various control devices before being interpreted by and subsequently displayed on the display 616.
A hub interface 618 may allow the MCH 608 and an input/output control hub (ICH) 620 to communicate. The ICH 620 may provide an interface to I/O device(s) that communicate with the computing system 600. The ICH 620 may communicate with a bus 622 through a peripheral bridge (or controller) 624, such as a peripheral component interconnect (PCI) bridge, a universal serial bus (USB) controller, or other types of peripheral bridges or controllers. The bridge 624 may provide a data path between the CPU 602 and peripheral devices. Other types of topologies may be utilized. Also, multiple buses may communicate with the ICH 620, e.g., through multiple bridges or controllers. Moreover, other peripherals in communication with the ICH 620 may include, in various examples, integrated drive electronics (IDE) or small computer system interface (SCSI) hard drive(s), USB port(s), a keyboard, a mouse, parallel port(s), serial port(s), floppy disk drive(s), digital output support (e.g., digital video interface (DVI)), or other devices.
The bus 622 may communicate with an audio device 626, one or more disk drive(s) 628, and a network interface device 630 (which is in communication with the computer network 603). Other devices may communicate via the bus 622. Also, various components (such as the network interface device 630) may communicate with the MCH 608 in some examples. In addition, the processor 602 and one or more other components discussed herein may be combined to form a single chip (e.g., to provide a System on Chip (SOC)). Furthermore, the graphics accelerator 616 may be included within the MCH 608 in other examples.
Furthermore, the computing system 600 may include volatile and/or nonvolatile memory (or storage). For example, nonvolatile memory may include one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), a disk drive (e.g., 628), a floppy disk, a compact disk ROM (CD-ROM), a digital versatile disk (DVD), flash memory, a magneto-optical disk, or other types of nonvolatile machine-readable media that are capable of storing electronic data (e.g., including instructions).
In an example, the processor 702-1 may include one or more processor cores 706-1 through 706-M (referred to herein as “cores 706” or more generally as “core 706”), a shared cache 708, a router 710, and/or a processor control logic or unit 720. The processor cores 706 may be implemented on a single integrated circuit (IC) chip. Moreover, the chip may include one or more shared and/or private caches (such as cache 708), buses or interconnections (such as a bus or interconnection network 712), memory controllers, or other components.
In one example, the router 710 may be used to communicate between various components of the processor 702-1 and/or system 700. Moreover, the processor 702-1 may include more than one router 710. Furthermore, the multitude of routers 710 may be in communication to enable data routing between various components inside or outside of the processor 702-1.
The shared cache 708 may store data (e.g., including instructions) that are utilized by one or more components of the processor 702-1, such as the cores 706. For example, the shared cache 708 may locally cache data stored in a memory 714 for faster access by components of the processor 702. In an example, the cache 708 may include a mid-level cache (such as a level 2 (L2), a level 3 (L3), a level 4 (L4), or other levels of cache), a last level cache (LLC), and/or combinations thereof Moreover, various components of the processor 702-1 may communicate with the shared cache 708 directly, through a bus (e.g., the bus 712), and/or a memory controller or hub. As shown in
As illustrated in
Additionally, the core 706 may include a schedule unit 806. The schedule unit 806 may perform various operations associated with storing decoded instructions (e.g., received from the decode unit 804) until the instructions are ready for dispatch, e.g., until all source values of a decoded instruction become available. In one example, the schedule unit 806 may schedule and/or issue (or dispatch) decoded instructions to an execution unit 808 for execution. The execution unit 808 may execute the dispatched instructions after they are decoded (e.g., by the decode unit 804) and dispatched (e.g., by the schedule unit 806). In an example, the execution unit 808 may include more than one execution unit. The execution unit 808 may also perform various arithmetic operations such as addition, subtraction, multiplication, and/or division, and may include one or more an arithmetic logic units (ALUs). In an example, a co-processor (not shown) may perform various arithmetic operations in conjunction with the execution unit 808.
Further, the execution unit 808 may execute instructions out-of-order. Hence, the processor core 706 may be an out-of-order processor core in one example. The core 706 may also include a retirement unit 810. The retirement unit 810 may retire executed instructions after they are committed. In an example, retirement of the executed instructions may result in processor state being committed from the execution of the instructions, physical registers used by the instructions being de-allocated, etc.
The core 706 may also include a bus unit 714 to enable communication between components of the processor core 706 and other components (such as the components discussed with reference to
Furthermore, even though
In some examples, one or more of the components discussed herein can be embodied as a System On Chip (SOC) device.
As illustrated in
The I/O interface 940 may be coupled to one or more I/O devices 970, e.g., via an interconnect and/or bus such as discussed herein with reference to other figures. I/O device(s) 970 may include one or more of a keyboard, a mouse, a touchpad, a display, an image/video capture device (such as a camera or camcorder/video recorder), a touch screen, a speaker, or the like.
As illustrated in
In an example, the processors 1002 and 1004 may be one of the processors 702 discussed with reference to
As shown in
The chipset 1020 may communicate with a bus 1040 using a point-to-point PtP interface circuit 1041. The bus 1040 may have one or more devices that communicate with it, such as a bus bridge 1042 and I/O devices 1043. Via a bus 1044, the bus bridge 1043 may communicate with other devices such as a keyboard/mouse 1045, communication devices 1046 (such as modems, network interface devices, or other communication devices that may communicate with the computer network 803), audio I/O device, and/or a data storage device 1048. The data storage device 1048 (which may be a hard disk drive or a NAND flash based solid state drive) may store code 1049 that may be executed by the processors 1002 and/or 1004.
The following examples pertain to further examples.
Example 1 is a controller comprising logic to receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA), compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA, store the first system CRC in association with the first extended LBA in a local memory, and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
In Example 2, the subject matter of Example 1 can optionally include an arrangement in which the first extended LBA maps to a data sector on the memory, the memory is mapped into blocks which contain eight data sectors, and the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
In Example 3, the subject matter of any one of Examples 1-2 can optionally include an arrangement in which
In Example 4, the subject matter of any one of Examples 1-3 can optionally include logic to receive a read operation comprising the first extended LBA, retrieve the payload data, the first system CRC, and the truncated LBA from the memory, and determine a second extended LBA from the truncated LBA..
In Example 5, the subject matter of any one of Examples 1-4 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA and implement an error routine when the second system CRC does not match the first system CRC.
In Example 6, the subject matter of any one of Examples 1-5 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA and return the payload data when the second system CRC matches the first system CRC.
Example 7 is an apparatus, comprising a non-volatile memory, and a controller coupled to the memory and comprising logic to receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA), compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA, store the first system CRC in association with the first extended LBA in a local memory, and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
In Example 8, the subject matter of Example 7 can optionally include an arrangement in which the first extended LBA maps to a data sector on the memory, the memory is mapped into blocks which contain eight data sectors, and the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
In Example 9, the subject matter of any one of Examples 7-8 can optionally include an arrangement in which
In Example 10, the subject matter of any one of Examples 7-9 can optionally include logic to receive a read operation comprising the first extended LBA, retrieve the payload data, the first system CRC, and the truncated LBA from the memory, and determine a second extended LBA from the truncated LBA.
In Example 11, the subject matter of any one of Examples 7-10 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA and implement an error routine when the second system CRC does not match the first system CRC.
In Example 12, the subject matter of any one of Examples 7-11 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA and return the payload data when the second system CRC matches the first system CRC.
Example 13 is an electronic device, comprising at least one processor, and at least one memory device comprising a memory, and a controller coupled to the memory and comprising logic to receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA). compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA, store the first system CRC in association with the first extended LBA in a local memory, and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
In Example 14, the subject matter of Example 13 can optionally include an arrangement in which the first extended LBA maps to a data sector on the memory, the memory is mapped into blocks which contain eight data sectors, and the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
In Example 15, the subject matter of any one of Examples 13-14 can optionally include an arrangement in which
In Example 16, the subject matter of any one of Examples 13-15 can optionally include logic to receive a read operation comprising the first extended LBA, retrieve the payload data, the first system CRC, and the truncated LBA from the memory, and determine a second extended LBA from the truncated LBA.
In Example 17, the subject matter of any one of Examples 13-16 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA and implement an error routine when the second system CRC does not match the first system CRC.
In Example 18, the subject matter of any one of Examples 13-17 can optionally include logic to compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA and return the payload data when the second system CRC matches the first system CRC.
In various examples, the operations discussed herein, e.g., with reference to
Reference in the specification to “one example” or “an example” means that a particular feature, structure, or characteristic described in connection with the example may be included in at least an implementation. The appearances of the phrase “in one example” in various places in the specification may or may not be all referring to the same example.
Also, in the description and claims, the terms “coupled” and “connected,” along with their derivatives, may be used. In some examples, “connected” may be used to indicate that two or more elements are in direct physical or electrical contact with each other. “Coupled” may mean that two or more elements are in direct physical or electrical contact. However, “coupled” may also mean that two or more elements may not be in direct contact with each other, but may still cooperate or interact with each other.
Thus, although examples have been described in language specific to structural features and/or methodological acts, it is to be understood that claimed subject matter may not be limited to the specific features or acts described. Rather, the specific features and acts are disclosed as sample forms of implementing the claimed subject matter.
Claims
1. A controller comprising logic to:
- receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA);
- compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA;
- store the first system CRC in association with the first extended LBA in a local memory; and
- write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
2. The controller of claim 1, wherein:
- the first extended LBA maps to a data sector on the memory;
- the memory is mapped into blocks which contain eight data sectors; and
- the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
3. The controller of claim 2, wherein:
- the first extended LBA maps to a data sector that measures between 512 bytes and 528 bytes; and
- the memory is mapped into blocks that measure approximately 4 kilobytes.
4. The controller of claim 1, further comprising logic to
- receive a read operation comprising the first extended LBA;
- retrieve the payload data, the first system CRC, and the truncated LBA from the memory; and
- determine a second extended LBA from the truncated LBA.
5. The controller of claim 4, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA; and
- implement an error routine when the second system CRC does not match the first system CRC.
6. The controller of claim 4, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA; and
- return the payload data when the second system CRC matches the first system CRC.
7. An apparatus, comprising:
- a non-volatile memory; and
- a controller coupled to the memory and comprising logic to: receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA); compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA; store the first system CRC in association with the first extended LBA in a local memory; and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
8. The apparatus of claim 7, wherein:
- the first extended LBA maps to a data sector on the memory;
- the memory is mapped into blocks which contain eight data sectors; and
- the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
9. The apparatus of claim 8, wherein:
- the first extended LBA maps to a data sector that measures between 512 bytes and 528 bytes; and
- the memory is mapped into blocks that measure approximately 4 kilobytes.
10. The apparatus of claim 7, further comprising logic to
- receive a read operation comprising the first extended LBA;
- retrieve the payload data, the first system CRC, and the truncated LBA from the memory; and
- determine a second extended LBA from the truncated LBA.
11. The apparatus of claim 10, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA; and
- implement an error routine when the second system CRC does not match the first system CRC.
12. The apparatus of claim 10, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA; and
- return the payload data when the second system CRC matches the first system CRC.
13. An electronic device, comprising:
- at least one processor; and
- at least one memory device comprising a memory; and
- a controller coupled to the memory and comprising logic to: receive a write operation comprising payload data, a namespace identifier (ID) and a first extended logical block address (LBA); compute a first system cyclic redundancy check (CRC) using a payload CRC, the namespace ID and the first extended LBA; store the first system CRC in association with the first extended LBA in a local memory; and write the payload data, the first system CRC, and a truncated LBA derived from the first extended LBA to a memory.
14. The electronic device of claim 13, wherein:
- the first extended LBA maps to a data sector on the memory;
- the memory is mapped into blocks which contain eight data sectors; and
- the truncated LBA written to the memory omits the three least significant bits of the first extended LBA.
15. The electronic device of claim 14, wherein:
- the first extended LBA maps to a data sector that measures between 512 bytes and 528 bytes; and
- the memory is mapped into blocks that measure approximately 4 kilobytes.
16. The electronic device of claim 13, further comprising logic to
- receive a read operation comprising the first extended LBA;
- retrieve the payload data, the first system CRC, and the truncated LBA from the memory; and
- determine a second extended LBA from the truncated LBA.
17. The electronic device of claim 16, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using the payload data, the namespace ID and the second extended LBA; and
- implement an error routine when the second system CRC does not match the first system CRC.
18. The electronic device of claim 16, further comprising logic to:
- compute a second system cyclic redundancy check (CRC) value using a payload data, the namespace ID and the second extended LBA; and
- return the payload data when the second system CRC matches the first system CRC.
Type: Application
Filed: Mar 21, 2016
Publication Date: Jan 26, 2017
Applicant: Intel Corporation (Santa Clara, CA)
Inventors: Knut Grimsrud (Forest Grove, OR), Jawad Khan (Cornelius, OR), Richard Mangold (Forest Grove, OR)
Application Number: 15/076,377