KR-102962395-B1 - MEMORY SYSTEM AND OPERATIONG METHOD THEREOF
Abstract
The memory system of the present invention comprises: a non-volatile memory device storing user data and metadata of said user data; and a controller that uploads at least a portion of said metadata to a host, wherein if the size of the free space among the storage space of said host allocated for storing said uploaded metadata is less than or equal to a set value, the controller uploads hot metadata to said host according to the number of a plurality of normal read requests received from said host and the ratio of said normal read requests.
Inventors
- 김광수
Assignees
- 에스케이하이닉스 주식회사
Dates
- Publication Date
- 20260511
- Application Date
- 20200622
Claims (20)
- A non-volatile memory device storing user data and metadata of said user data; and It includes a controller that uploads at least a portion of the above metadata to a host, and If the size of the free space among the storage space of the host allocated for the storage of the uploaded metadata is less than or equal to a set value, the controller uploads hot metadata to the host according to the number of multiple normal read requests received from the host that are not accompanied by a physical address and the ratio of the normal read requests. The ratio of normal lead requests above includes the ratio of normal lead requests to a plurality of lead requests received from the host, and The above controller is a memory system that uploads hot metadata to the host to replace cold metadata among the uploaded metadata when the ratio of the above normal read requests is greater than or equal to a first threshold.
- delete
- In paragraph 1, The above controller A memory system that manages a read count, which is the number of times a specific logical address has been requested to be read by a host, when the size of the above free space is less than or equal to a set value.
- In paragraph 3, The above controller A memory system that selects the hot metadata based on the above read count.
- In paragraph 3, The above read count is a memory system comprising a normal read count for the above normal read request and an HPB read request count for an HPB read request containing a physical address.
- In paragraph 1, The above controller A memory system that initializes upload information for at least some of the metadata uploaded to the host in order to upload the above hot metadata to the host.
- delete
- In paragraph 1, A memory system in which the controller uploads hot metadata to the host to replace the entire uploaded metadata if the ratio of the normal read requests is greater than or equal to a second threshold that is greater than the first threshold.
- In paragraph 1, The above metadata is a memory system comprising map information including a logical address used by the host and a physical address of the memory device corresponding to the logical address.
- In paragraph 1, A memory system where the above setting value is '0' or greater.
- A method of operation of a memory system comprising a non-volatile memory device storing user data and metadata of said user data, and a controller that uploads at least a portion of said metadata to a host, A step of determining whether the size of the free space among the storage space of the host allocated for storing the uploaded metadata is less than or equal to a set value as the above metadata is uploaded to the host; If the size of the above free space is less than or equal to a set value, the method includes the step of uploading hot metadata to the host according to the number of multiple normal read requests received from the host that are not accompanied by a physical address and the ratio of the normal read requests; The ratio of normal lead requests above includes the ratio of normal lead requests to a plurality of lead requests received from the host, and The step of uploading the above hot metadata to the host A method of operation of a memory system comprising the step of uploading hot metadata to the host to replace cold metadata among the uploaded metadata when the ratio of the above normal read requests is greater than or equal to a first threshold.
- delete
- In Paragraph 11, The step of uploading the above hot metadata to the host A method of operation of a memory system comprising the step of managing a read count, which is the number of times a specific logical address has been requested to be read by a host.
- In Paragraph 13, The step of uploading the above hot metadata to the host A method of operating a memory system comprising the step of selecting the hot metadata based on the above read count.
- In Paragraph 13, A method of operation of a memory system in which the above read count includes a normal read count for the above normal read request and an HPB read request count for an HPB read request containing a physical address.
- In Paragraph 11, The step of uploading the above hot metadata to the host A method of operation of a memory system comprising the step of initializing upload information for at least some of the metadata uploaded to the above host.
- delete
- In Paragraph 11, The step of uploading the above hot metadata to the host A method of operation of a memory system for uploading hot metadata to the host to replace the entire uploaded metadata when the ratio of the above normal read requests is greater than or equal to a second threshold that is greater than the first threshold.
- In Paragraph 11, A method of operation of a memory system comprising the above metadata including map information that includes a logical address used by the host and a physical address of the memory device corresponding to the logical address.
- In Paragraph 11, The above setting value is a method of operation of a memory system that is '0' or greater.
Description
Memory System and Method of Operation Thereof The present invention relates to a memory system and a method of operation thereof, and more specifically, to a read operation method and apparatus of a memory system. Recently, the paradigm of the computing environment is shifting toward ubiquitous computing, which enables the use of computer systems anytime and anywhere. As a result, the use of portable electronic devices such as mobile phones, digital cameras, and laptop computers is surging. These portable electronic devices generally utilize memory systems that employ memory devices—in other words, data storage devices. Data storage devices are used as the primary or secondary memory of portable electronic devices. Unlike hard disks, data storage devices utilizing memory do not have mechanical moving parts, offering superior stability and durability. Additionally, they have the advantages of very fast information access speeds and low power consumption. Examples of memory systems possessing these advantages include USB (Universal Serial Bus) memory devices, memory cards with various interfaces, and Solid State Drives (SSDs). FIG. 1 illustrates a method for sharing map information according to an embodiment of the present invention. FIG. 2 schematically illustrates an example of a data processing system including a memory system according to an embodiment of the present invention. FIG. 3 illustrates a controller within a memory system according to an embodiment of the present invention. FIG. 4 illustrates the configuration of a host and a memory system in a data processing system according to an embodiment of the present invention. FIG. 5 illustrates the read operation of a host and a memory system in a data processing system according to an embodiment of the present invention. FIGS. 6a and 6b illustrate a first and second example of a transaction between a host and a memory system in a data processing system according to an embodiment of the present invention. FIGS. 7a to 7d illustrate the first to fourth operations of a host and memory system according to an embodiment of the present invention. FIG. 8 illustrates the operation of a memory system managing host memory according to an embodiment of the present invention. Figure 9 details the operation in which the memory system manages host memory among the operations described in Figure 8. FIG. 10 illustrates the operation of a memory system according to an embodiment of the present invention uploading map information to a host. FIGS. 11a to 11e exemplarily illustrate a specific operation in which a memory system according to an embodiment of the present invention manages a host memory. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be noted that in the following description, only the parts necessary for understanding the operation according to the present invention will be described, and the description of other parts will be omitted so as not to obscure the essence of the present invention. Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings. FIG. 1 illustrates a method for sharing map information according to an embodiment of the present invention. Referring to FIG. 1, a host (102) and a memory system (110) can be linked. The host (102) can be understood as a computing device and can be implemented in the form of a mobile device, computer, server, etc. The memory system (110) linked with the host (102) receives commands from the host (102) and can store or output data in response to the received commands. The memory system (110) may have a storage space including non-volatile memory cells. For example, the memory system (110) may be implemented in the form of flash memory, a solid-state drive (SSD), etc. In order to store data requested by the host (102) in a storage space containing non-volatile memory cells, the memory system (110) may perform mapping that connects the file system used by the host (102) with the storage space containing non-volatile memory cells. For example, the address of data according to the file system used by the host (102) may be called a logical address or a logical block address, and the address of data in the storage space containing non-volatile memory cells may be called a physical address or a physical block address. When the host (102) transmits a logical address to the memory system (110) along with a read request, the memory system (110) may search for a physical address corresponding to the logical address and then output the data stored at the searched physical address to the host (102). During this process, mapping may be performed in the process where the memory system (110) searches for a physical address corresponding to the logical address transmitted by the host (102). If the host (102) can perform the mapping that the memory system (110) performs,