Computing system and operating method thereof
The memory controller receives and calculates target performance information in the memory system, and uses an interleaved method to allocate memory blocks, which solves the problem of insufficient performance of existing memory systems in high-speed parallel processing and achieves more efficient data processing and management.
Patent Information
- Application Number
- CN202311396835.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2023-10-26
- Publication Date
- 2024-08-30
AI Technical Summary
When existing memory systems handle data input and reading, it is difficult to effectively implement high-speed parallel processing, resulting in insufficient performance, especially in the management and allocation of multiple memory blocks.
Receives target performance information and implementation information through the memory controller, calculates and allocates memory blocks to achieve target performance, and uses interleaving methods to improve data processing efficiency, including data interleaving and non-exclusive management of channels/lanes.
It achieves more efficient data input and read performance, meets external performance requirements, and improves the overall performance and reliability of the memory system.
Smart Images

Figure CN118568016A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Korean Patent Application No. 10-2023-0026622, filed on February 28, 2023, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] Embodiments of the present disclosure relate to an electronic device, and more particularly, to a memory system and an operating method thereof. Background Art
[0004] A storage device is a device that stores data under the control of a host device such as a computer, a smart phone, or a smart tablet. Storage devices include devices that store data in a magnetic disk such as a hard disk drive (HDD), devices that store data in a semiconductor memory such as a solid state drive (SSD) or a memory card, and especially a non-volatile memory.
[0005] The memory system is mainly composed of a memory device for storing data and a memory controller for controlling the memory device. When a data input request for the memory device is received, the memory controller controls the memory device to store the data in the corresponding memory cell area. In the memory system, the memory system includes a memory device connected to a plurality of channels and ways. The memory device communicates with the memory controller through the channel.
[0006] When a data input request is received from the host, the memory controller controls the memory device to store the data in the memory device. In this case, the memory controller needs to effectively control the memory device to process data at high speed. The memory controller uses a method of processing multiple storage blocks in parallel as a method of controlling multiple memory devices, such as an interleaving method. That is, the data input time or data reading time is reduced by controlling multiple memory devices connected to channels and paths in parallel. When the host utilizes such a configuration, the host can achieve a higher level of performance. Summary of the invention
[0007] Embodiments of the present disclosure provide a memory system and an operating method thereof for transmitting requirements required to achieve performance in response to an externally required target performance and a performance-related information return request.
[0008] According to an embodiment of the present disclosure, a memory system includes: multiple memory devices, each memory device includes multiple storage blocks; and a memory controller, which is configured to receive information of target performance and a return request for implementation information from the outside, provide implementation information to the outside in response to the return request, and allocate storage blocks to one or more required groups for achieving the target performance based on the implementation information, wherein the implementation information indicates whether the target performance can be achieved and includes group information about the respective sizes of the one or more required groups.
[0009] According to an embodiment of the present disclosure, a memory system includes: multiple memory devices, each memory device including multiple storage blocks; and a memory controller configured to receive information about target performance and information indicating that realization of the target performance is mandatory from the outside, move data from one or more allocated storage blocks among multiple storage blocks within a first memory device in the memory device to a second memory device in the memory device, provide implementation information including group information to the outside, and allocate storage blocks to required groups based on the implementation information, the group information being information about the respective sizes of one or more required groups for achieving the target performance.
[0010] According to an embodiment of the present disclosure, a method for operating a memory system includes: receiving information on target performance and a return request for implementation information indicating whether the target performance can be achieved from the outside, calculating the implementation information including group information and providing the implementation information to the outside in response to the return request, the group information being information about the respective sizes of one or more required groups to achieve the target performance.
[0011] According to an embodiment of the present disclosure, a computing system includes: a host device, configured to provide information of a target performance and a return request for implementation information, wherein the implementation information indicates whether the target performance can be achieved and includes group information about the respective sizes of one or more required groups for achieving the target performance; and a memory system, configured to provide the implementation information to the host device when the target performance can be achieved, and to allocate multiple storage blocks to the required groups in response to the return request.
[0012] According to an embodiment of the present disclosure, a method for operating a controller is provided, the controller being used to control a plurality of memory devices each including a plurality of memory blocks, the method comprising: allocating one or more memory blocks as each of one or more memory cells in response to performance requirements to configure the memory cells when one or more channels physically connected between the controller and the memory devices are selected; selecting one or more interleaving schemes applicable to the memory cells and the selected channels in response to the performance requirements; and controlling the memory devices to perform operations with the memory cells to meet the performance requirements according to the selected interleaving schemes.
[0013] According to the present technology, there are provided a memory system and an operating method thereof which transmits a requirement necessary to achieve performance in response to performance requested from the outside. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
[0015] Figure 2 It is shown Figure 1 A diagram showing a connection relationship between a memory controller and a plurality of memory devices.
[0016] Figure 3A and Figure 3B is a diagram illustrating a program operation and a read operation according to data interleaving.
[0017] Figure 4 is a diagram illustrating a structure of a partition in a partition namespace memory system according to an embodiment of the present disclosure.
[0018] Figure 5 is a diagram illustrating states that a partition may have in a partition namespace memory system according to an embodiment of the present disclosure.
[0019] Figure 6 is a diagram illustrating a structure of a memory controller according to an embodiment of the present disclosure.
[0020] Figure 7 It is shown Figure 6 Schematic diagram of an example of a hierarchical performance table stored in a performance information storage device.
[0021] Figure 8 is a diagram illustrating a process of storing data according to different performances according to an embodiment of the present disclosure.
[0022] Fig. 9 is a diagram illustrating a process of storing data according to different performances according to another embodiment of the present disclosure.
[0023] Fig.10 is a diagram illustrating a forced return request of implementation information according to an embodiment of the present disclosure.
[0024] Fig.11 It is shown in Fig.10 An illustration of the process of rearranging data in the case of .
[0025] Fig.12 is a flowchart for describing an operation of a memory controller for implementing a return request for information according to an embodiment of the present disclosure.
[0026] Fig.13is a flowchart for describing an operation of a memory controller for implementing a forced return request of information according to an embodiment of the present disclosure.
[0027] Fig.14 is a diagram illustrating a user system to which a memory system according to an embodiment of the present disclosure is applied. DETAILED DESCRIPTION
[0028] The specific structural or functional descriptions showing the embodiments of the concepts disclosed in this specification are only for describing the embodiments of the concepts of the present disclosure. The embodiments of the concepts of the present disclosure can be implemented in various forms, and the description is not limited to the embodiments described in this specification.
[0029] Since various modifications and changes can be made to the embodiments according to the concept of the present disclosure, and the embodiments according to the concept of the present disclosure can have various forms, specific embodiments will be shown in the drawings and described in this specification. However, it should be understood that the embodiments according to the concept of the present disclosure should not be interpreted as limited to a specific disclosed form, but include all changes, equivalents or alternatives that do not depart from the spirit and technical scope of the present disclosure.
[0030] Figure 1 is a diagram illustrating a memory system 100 according to an embodiment of the present disclosure.
[0031] Reference Figure 1 , the memory system 100 may include a memory device 110 , a memory controller 200 , and a buffer memory 300 .
[0032] The memory system 100 may be connected to a host 400. The host 400 may include a mobile phone, a smart phone, an MP3 player, a laptop computer, a desktop computer, a game console, a TV, a tablet PC, an in-vehicle infotainment system, a drone, an autonomous vehicle, etc. The host 400 may control the memory system 100 to store data in the memory device 110.
[0033] The memory system 100 may be manufactured as any one of various types of storage devices according to a host interface of a method of communicating with the host 400. For example, the memory system 100 may be configured as any one of various types of storage devices such as SSD, multimedia cards in the form of MMC, eMMC, RS-MMC, and micro MMC, secure digital cards in the form of SD, mini SD, and micro SD, universal serial bus (USB) storage devices, universal flash memory (UFS) devices, personal computer memory card international association (PCMCIA) card type storage devices, peripheral component interconnect (PCI) card type storage devices, high speed PCI (PCI-E) card type storage devices, compact flash (CF) cards, smart media cards, and memory sticks. The computing system may include the host 400 and the memory system 100.
[0034] The memory system 100 may be manufactured as any of various types of packages. For example, the memory system 100 may be manufactured as any of various package types such as package on package (POP), system in package (SIP), system on chip (SOC), multi-chip package (MCP), chip on board (COB), wafer-level fabrication package (WFP), and wafer-level stacked package (WSP).
[0035] The memory device 110 may store data. The memory device 110 operates in response to the control of the memory controller 200. The memory device 110 may include a memory cell array including a plurality of memory cells storing data. The memory cell array may include a plurality of memory blocks. Each memory block may include a plurality of memory cells. A memory block may include a plurality of pages. In an embodiment, a page may be a unit for storing data in the memory device 110 or reading data stored in the memory device 110. A memory block may be a unit for erasing data. In an embodiment, the memory device 110 may be a NAND flash memory, a vertical NAND flash memory, a NOR flash memory, a resistive random access memory (RRAM), a phase change memory (PRAM), a magnetoresistive random access memory (MRAM), a ferroelectric random access memory (FRAM), a spin transfer torque random access memory (STT-RAM), etc. In this specification, for ease of description, the memory device 110 is a NAND flash memory.
[0036] The memory device 110 may be implemented as a three-dimensional array structure. The present disclosure may be applied not only to a flash memory device in which a charge storage layer is configured by a conductive floating gate (FG), but also to a charge trap flash memory (CTF) in which a charge storage layer is configured by an insulating film.
[0037] In an embodiment, each of the memory cells included in the memory device 110 may be configured as a single-level cell (SLC) storing one data bit. Alternatively, each of the memory cells included in the memory device 110 may be configured as a multi-level cell (MLC) storing two data bits, a triple-level cell (TLC) storing three data bits, or a quad-level cell (QLC) capable of storing four data bits.
[0038] The memory device 110 is configured to receive a command and an address from the memory controller 200 and access an area selected by the address in the memory cell array. That is, the memory device 110 performs an operation corresponding to the command on the area selected by the address. For example, the memory device 110 can perform a write operation (programming operation), a read operation, and an erase operation. During a programming operation, the memory device 110 can program data into an area selected by an address. During a read operation, the memory device 110 can read data from an area selected by an address. During an erase operation, the memory device 110 can erase data stored in an area selected by an address.
[0039] The memory controller 200 may control the overall operation of the memory system 100 .
[0040] When power is applied to memory system 100, memory controller 200 may run firmware (FW). When memory device 110 is a flash memory device, memory controller 200 may operate firmware such as a flash translation layer (FTL) for controlling communication between host 400 and memory device 110.
[0041] In an embodiment, the memory controller 200 may receive data and a logical block address (LBA) from the host 400 and convert the LBA into a physical block address (PBA), which indicates an address of a memory cell included in the memory device 110 and where data is to be stored. In addition, the memory controller 200 may store a logical-physical address mapping table configuring a mapping relationship between the LBA and the PBA in the buffer memory 300.
[0042] The memory controller 200 may control the memory device 110 to perform a program operation, a read operation, or an erase operation according to a request of the host 400. During a program operation, the memory controller 200 may provide a program command, a PBA, and data to the memory device 110. During a read operation, the memory controller 200 may provide a read command and a PBA to the memory device 110. During an erase operation, the memory controller 200 may provide an erase command and a PBA to the memory device 110.
[0043] In an embodiment, the memory controller 200 may generate and send a program command, address, and data to the memory device 110 without a request from the host 400. For example, the memory controller 200 may provide commands, addresses, and data to the memory device 110 to perform background operations such as a program operation for wear leveling and a program operation for garbage collection.
[0044] The memory controller 200 may include a performance information storage device 210 , an implementation information calculator 220 , and a mapping information storage device 230 .
[0045] In an embodiment, the performance information storage device 210 may store information on various performances with which the memory system can operate.
[0046] When the memory controller 200 receives a return request for information about the target performance and the implementation information from the host 400, the implementation information calculator 220 can calculate the implementation information to be returned to the host 400. The implementation information can indicate whether the memory system 100 can achieve the target performance. In addition, the implementation information may include the number of groups of data to be stored, the location of the groups, and the data interleaving method for storing the data. In an embodiment, the implementation information calculator 220 can calculate multiple pieces of implementation information, that is, multiple solutions for achieving the target performance.
[0047] The mapping information storage device 230 may store mapping information, which is information on the current status of allocated memory blocks within the memory device 110 .
[0048] Will refer to Figure 6 The mapping information storage device 230 is described.
[0049] The mapping information storage device 230 may provide the mapping information to the implementation information calculator 220 to calculate the implementation information. When the implementation information calculator 220 allocates the memory blocks to the groups, the mapping information storage device 230 may update the mapping information by receiving the newly opened groups and the states related to the memory blocks corresponding to the newly opened groups.
[0050] In an embodiment, the memory controller 200 may control data exchange between the host 400 and the buffer memory 300. Alternatively, the memory controller 200 may temporarily store system data for controlling the memory device 110 in the buffer memory 300. For example, the memory controller 200 may temporarily store data input from the host 400 in the buffer memory 300, and then transmit the data temporarily stored in the buffer memory 300 to the memory device 110.
[0051] In various embodiments, the buffer memory 300 may be used as an operation memory and a cache memory of the memory controller 200. The buffer memory 300 may store codes or commands executed by the memory controller 200. Alternatively, the buffer memory 300 may store data processed by the memory controller 200.
[0052] In an embodiment, the buffer memory 300 may be implemented as a dynamic random access memory (DRAM) such as a double data rate synchronous dynamic random access memory (DDR SDRAM), DDR4 SDRAM, a fourth generation low power double data rate (LPDDR4) SDRAM, a graphics double data rate (GDDR) SDRAM, a low power DDR (LPDDR), or a Rambus dynamic random access memory (DRAM), or as a static random access memory (SRAM).
[0053] In various embodiments, the memory system 100 may not include the buffer memory 300 . In this case, a volatile memory device external to the memory system 100 may be used as the buffer memory 300 .
[0054] In various embodiments, the buffer memory 300 may be included in the memory controller 200 .
[0055] In an embodiment, the memory controller 200 may control at least two or more memory devices 110. In this case, the memory controller 200 may control the memory devices 110 according to an interleaving method to improve operation performance.
[0056] The host 400 may include a data attribute controller 410 and a memory system controller 420 .
[0057] The data attribute controller 410 may generate a return request for information about target performance and implementation information. For example, when the host 400 requests the memory system 100 to perform an operation at target performance, the data attribute controller 410 may generate a return request for information about target performance and implementation information.
[0058] The memory system controller 420 may control the memory system 100. The memory system controller 420 may provide a request, a corresponding address, and corresponding data to the memory system 100. The memory system controller 420 may provide a return request for implementation information to the memory system 100.
[0059] The data attribute controller 410 may store implementation information provided by the memory system 100 .
[0060] In an embodiment, when the memory system 100 can achieve the target performance, the data attribute controller 410 can generate a request, an address, and data for the memory system 100 to perform operations at the target performance. The data attribute controller 410 can generate a write request for storing data in the memory system 100 based on the number of groups of data to be stored, the location of the groups, and the interleaving method.
[0061] In an embodiment, when the number of methods for achieving the target performance is plural, the data attribute controller 410 may determine one method for achieving the target performance under the control of the host 400 .
[0062] In an embodiment, when the memory system 100 cannot achieve the target performance, the data attribute controller 410 may generate a return request for information about the substitute target performance and substitute realization information indicating whether the substitute target performance can be achieved. For example, when the memory system 100 provides the host 400 with an unachievable signal indicating that the memory system 100 cannot achieve a specific target performance, the data attribute controller 420 may generate information about the substitute target performance and a return request for substitute realization information, the substitute target performance may be a performance lower than the specific target performance, and the substitute realization information indicates whether the substitute target performance can be achieved.
[0063] The host 400 may communicate with the memory system 100 using at least one of various communication standards or interfaces such as Universal Serial Bus (USB), Serial AT Attachment (SATA), Serial SCSI (SAS), High Speed Inter-Chip (HSIC), Small Computer System Interface (SCSI), Peripheral Component Interconnect (PCI), PCI Express (PCIe), Non-Volatile Memory Express (NVMe), Universal Flash Storage (UFS), Secure Digital (SD), MultiMedia Card (MMC), Embedded MMC (eMMC), Dual In-line Memory Module (DIMM), Registered DIMM (RDIMM), Load Reduced DIMM (LRDIMM), and I2C communication using SM-BUS.
[0064] Figure 2 It is shown Figure 1 2 is a diagram showing a connection relationship between a memory controller 200 and a plurality of memory devices.
[0065] Reference Figure 2, the memory controller 200 may be connected to a plurality of memory devices (memory device_11 to memory device_44) through a plurality of channels CH1 to CH4. In an embodiment, the memory controller 200 may be connected to the memory devices through a total of four channels. One channel may be connected to four memory devices. However, this is only an example, and the number of channels connected to the memory controller 200 or the number of memory devices connected to each channel may be variously changed.
[0066] The memory package 1000 may include a plurality of memory devices connected to a plurality of channels. Figure 2 , the memory package 1000 including all memory devices_11 to memory devices_44 may be connected to the memory controller 200. Figure 2 The memory package 1000 in FIG. 1 includes 16 memory devices, but the number of memory devices included in the memory package 1000 may be changed in various ways.
[0067] The memory devices_11 to_14 may be commonly connected to the channel 1CH1. The memory devices_11 to_14 may communicate with the memory controller 200 through the channel 1CH1. Since the memory devices_11 to_14 are commonly connected to the channel 1CH1, only one memory device may communicate with the memory controller 200 at a time. However, the internal operations of the respective memory devices_11 to_14 may be performed in a non-exclusive manner.
[0068] The memory devices connected to channel 2 CH2 to channel 4 CH4 can also be operated in the same manner as the memory device connected to channel 1 CH1 described above.
[0069] A storage device using multiple memory devices can improve performance by using data interleaving, which is data communication using an interleaving method. Data interleaving can perform data read or write operations while moving a path in a structure where two or more paths share a channel. For data interleaving, memory devices can be managed in units of channels and paths. In order to maximize the parallelization of the memory devices connected to each channel, the memory controller 200 can distribute and allocate continuous logical storage areas to channels and paths.
[0070] For example, the memory controller 200 may send commands, control signals including addresses, and data to the memory device_11 through the channel 1 CH1. When the memory device_11 programs the sent data into the memory cells included therein, the memory controller 200 may send commands, control signals including addresses, and data to the memory device_12.
[0071] exist Figure 2 In the embodiment, a plurality of memory devices may be configured by four paths WAY1 to WAY4. Path 1 WAY1 may include memory device_11 to memory device_41. Memory devices included in paths 2 WAY2 to 4 WAY4 may also be configured in the same manner as the memory devices included in the above path WAY1.
[0072] Each of the channels CH1 to CH4 may be a signal bus shared and used by memory devices connected to the corresponding channel. Figure 2 Data interleaving in a 4-channel / 4-lane structure is described, but the efficiency of interleaving increases as the number of channels and the number of lanes increase.
[0073] Figure 3A and Figure 3B is a diagram illustrating a program operation and a read operation according to data interleaving.
[0074] Reference Figure 3A and Figure 3B , Figure 3A is a diagram illustrating a programming operation. Figure 3B is a diagram showing a read operation. Figure 2 Memory device_11 to memory device_14 of channel 1CH1 execute Figure 3A Programming operations and Figure 3B of the read operation.
[0075] Reference Figure 3A , during t0 to t1, data input DIN#11 to memory device_11 may be performed. When data input DIN#11 is performed, memory device_11 may receive a programming command, an address, and data through channel 1CH1. Since memory device_11, memory device_12, memory device_13, and memory device_14 are commonly connected to channel 1CH1, when data input DIN#11 to memory device_11 is performed, memory device_12, memory device_13, and memory device_14 as the remaining memory devices may not use channel 1CH1.
[0076] During t1 to t2, data input DIN#12 to memory device_12 may be performed. When data input DIN#12 is performed, memory device_12 may receive a program command, an address, and data through channel 1CH1. Since memory device_11, memory device_12, memory device_13, and memory device_14 are commonly connected to channel 1CH1, when data input DIN#12 to memory device_12 is performed, memory device_11, memory device_13, and memory device_14 as the remaining memory devices may not use channel 1CH1. However, since memory device_11 receives data (DIN#11) during period t0 to t1, memory device_11 may perform a program operation (tPROG#11) starting from t1.
[0077] During t2 to t3, data input DIN#13 to memory device_13 may be performed. When data input DIN#13 is performed, memory device_13 may receive a programming command, an address, and data through channel 1CH1. Since memory device_11, memory device_12, memory device_13, and memory device_14 are commonly connected to channel 1CH1, when data input DIN#13 to memory device_13 is performed, memory device_11, memory device_12, and memory device_14, which are the remaining memory devices, may not use channel 1CH1. However, since memory device_11 receives data (DIN#11) during period t0 to t1, memory device_11 may perform a programming operation (tPROG#11) from t1. In addition, since memory device_12 receives data (DIN#12) during period t1 to t2, memory device_12 may perform a programming operation (tPROG#12) from t2.
[0078] During t3 to t4, data input DIN#14 to memory device_14 may be performed. When data input DIN#14 is performed, memory device_14 may receive a programming command, an address, and data through channel 1CH1. Since memory device_11, memory device_12, memory device_13, and memory device_14 are commonly connected to channel 1CH1, memory device_11, memory device_12, and memory device_13 as the remaining memory devices may not use channel 1CH1 when data input DIN#14 to memory device_14 is performed. However, since memory device_11 receives data (DIN#11) during period t0 to t1, memory device_11 may perform a programming operation (tPROG#11) from t1. In addition, since memory device_12 receives data (DIN#12) during period t1 to t2, memory device_12 may perform a programming operation (tPROG#12) from t2. In addition, since the memory device_13 receives data (DIN#13) during the period t2 to t3, the memory device_13 may perform a program operation (tPROG#13) starting from t3.
[0079] At t4, the programming operation of memory device_11 may be completed (tPROG#11).
[0080] Thereafter, during t4 to t8 , data inputs DIN# 11 , DIN# 12 , DIN# 13 , and DIN# 14 of the memory device_ 11 to the memory device_ 14 may be performed in the same method as that performed during t0 to t4 .
[0081] Reference Figure 3B , from t'0 to t'2, memory devices_11 to memory devices_14 may internally read data corresponding to specific addresses, respectively (tR#11 to tR#14). In an embodiment, memory devices_11 to memory devices_14 may read data in units of pages. Memory device_11 may read data during t'0 to t'1 (tR#11), and output the read data to memory controller 200 (DOUT#11) through channel 1CH1 during t'1 to t'3.
[0082] Since the memory device_11 outputs data (DOUT#11) through the channel 1CH1 during t′1 to t′3, the memory device_12, the memory device_13, and the memory device_14 may not use the channel 1CH1.
[0083] During t'3 to t'4, memory device_12 may output the read data to memory controller 200 (DOUT#12) through channel 1CH1. Since memory device_12 outputs data (DOUT#12) through channel 1CH1 during t'3 to t'4, memory device_11, memory device_13, and memory device_14 may not use channel 1CH1.
[0084] During t'4 to t'5, memory device_13 may output the read data to memory controller 200 (DOUT#13) through channel 1CH1. Since memory device_13 outputs data (DOUT#13) through channel 1CH1 during t'4 to t'5, memory device_11, memory device_12, and memory device_14 may not use channel 1CH1.
[0085] During t'5 to t'6, memory device_14 may output the read data to memory controller 200 (DOUT#14) through channel 1CH1. Since memory device_14 outputs data (DOUT#14) through channel 1CH1 during t'5 to t'6, memory device_11, memory device_12, and memory device_13 may not use channel 1CH1.
[0086] Figure 4 is a diagram illustrating a structure of a partition in a partition namespace memory system according to an embodiment of the present disclosure.
[0087] The partition name space (ZNS) may be a technique for dividing a name space in units of a partition 700 and using the name space. A name space may be a logical storage space configured by a logical block. In a data processing system using ZNS, multiple applications may store data in LBAs in respective allocated partitions in sequence. Not only are multiple LBAs divided into partitions, but also the physical area of a memory device may be divided and allocated to a partition 700. One partition 700 may store data of the same application. In this case, the attributes of the data stored in one partition 700 may be similar. In addition, the LBAs included in the partition 700 may be continuous, and a set of physically continuous storage blocks may be allocated to each partition. A write pointer (WP) inside the partition 700 may be a pointer to a storage block having a first logical address inside the partition 700. That is, WP may point to a storage block having the fastest logical block address (LBA a) among empty blocks. Thereafter, when data is input, the data may be input to the storage blocks in sequence. When data corresponding to seven storage blocks are input, the data may be input to storage blocks having logical block addresses a to a+6 in sequence. Thereafter, WP may point to a storage block having the fastest logical block address LBAa+7 among the empty storage blocks. Thereafter, when further data is input, the input data may be stored in the storage block pointed to by WP.
[0088] Figure 5 is a diagram illustrating states that a partition may have in a ZNS memory system according to an embodiment of the present disclosure.
[0089] Reference Figure 5 , partitions can be mainly divided into active partitions and inactive partitions according to their states. The initial state of a partition may be an empty partition. Active partitions may include open partitions and closed partitions, and inactive partitions may include empty partitions and full partitions. Open partitions may be divided into explicit open partitions and implicit open partitions. When the host 400 explicitly provides a command for converting any empty partition into an open partition to the memory system, the open partition converted according to the command may be an explicit open partition. When the host 400 does not explicitly provide a command for converting any empty partition into an open partition, but only provides a programming command and identification information of a partition to store data, the memory controller 200 may autonomously convert the partition to store data into an open partition and control the memory device to perform a programming operation. The open partition autonomously converted by the memory controller 200 may be an implicit open partition.
[0090] In a state where all areas of the write buffer are allocated to open partitions, when a data input request for a partition other than the open partition is input, the memory controller 200 can convert any one of the open partitions into a closed partition. A closed partition can be converted from an open partition. On the other hand, when a data input request for a closed partition is input for the above reasons, the closed partition can be converted back to an open partition.
[0091] When data is input to all pages of the storage block corresponding to the open partition, the memory controller 200 may convert the open partition into a closed partition. Thereafter, the memory controller 200 may convert the closed partition into a full partition. A full partition may be a partition in which data can no longer be stored in the storage block corresponding to it. When the host 400 provides an erase command for a full partition or an active partition to the memory system, the memory controller 200 may control the memory device to perform an erase operation on the storage block corresponding to the full partition or the active partition. Thereafter, the memory controller 200 may convert the partition corresponding to the storage block on which the erase operation is performed into an empty partition. An empty partition may be a partition in which the storage block corresponding to it is in an erase state.
[0092] Figure 6 is a diagram showing a structure of a memory controller 200 according to an embodiment of the present disclosure.
[0093] Reference Figure 6 , the memory controller 200 may include a performance information storage device 210 , an implementation information calculator 220 , and a mapping information storage device 230 .
[0094] The performance information storage device 210 can store information or performance information about various performances, and the memory system can operate by the information or performance information about various performances. The performance information may include a hierarchical performance table with information about various hierarchical performances, and the memory system 100 can operate by the hierarchical performance table. In addition, the performance information may include information about the number of groups required to achieve the target performance. Here, the group may be any one of a partition, a super block, and a storage block. In addition, the performance information may include information about the method for storing data for achieving the target performance.
[0095] The implementation information calculator 220 may allocate memory blocks to groups to achieve target performance.
[0096] The mapping information storage device 230 can provide the mapping information to the implementation information calculator 220 to select the storage blocks to be allocated to the group required for the target performance. The mapping information may include information about the allocated storage blocks. In addition, the mapping information may include information about the current state of the partition and the storage blocks allocated to the partition. In addition, the mapping information may include location information of the partition. The mapping information storage device 230 may update the mapping information before transmitting the mapping information to the implementation information calculator 220.
[0097] When the implementation information calculator 220 allocates memory blocks to groups required for target performance, the mapping information storage device 230 may receive the newly opened groups and states related to the memory blocks allocated to the newly opened groups to update the mapping information. Memory blocks that are not allocated to groups and do not store data may be available blocks.
[0098] The implementation information calculator 220 may select the target performance from the hierarchical performance table in response to the target performance and the return request. When the memory controller 200 receives the return request from the host 400, the implementation information calculator 220 may receive the hierarchical performance table from the performance information storage device 210. In addition, the implementation information calculator 220 may check the target performance from the hierarchical performance table and select the number of groups required to achieve the target performance. In addition, the implementation information calculator 220 may determine a data interleaving method for achieving the target performance.
[0099] In an embodiment, there may be multiple pieces of implementation information, that is, multiple solutions for achieving the target performance. For example, when there are multiple solutions for achieving the target performance, the implementation information calculator 220 may select one of the multiple solutions of the implementation information to provide to the host 400.
[0100] Thereafter, the implementation information calculator 220 may receive mapping information from the mapping information storage device 230. The implementation information calculator 220 may calculate whether the target performance can be achieved based on the number of required groups, the data interleaving method, and the mapping information.
[0101] The implementation information calculator 220 may return the implementation information to the host 400 .
[0102] When the memory system 100 cannot achieve the target performance as a calculation result of the implementation information calculator 220 , the implementation information calculator 220 may provide the host 400 with an unachievable signal indicating that the memory system 100 cannot achieve the target performance.
[0103] Figure 7 It is shown that the storage Figure 6 8 is a diagram of an example of a hierarchical performance table 800 in the performance information storage device 210.
[0104] Reference Figure 7 , stored in Figure 6 The hierarchical performance table 800 in the performance information storage device 210 may include information of hierarchical performance ("rank"), and the memory system 100 can operate through the information of the hierarchical performance. In an embodiment, the hierarchical performance may include the lowest performance G0 to the highest performance G5. The hierarchical performance may be classified according to the speed at which the memory system 100 processes commands. In an embodiment, for ease of description, the performance is graded into the lowest performance G0 to the highest performance G5, but the present disclosure is not limited to such an embodiment.
[0105] The hierarchical performance may be predetermined when designing the memory system 100. In an embodiment, for the lowest hierarchical performance G0, commands may be processed at 100 MB / s. The lowest hierarchical performance G0 may be the lowest performance at which the memory system 100 may operate. Similarly, for the hierarchical performance G1, commands may be processed at 200 MB / s. Similarly, for the highest hierarchical performance G5, commands may be processed at 1000 MB / s. The highest hierarchical performance G5 may be the maximum performance of the memory system 100.
[0106] The hierarchical performance table 800 may include information about the number of groups ("# of groups") required to achieve a corresponding one of the hierarchical performances G0 to G5. A group may be any one of a partition, a super block, and a storage block. The number of required groups may vary depending on the size of the input data or the type of the group. For example, when the required group is a partition, the number of required groups may be less than when the required group is a storage block. Depending on the type of group, other hierarchical performance tables may be stored additionally. In an embodiment, for ease of description, the type of group is a partition, the input data is 400MB, and a storage block of 400MB may be allocated to a single partition.
[0107] The hierarchical performance table 800 may include a data interleaving method for each hierarchical performance. As described above in the detailed description of FIG. 3 , the data interleaving method may be a memory die interleaving method, which is an interleaving method between a plurality of memory devices connected to one channel CH1. In addition, the data interleaving method may further include channel interleaving, which includes interleaving between a plurality of channels CH and a memory device connected to each of the plurality of channels CH. Channel interleaving and memory die interleaving may be performed in a non-exclusive manner. Channel interleaving may be performed while performing memory die interleaving.
[0108] In an embodiment, the number of groups required for hierarchical performance G1 may be one. Similarly, the number of groups required for hierarchical performance G2 may be one. Two memory dies connected to the same channel may be required to achieve hierarchical performance G1. That is, in order to achieve hierarchical performance G1, each of the two memory dies can process 100MB of data. This process can be performed using a memory die interleaving method. Similarly, four memory dies connected to the same channel may be required to achieve hierarchical performance G2. That is, in order to achieve hierarchical performance G2, each of the four memory dies can process 100MB of data. This process can be performed using a memory die interleaving method. Therefore, even if the number of required groups is the same and the interleaving method is the same, hierarchical performance G1 and G2 may be different.
[0109] In an embodiment, the number of groups required for the hierarchical performance G3 may be two. Similarly, the number of groups required for the hierarchical performance G4 may be two. To achieve the hierarchical performance G3, a channel interleaving method using two channels may be used. Similarly, a channel interleaving method using two channels may be used to achieve the hierarchical performance G4.
[0110] Channel interleaving and memory die interleaving may be performed in a non-exclusive manner. In this case, the hierarchical performances G3 and G4 may be different depending on the number of memory dies used in one channel in the memory die interleaving method. Therefore, even if the number of required groups is the same and the interleaving method is the same, the hierarchical performances G3 and G4 may be different. In an embodiment, the information about the number of groups and the data interleaving method included in the hierarchical performance table 800 may vary.
[0111] Figure 8 is a diagram illustrating a process of storing data according to different performances according to an embodiment of the present disclosure.
[0112] Figure 8 Each memory device included in the illustrated memory package 1000 may include four memory blocks, and one memory block may store 100MB of data. However, this is an example, and the present disclosure is not limited to such an embodiment.
[0113] For ease of description, the memory controller 200 communicates with the memory package 1000 through four channels CH1 to CH4, as described above. Figure 2 Four memory dies can be connected to one channel.
[0114] Reference Figure 8 , the host 400 may transmit to the memory system Figure 7The target performances G0 and G1 among the hierarchical performances shown are a request to input 400MB of data. One data block represents a size of 100MB, and this is an example. The host 400 can transmit 400MB of data (in Figure 8 In addition, the host 400 may transmit 400 MB of data (in Figure 8 In addition, the host 400 may transmit 400 MB of data (in Figure 8 ) in the request.
[0115] When the implementation information calculator 220 receives the target performance, the implementation information calculator 220 may check the target performance and select the number of groups for achieving the hierarchical performance. Thereafter, the implementation information calculator 220 in the memory controller 200 may receive mapping information from the mapping information storage device 230 and determine the location information of the currently allocatable groups.
[0116] In an embodiment of the present disclosure, one partition may correspond to a storage block of 400MB. The method for inputting the cross-hatch data block received from the host 400 may include a method of storing data in one storage device, a method of storing data in two storage devices connected to one channel by using a die interleaving method, a method of storing data in four storage devices connected to one channel by using a die interleaving method, a method of storing data in one storage device connected to each of two channels by using a channel interleaving method, etc.
[0117] The target performance G0 may correspond to the lowest performance capable of operating the memory system and may be a method of storing all data in a memory block included in one memory device. The implementation information calculator 220 may store all data in the memory device_11 in order to process the cross-hatch data block at the target performance G0.
[0118] Similarly, methods for inputting black and gray data blocks received from the host 400 may include a method of storing data in one memory device, a method of storing data in two memory devices connected to one channel by using a die interleaving method, a method of storing data in four memory devices connected to one channel by using a die interleaving method, a method of storing data in one memory device connected to each of two channels by using a channel interleaving method, and the like.
[0119] The target performance G1 may be just higher than the target performance G0 as the lowest level at which the memory system can operate, and may be a method of storing data in two memory devices connected to one channel by using a die interleaving method. The implementation information calculator 220 may store 200MB of data in each of the memory device_21 and the memory device_22 connected to the channel 2CH2.
[0120] Similarly, methods for inputting a forward slash data block received from the host 400 may include a method of storing data in one memory device, a method of storing data in two memory devices connected to one channel by using a die interleaving method, a method of storing data in four memory devices connected to one channel by using a die interleaving method, a method of storing data in one memory device connected to each of two channels by using a channel interleaving method, etc. The target performance G1 may be a performance just higher than the target performance G0 as the lowest level at which the memory system can operate, and may be a method of storing data in two memory devices connected to one channel by using a die interleaving method. The implementation information calculator 220 may store 200MB of data in each of the memory device_23 and the memory device_24 connected to the channel 2CH2.
[0121] Fig. 9 is a diagram illustrating a process of storing data according to different performances according to another embodiment of the present disclosure.
[0122] Fig. 9 Each memory device included in the illustrated memory package 1000 may include four memory blocks, and one memory block may store 100MB of data. However, this is an example, and the present disclosure is not limited to such an embodiment.
[0123] For ease of description, the memory controller 200 communicates with the memory package 1000 through four channels CH1 to CH4, as shown in FIG. Figure 2 Four memory dies can be connected to one channel.
[0124] Reference Fig. 9 , host 400 can request Figure 7 The target performances G0, G1, and G2 among the hierarchical performances shown are input 400MB of data. One data block represents a size of 100MB, and this is an example. The host 400 can transmit 400MB of data (in Fig. 9 In addition, the host 400 may transmit 400MB of data (in Fig. 9In addition, the host 400 may transmit 400MB of data (in Fig. 9 In addition, the host 400 may transmit 400 MB of data (in Fig. 9 In addition, the host 400 may transmit 400MB of data (in Fig. 9 In addition, the host 400 may transmit 400MB of data (in Fig. 9 ) in the request marked with a forward slash.
[0125] As above Figure 8 As described in the detailed description of , one partition may correspond to a storage block of 400MB. The method for inputting the cross-hatch data block received from the host 400 may include a method of storing all data in one memory device, a method of storing data in two memory devices connected to one channel by using a die interleaving method, a method of storing data in four memory devices connected to one channel by using a die interleaving method, a method of storing data in one memory device connected to each of two channels by using a channel interleaving method, and the like.
[0126] The target performance G0 may correspond to the lowest performance at which the memory system can be operated. The implementation information calculator 220 may store all data in the memory device_11 so as to process the cross-hatch data block at the target performance G0.
[0127] The implementation information calculator 220 may store all data in the memory device_21 in order to process the light grey data blocks at the target performance G0.
[0128] Similarly, the implementation information calculator 220 may store 200MB of data in each of the memory device 31 and the memory device 32 in order to process the dark gray data block at the target performance G1. In this process, a die interleaving method may be utilized.
[0129] Similarly, the implementation information calculator 220 may store 200MB of data in each of the memory device 33 and the memory device 34 to fill the data block at the target performance G1 processing level. In this process, a die interleaving method may be utilized.
[0130] Similarly, the implementation information calculator 220 may store 200MB of data in each of the memory device_41 and the memory device_42 in order to process the vertically filled data block at the target performance G1. In this process, a die interleaving method may be utilized.
[0131] The target performance G2 may be a performance just higher than the target performance G1, and may be a method of interleaving data in four memory devices connected to one channel. The implementation information calculator 220 may store 100MB of data in each of the memory devices_41 to_44 connected to the channel 4CH4. In this process, data may be stored by a die interleaving method.
[0132] Fig.10 is a diagram illustrating a forced return request of implementation information according to an embodiment of the present disclosure.
[0133] Reference Fig.10 , the current memory package 1000 may be in a state where the cross-slash data blocks are stored in the memory device_11 with the hierarchical performance G0. In addition, the memory package 1000 may be in a state where the dark gray data blocks of 200MB are stored in each of the memory device_21 and the memory device_22 connected to the channel 2CH2 with the hierarchical performance G1. In addition, the memory package 1000 may be in a state where the front-slash data blocks of 200MB are stored in each of the memory device_23 and the memory device_24 connected to the channel 2CH2 with the hierarchical performance G1.
[0134] Thereafter, the host 400 may provide the memory system 100 with a data block input of 3200MB at the target performance G1 (at Fig.10 In an embodiment of the present disclosure, at least eight memory devices may be required to input a 3200MB data block requested by the host 400.
[0135] Therefore, in an embodiment of the present disclosure, in the case where the memory system 100 processes an input request at the lowest hierarchical performance G0, the memory system 100 may need eight memory devices connected to the memory controller 200 through two channels. In this case, channel interleaving and die interleaving may be performed in a non-exclusive manner between the memory devices connected to each channel. In an embodiment of the present disclosure, a method of inputting a data block of 3200MB at a target performance G1 may be a method of storing data in two memory devices each connected to four channels. In this case, channel interleaving and die interleaving may be performed in a non-exclusive manner between two memory devices connected to each of the four channels.
[0136] The method of storing point data blocks with target performance G1 may include a method of storing data in storage blocks corresponding to paths WAY1 and WAY2, a method of storing data in storage blocks corresponding to paths WAY2 and WAY3, and a method of storing data in storage blocks corresponding to paths WAY3 and WAY4. The implementation information calculator 220 may select a method of storing data in paths WAY1 and WAY2 so as to store 3200MB of data blocks. However, since the data stored in one super block 111 corresponds to memory device_11, memory device_12, memory device_21, and memory device_22, it is not possible to store data in paths WAY1 and WAY2 to achieve the hierarchical performance G1. Therefore, it is necessary to move the data stored in the super block 111.
[0137] Fig.11 It is shown in Fig.10 An illustration of the process of rearranging data in the case of .
[0138] Reference Fig.11 , the implementation information calculator 220 may move data stored in the super block 111 in response to the forced return request of the implementation information. In order to store the point data blocks in the paths WAY1 and WAY2 with the target performance G1, there may be the following multiple choices as the destination for storing the data from the super block 111: (1) memory devices _13, _14, _23, and _24, (2) memory devices _23, _24, _33, and _34, and (3) memory devices _33, _34, _43, and _44.
[0139] However, since the data is already stored in memory device_23 and memory device_24, the data stored in super block 111 needs to be moved to memory device_33, memory device_34, memory device_43, and memory device_44. After moving the data stored in super block 111, implementation information calculator 220 may communicate with memory package 1000 to store the point data blocks in paths WAY1 and WAY2.
[0140] Fig.12 is a flowchart for describing an operation of the memory controller 200 for implementing a return request for information according to an embodiment of the present disclosure.
[0141] Reference Fig.12 In operation S1200, the memory controller 200 may receive a return request for implementation information from the host 400. Specifically, the implementation information calculator 220 may receive a target performance and a return request for implementation information indicating whether the target performance can be achieved.
[0142] In operation S1201, the memory controller 200 may select group information and an interleaving method required to achieve target performance from the hierarchical performance table 800. For ease of description, a group is a partition. Therefore, the group information may be partition information.
[0143] The target performance and the group information and interleaving method required to achieve the target performance can be stored in the hierarchical performance table 800. The memory controller 200 can select the information of the group required to achieve the target performance, and can select the number of required groups according to the selected information. In addition, the interleaving method required to achieve the target performance can be selected.
[0144] In an embodiment, when the target performance is hierarchical performance G1 which is one of the hierarchical performances listed in the hierarchical performance table 800, the implementation information calculator 220 may select a single partition required to achieve the target performance G1 based on the hierarchical performance table 800. In addition, a memory die interleaving method may be selected based on the hierarchical performance table 800 as an interleaving method required for the target performance G1.
[0145] In operation S1203, the memory controller 200 may calculate whether a storage block can be allocated to a partition based on the selected partition information. Specifically, the implementation information calculator 220 may receive mapping information about the current state of the allocated storage block in the memory device 110 from the mapping information storage device 230. The implementation information calculator 220 may calculate whether a storage block can be allocated to a partition based on the group information and the mapping information.
[0146] In operation S1205, that is, when it is determined to allocate storage blocks to partitions to achieve the target performance, the memory controller 200 allocates storage blocks to the partitions. In an embodiment, when the implementation information calculator 220 is to store data in two memory devices connected to each of the two channels CH to achieve the target performance, the implementation information calculator 220 can open storage blocks in four memory devices to configure the partitions. Thereafter, the four storage blocks are allocated to the open partitions.
[0147] In an embodiment, when multiple partitions are selected to achieve the target performance, the memory controller 200 may allocate a storage block to each of the multiple partitions. For example, when two partitions are selected to achieve the target performance, the memory controller 200 may allocate four storage blocks to each of the two partitions.
[0148] In operation S1207, the memory controller 200 returns the implementation information to the host 400. Specifically, the implementation information may include the number and location of the partitions to store data and the data interleaving method of storing data. In addition, the implementation information may include information indicating whether there are any available storage blocks that can be allocated to the partitions to achieve the target performance.
[0149] In operation S1209, that is, when it is determined that the storage block is not allocated to the partition to achieve the target performance, the memory controller 200 may provide an unachievable signal indicating that the memory system 100 cannot achieve the target performance when the storage block cannot be allocated to the partition to be allocated to the host 400. Specifically, the unachievable signal may include information indicating that the number of partitions that can be allocated is 0 and information indicating that there is no available storage block that can be allocated to the partition to achieve the target performance.
[0150] Fig.13 is a flowchart for describing an operation of the memory controller 200 for implementing a forced return request of information according to an embodiment of the present disclosure.
[0151] Reference Fig.13 In operation S1300, the memory controller 200 may receive a return request for implementation information from the host 400. Specifically, the implementation information calculator 220 may receive a target performance and information indicating that implementation of the target performance is mandatory.
[0152] In operation S1301, the memory controller 200 may select group information and an interleaving method required to achieve a target performance from the hierarchical performance table 800. For ease of description, a group is a partition. Therefore, the group information may be partition information. The target performance and the group information and the interleaving method required to achieve the target performance may be stored in the hierarchical performance table 800. The memory controller 200 may select information of a suitable group for achieving the target performance, and may select the number of required groups according to the selected information.
[0153] Specifically, when the target performance is hierarchical performance G1 which is one of the hierarchical performances listed in the hierarchical performance table 800, the implementation information calculator 220 may select a single partition required to achieve the target performance G1 based on the hierarchical performance table 800. In addition, a memory die interleaving method may be selected based on the hierarchical performance table 800 as an interleaving method required for the target performance G1.
[0154] In operation S1303, the memory controller 200 may calculate whether the storage block can be allocated to the partition based on the selected partition information. Specifically, the implementation information calculator 220 may receive mapping information about the current state of the storage block allocated in the memory device 110 from the mapping information storage device 230. The implementation information calculator 220 may calculate whether the storage block can be allocated to the partition based on the partition information and the mapping information.
[0155] In operation S1305, that is, when it is determined to allocate storage blocks to partitions to achieve the target performance, the memory controller 200 allocates storage blocks to the partitions. In an embodiment, when the implementation information calculator 220 is to store data in two memory devices connected to each of the two channels CH to achieve the target performance, the implementation information calculator 220 may open storage blocks in four memory devices to configure the partitions. Thereafter, the implementation information calculator 220 allocates the four storage blocks to the open partitions.
[0156] In operation S1307, the memory controller 200 returns the implementation information to the host 400. Specifically, the implementation information may include the number and location of the partitions to store data and the data interleaving method of storing data. In addition, the implementation information may include information indicating whether there are any available storage blocks that can be allocated to the partitions to achieve the target performance.
[0157] In operation S1311, that is, when it is determined that the storage block is not allocated to the partition to achieve the target performance, the memory controller 200 may rearrange the data stored in the storage block within the currently selected partition based on the updated mapping information. In an embodiment, the implementation information calculator 220 may receive the mapping information from the mapping information storage device 230 and calculate the location of the storage block to which the data will be moved from the storage block within the currently selected partition to achieve the target performance. Thereafter, the implementation information calculator 220 may perform a data rearrangement process to move the data from the storage block within the currently selected partition to the calculated location.
[0158] Fig.14 is a diagram illustrating a user system to which a memory system according to an embodiment of the present disclosure is applied.
[0159] Reference Fig.14 , the user system 4000 includes an application processor 4100 , a memory module 4200 , a network module 4300 , a storage module 4400 , and a user interface 4500 .
[0160] The application processor 4100 may drive components included in the user system 4000, an operating system (OS), a user program, etc. For example, the application processor 4100 may include a controller, an interface, a graphic engine, etc. that controls components included in the user system 4000. The application processor 4100 may be provided as a system on chip (SoC).
[0161] The memory module 4200 may be used as a main memory, an operating memory, a buffer memory, or a cache memory of the user system 4000. The memory module 4200 may include a volatile random access memory such as DRAM, SDRAM, DDR SDRAM, DDR2 SDRAM, DDR3 SDRAM, LPDDR SDRAM, LPDDR2 SDRAM, and LPDDR3 SDRAM, or a nonvolatile random access memory such as PRAM, ReRAM, MRAM, and FRAM. For example, the application processor 4100 and the memory module 4200 may be packaged based on a stacked package (POP) and provided as one semiconductor package.
[0162] The network module 4300 can communicate with external devices. For example, the network module 4300 can support wireless communications such as: code division multiple access (CDMA), global system for mobile communications (GSM), wideband CDMA (WCDMA), CDMA-2000, time division multiple access (TDMA), long term evolution, Wimax, WLAN, UWB, Bluetooth, and Wi-Fi. For example, the network module 4300 may be included in the application processor 4100.
[0163] The storage module 4400 may store data. For example, the storage module 4400 may store data received from the application processor 4100. Alternatively, the storage module 4400 may send the data stored in the storage module 4400 to the application processor 4100. For example, the storage module 4400 may be implemented as a non-volatile semiconductor memory element such as a phase change RAM (PRAM), a magnetic RAM (MRAM), a resistive RAM (RRAM), a NAND flash memory, a NOR flash memory, and a three-dimensional NAND flash memory. As an example, the storage module 4400 may be configured as a removable storage device (removable drive), such as a memory card and an external drive of the user system 4000.
[0164] As an example, the storage module 4400 may include a plurality of nonvolatile memory devices, and the plurality of nonvolatile memory devices may be connected in a manner similar to the reference Figure 1 The storage module 4400 can be operated in the same manner as the memory device described in the reference Figure 1 The memory system 100 described above operates in the same manner.
[0165] The user interface 4500 may include an interface for inputting data or instructions to the application processor 4100 or for outputting data to an external device. For example, the user interface 4500 may include a user input interface such as a keyboard, a keypad, a button, a touch panel, a touch screen, a touch pad, a touch ball, a camera, a microphone, a gyro sensor, a vibration sensor, and a piezoelectric element. The user interface 4500 may include a user output interface such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display device, an active matrix OLED (AMOLED) display device, an LED, a speaker, and a monitor.
[0166] Although the detailed description of the present disclosure describes specific embodiments, various changes and modifications can be made without departing from the scope and technical spirit of the present disclosure. Therefore, the scope of the present disclosure should not be limited to the above embodiments, but should be determined by the equivalents of the claims of the present disclosure and the appended claims.
[0167] Although the present disclosure has been described with reference to limited embodiments and drawings, the present disclosure is not limited to the embodiments, and those skilled in the art to which the present disclosure pertains may make various changes and modifications based on the disclosed description.
[0168] In the above-mentioned embodiments, all steps may be selectively performed or omitted. In addition, the steps in each embodiment do not have to be performed in order and may be reversed. On the other hand, the embodiments of the present disclosure disclosed in this specification and the accompanying drawings are only for the purpose of easily describing the technical content of the present specification and facilitating understanding of the specific examples of the present specification, and do not limit the scope of the present specification. That is, it is obvious to a technician in the field to which the present disclosure belongs that other modified examples based on the technical spirit of the present disclosure are feasible.
[0169] In addition, this specification and the accompanying drawings disclose various embodiments of the present disclosure. Although specific terms are used, in order to easily describe the technical content of the present disclosure and facilitate the understanding of the purpose of the present disclosure, the terms use general meanings and are not intended to limit the scope of the present disclosure. It is obvious to a person of ordinary skill in the art to which the present disclosure belongs that, in addition to the embodiments disclosed herein and in the attached claims, other modified examples based on the technical ideas of the present disclosure can also be implemented. In addition, the embodiments can be combined to form additional embodiments.
Claims
1. A memory system, include: a plurality of memory devices, each memory device comprising a plurality of memory blocks; as well as Memory Controller: receiving from the outside a request for return of information of a target performance and implementation information, the implementation information indicating whether the target performance can be achieved and including group information about respective sizes of one or more groups required to achieve the target performance, providing the implementation information to the external party in response to the return request, and Memory blocks are allocated to the desired groups based on the implementation information.
2. The memory system according to claim 1, in, The memory controller comprises: a performance information storage device storing a hierarchical performance table including information on hierarchical performance of the memory system and information on the number of groups required to achieve each hierarchical performance; a mapping information storage device storing mapping information about the allocated storage blocks; and An implementation information calculator selects the group information based on the hierarchical performance table and the target performance, and provides the implementation information to the outside.
3. The memory system according to claim 2, in, When the memory device includes an available memory block to be allocated to the required group among the plurality of memory blocks, the achievement information calculator provides achievement information indicating that the target performance can be achieved.
4. The storage system according to claim 2, in, When the memory device lacks available memory blocks to be allocated to the required group among the plurality of memory blocks, the achievement information calculator provides an unachievable signal indicating that the target performance cannot be achieved.
5. The memory system according to claim 3, in, The plurality of memory devices are connected to the memory controller through a plurality of channels.
6. The memory system according to claim 5, in, The classification performance includes: A first level of performance means that among the memory devices, each memory device operates in an exclusive manner; A second level of performance means that among the memory devices, a plurality of memory devices connected via one of the channels operate in a non-exclusive manner; The third level of performance means that among the memory devices, a plurality of memory devices connected through respective channels operate in a non-exclusive manner; The fourth level of performance means that, among the memory devices, a plurality of memory devices connected through different channels operate in a non-exclusive manner.
7. A memory system, include: a plurality of memory devices, each memory device comprising a plurality of memory blocks; as well as Memory Controller: receiving from the outside information on target performance and information indicating that achievement of said target performance is mandatory, moving data from one or more already allocated memory blocks among a plurality of memory blocks within a first memory device of the memory devices to a second memory device of the memory devices, providing implementation information to the external part, the implementation information including group information about the respective sizes of one or more groups required to achieve the target performance, and Memory blocks are allocated to the desired groups based on the implementation information.
8. The memory system according to claim 7, in, The memory controller comprises: a mapping information storage device storing mapping information about the allocated storage blocks; and An information calculator is implemented to receive the mapping information from the mapping information storage device and determine whether to move the data from the already allocated storage block to the second storage device.
9. The memory system according to claim 8, in, The implementation information calculator further: When determining to move the data from the already allocated storage block to the second memory device, determining a storage block included in the second memory device based on the mapping information, and The data is moved from the already allocated memory block to the determined memory block.
10. The memory system according to claim 9, in, The plurality of memory devices are connected to the memory controller through a plurality of channels.
11. A method of operating a memory system, the method include: receiving from the outside information on target performance and a return request for achievement information indicating whether the target performance can be achieved; calculating the achievement information, the achievement information comprising group information regarding respective sizes of one or more required groups to achieve the target performance; and The implementation information is provided to the outside in response to the return request.
12. The method according to claim 11, in, Calculating the realization information includes: receiving a hierarchical performance table from a performance information storage device; receiving mapping information from a mapping information storage device; selecting the type of the desired group based on the hierarchical performance table; and One or more available blocks are selected to be allocated to the desired group based on the mapping information.
13. The method according to claim 12, in, Providing the implementation information to the outside includes: when the memory system includes available memory blocks to be allocated to the required group, providing implementation information further indicating that the target performance can be achieved.
14. The method according to claim 12, in, Providing the achievement information to the outside includes: when the memory system lacks available memory blocks to be allocated to the required group, providing an unachievable signal indicating that the target performance cannot be achieved.
15. The method according to claim 11, in, The return request includes information indicating that achievement of the target performance is mandatory.
16. The method according to claim 15, further comprising: include: When a first memory device within the memory system lacks available memory blocks to be allocated to the desired group, data is moved from one or more already allocated memory blocks of the first memory device to a second memory device within the memory system.
17. A computing system, include: a host device providing information of a target performance and a return request for implementation information, the implementation information indicating whether the target performance can be implemented and including group information about respective sizes of one or more groups required to implement the target performance; and Memory system: When the target performance can be achieved, providing the achievement information to the host device, and A plurality of memory blocks are allocated to the desired group in response to the return request.
18. The computing system of claim 17, in, The host device comprises: a data attribute controller storing the implementation information and generating a write request to be provided to the memory system based on the implementation information; and A memory system controller communicates with the memory system to provide the write request to the memory system.
19. The computing system of claim 18, in, The group information includes the number of the required groups, the positions of the required groups, and a data interleaving method for storing data in the required groups.
