File system and host performance enhancer for flash storage
By using the RAM of the host device to store the logical to physical address mapping table in the data storage system and preventing frequent dirty entry notifications, the problem of inefficient logical to physical address mapping management is solved and the reading and writing of the data storage system is improved. efficiency, improving system performance.
Patent Information
- Application Number
- CN202180001090.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-03-31
AI Technical Summary
When existing data storage systems read and write files, due to the low efficiency of mapping management and retrieval from logical to physical addresses, the speed of the file reading and writing process is limited, especially when frequently changing files have a negative impact on performance. negative impact.
By cooperating between the host device and the memory device, using the RAM of the host device to store the logical-to-physical (L2P) mapping table, and preventing the transmission of frequently dirty entry notifications in the memory device, the frequent update operations of the host device are reduced and the memory is improved. The read and write efficiency of the device.
It effectively improves the reading and writing efficiency of the data storage system, reduces the performance burden of writing operations on host devices and memory devices, and improves the overall performance of the system.
Smart Images

Figure CN113227995B
Abstract
Description
Technical Field
[0001] The present invention relates to a device, method and system for enhancing a data storage system. Specifically, the device, method and system improve the reading and writing efficiency of the data storage system. Background Art
[0002] In order to read or write a file in an operating system, the data storage system determines the logical address and physical address of the file. The management and retrieval of the logical address and the physical address may be cumbersome for the data storage system and may limit the speed of the file reading and writing process. Summary of the invention
[0003] Some aspects of the present disclosure relate to apparatus and methods for enhancing data storage systems. For example, systems and methods are provided for improving the reading and writing efficiency of data storage systems.
[0004] Some aspects of the present disclosure provide a host device including a memory and a processor coupled to the memory. The memory is used to store a logical to physical (L2P) mapping table, the L2P mapping table including entries that map logical addresses of files to physical addresses of files. The processor is configured to generate a first configuration corresponding to the file and transmit the first configuration to the memory device. The first configuration instructs the memory device to refrain from transmitting an L2P dirty entry notification to the host device. The L2P dirty entry notification corresponds to the file.
[0005] Some aspects of the present disclosure provide a memory device including a memory and a processor coupled to the memory. The memory controller is configured to: receive a first configuration corresponding to a file from a host device; refrain from transmitting a logical to physical (L2P) dirty entry notification corresponding to the file to the host device; and transmit a first confirmation to the host device, wherein the first confirmation indicates that the L2P dirty entry notification is refrained from being transmitted to the host device.
[0006] Some aspects of the present disclosure provide a system including a host device and a memory device. The host device is configured to generate a first configuration corresponding to a file and transmit the first configuration to the memory device. The memory device is configured to receive the first configuration from the host device; and refrain from transmitting a logical to physical (L2P) dirty entry notification corresponding to the file to the host device.
[0007] Some aspects of the present disclosure relate to a system, wherein the host device is further configured to: generate a second configuration corresponding to the file; and transmit the second configuration to the memory device, wherein the second configuration instructs the memory device to resume transmitting L2P dirty entry notifications corresponding to the file to the host device.
[0008] Some aspects of the present disclosure provide a system including a host device and a memory device. The host device includes a first memory for storing a logical-to-physical (L2P) mapping table, the L2P mapping table including entries that map a logical address of a file to a physical address of the file; the host device also includes a processor coupled to the first memory, and the processor is configured to: generate a first configuration corresponding to the file; and transmit the first configuration to the memory device, wherein the first configuration commands the memory device to refrain from transmitting an L2P dirty entry notification to the host device, and wherein the L2P dirty entry notification corresponds to the file. The memory device includes a second memory and a memory controller coupled to the second memory; the memory controller is configured to: receive the first configuration corresponding to the file from the host device; refrain from transmitting a logical-to-physical (L2P) dirty entry notification corresponding to the file to the host device; and transmit a first confirmation to the host device, wherein the first confirmation indicates that the L2P dirty entry notification is refrained from being transmitted to the host device.
[0009] Some aspects of the present disclosure provide a method for managing an L2P mapping table of a memory device. The method includes: receiving a first configuration corresponding to a file from a host device coupled to the memory device; suppressing transmission of a logical to physical (L2P) dirty entry notification corresponding to the file to the host device; and transmitting a first confirmation to the host device, wherein the first confirmation indicates suppressing transmission of the L2P dirty entry notification to the host device.
[0010] The present disclosure is provided only for the purpose of illustrating certain aspects, to provide an understanding of the subject matter described herein. Therefore, the above features are only examples and should not be interpreted as narrowing the scope or spirit of the subject matter in the present disclosure. Other features, aspects and advantages of the present disclosure will become apparent from the following detailed description, drawings and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are incorporated herein and form a part of the specification.
[0012] Figure 1 An exemplary system is shown that implements enhancements to a data storage system in accordance with some aspects of the present disclosure.
[0013] Figure 2 An exemplary method for reading from a memory device according to aspects of the present disclosure is shown.
[0014] Figure 3 An exemplary method for writing into a memory device according to aspects of the present disclosure is shown.
[0015] Figure 4 An exemplary method for managing a logical-to-physical (L2P) mapping table with setting thermal configuration is shown.
[0016] Figure 5 An exemplary method for managing an L2P mapping table with clear hot configuration is shown.
[0017] Figure 6 An exemplary method for generating a set thermal configuration and a clear thermal configuration is shown.
[0018] Figure 7 is an exemplary computer system for implementing some aspects of the present disclosure or portion(s) thereof.
[0019] In the drawings, like reference numbers generally indicate the same or similar elements. Additionally, generally, the leftmost digit(s) in a reference number identifies the drawing in which the reference number first appears. DETAILED DESCRIPTION
[0020] The present invention provides system, apparatus, device, method and / or computer program product embodiments and / or combinations and sub-combinations thereof for managing a data storage system. The embodiments disclosed herein can improve the writing and reading efficiency of a storage system.
[0021] According to some aspects, a file in an operating system may correspond to a logical address or a physical address. An operating system may identify a file by a logical address, which may also be referred to as a virtual address. In some aspects, one or more processors of a device generate a logical address for a file and identify the file by the logical address. For example, when executing an application or program to read a file, one or more processors determine the logical address of the file. Subsequently, the logical address is mapped to a physical address, where the data of the file is actually stored in the memory of the device. Then, the one or more processors retrieve the data from the memory based on the physical address.
[0022] According to some aspects, a component of a device (e.g., a flash translation layer (FTL)) maps a logical address to a physical address. For example, the FTL may maintain a logical-to-physical (L2P) mapping table. Each entry in the L2P mapping table may represent a mapping relationship between a logical address and a physical address. When the mapping relationship changes, the FTL updates the L2P mapping table. For example, when the physical address of a file changes, the FTL updates the entry of the L2P mapping table accordingly to map the logical address to an updated physical address. The FTL may reside in a device, including but not limited to a wireless communication device, a home entertainment device, a smart phone, a laptop computer, a desktop computer, a tablet computer, a personal assistant, a monitor, a television, a wearable device, an Internet of Things (IoT) device, an in-vehicle device, a memory device (i.e., an eMMC NAND flash memory device, a UFS NAND flash memory device), etc.
[0023] According to some aspects, a memory device such as a NAND flash memory device (i.e., eMMC or UFS) can utilize an L2P mapping table for reading and writing data of a file. For example, the L2P mapping table can be stored in a flash memory of a memory device. When the NAND flash memory device receives a read request for a file, the FTL can retrieve one or more L2P entries of the L2P mapping table and convert the logical address of the file into a physical address. Subsequently, a processor of the NAND flash memory device can retrieve the data of the file based on the physical address. When the NAND flash memory device receives a write request for a file, the processor can perform erase and write operations to write the data of the file in the physical address. For example, the processor can erase the data stored in the physical address of the file and write the data of the file in the physical address. In some aspects, the processor can write the data of the file in different physical addresses. For example, the processor can determine that the physical address of the file is not suitable for storing data and locate an updated physical address. The processor coupled to the FTL updates the L2P mapping table to reflect such a change so that the logical address is mapped to the updated physical address.
[0024] In some aspects, the read and write operations described above may limit the efficiency of the NAND flash memory device. For example, in a read operation, it may be time-consuming to retrieve one or more L2P entries of the L2P mapping table. Especially when the data to be read is small and the read frequency is high, due to the limitation of the flash memory read speed, the L2P mapping table retrieval becomes troublesome. In some aspects, the NAND flash memory device may also include a random access storage (RAM) memory. However, due to the limited size of the RAM memory, the L2P mapping table may not be suitable in the RAM memory. In addition, in a write operation, whenever the physical address changes, the processor and FTL can update the L2P mapping table. Similar to the read operation, this may also limit the efficiency of the NAND flash memory device.
[0025] According to some aspects, the memory device can be connected to the host device. The host device may include a flash friendly file system (F2FS), but is not limited to wireless communication devices, home entertainment devices, smart phones, laptop computers, desktop computers, tablet computers, personal assistants, monitors, televisions, wearable devices, Internet of Things (IoT) devices, vehicle-mounted devices and memory devices, etc. The host device may include a RAM with a larger capacity than the RAM of the memory device. In some aspects, the memory device may store the L2P mapping table in the RAM of the host device. In some aspects, the speed at which the memory device reads from the RAM of the host device may be higher than the speed at which the memory device reads from its own flash memory. In other words, the speed at which the L2P mapping table is retrieved from the RAM of the host device may be higher than the speed at which the L2P mapping table is retrieved from the flash memory of the memory device. This collaboration between the memory device and the host device may also be referred to as a host performance enhancer (HPB) system.
[0026] In some aspects, storing the L2P mapping table in the host device improves the efficiency of read and write operations. For example, as discussed above, the memory device can retrieve one or more L2P entries of the L2P mapping table from the host device at a higher speed. In some aspects, the host device sends a read and / or write request to the memory device. The host device can combine the read and / or write request with the corresponding entry of the L2P mapping table to form a combined message, and send the combined message to the memory device. In such a case, there is no delay caused by retrieving one or more L2P entries of the L2P mapping table.
[0027] According to some aspects, when the processor of the memory device writes the data of the file in the new physical address, one or more L2P entries of the L2P mapping table need to be updated because the logical address is mapped to the new physical address after the write operation. When the host device stores the L2P mapping table, the host device needs to update the L2P mapping table stored in its RAM.
[0028] In some aspects, when the corresponding physical address of one or more L2P entries changes, the memory device may mark the one or more L2P entries as dirty entries. The memory device notifies the host device that the one or more L2P entries are dirty entries. The host device may request an update of the dirty entries from the memory device to update the L2P mapping table stored in the RAM of the host device. After the update, the dirty entries become clean.
[0029] According to some aspects, some entries of the L2P mapping table may become dirty entries more frequently than other entries. For example, a file containing a directory entry ("dentry") block or a direct node block of a directory may be frequently subject to change. In other words, the processor of the memory device may frequently perform a write operation to change the data of the file. Therefore, it is necessary to frequently update the entries of the L2P mapping table corresponding to the file. Therefore, in order to update the entry, the host device may frequently perform a write operation to the RAM of the host device on the file. Therefore, the frequently changed files may have a negative impact on the performance of the HPB system.
[0030] In some aspects, because write operations affect the performance of the host device, frequently changing files affect the host device. As shown in Table 1 below, for example, when 70% of the operations are write operations, the input / output operations per second (IOPS) is 13.4k. When there are only read operations, the IOPS is 56.1k. Therefore, reducing the number of write operations can improve the performance of the host device.
[0031]
[0032] Table 1 Write operation impact
[0033] In some aspects, frequently changing files also affect the memory device. For example, the memory device may send dirty entry notifications and entry updates to the host device to report such changes to the file, which places a burden on the memory device and reduces the read and / or write efficiency of the memory device.
[0034] According to some aspects, the host device may identify frequently changing files as hot files. The host device may notify the memory device to disable the HPB function for hot files. For example, the memory device may refrain from transmitting dirty entry notifications to the host device and rely on the L2P mapping table stored in the flash memory of the memory device for write and read operations. In some aspects, when the memory device determines that the entry corresponding to the hot file of the L2P mapping table becomes dirty, the memory device may refrain from sending notifications to the host device. In such a case, frequent entry updates in the host device are avoided. The memory device may update the entry of the L2P mapping table in the memory device when the corresponding physical address changes. In some aspects, the memory device may ignore the entry of the hot file received from the host device in a read and / or write request. On the contrary, the FTL maps the logical address to the physical address based on the L2P mapping table stored in the memory device. In some aspects, the host device may refrain from sending the entry of the hot file to the memory device.
[0035] According to some aspects, the host device identifies hot files based on attributes of the files. For example, the host device can determine that a file containing a directory entry block or a direct node block of a directory is a hot file. The host can also identify hot files based on user requests. For example, the user can send a request to identify hot files to the host device.
[0036] According to some aspects, the host device can change the status of the hot file. For example, the host device can send a clear hot notification to the memory device, thereby indicating that some hot files are no longer hot files. In such a case, the memory device resumes HPB operation. For example, when the entry corresponding to the file becomes dirty, the memory device resumes sending the dirty entry notification to the host device.
[0037] Various embodiments of these features will now be discussed with respect to the corresponding drawings.
[0038] Figure 1 An exemplary system 100 for enhancing a data storage system according to some aspects of the present disclosure is shown. The system 100 may include a host device 102 and a memory device 110. The memory device 110 may be a NAND flash memory device provided in a wireless communication device, a home entertainment device, a smart phone, a laptop computer, a desktop computer, a tablet computer, a personal assistant, a monitor, a television, a wearable device, an Internet of Things (IoT) device, an in-vehicle device, etc. The memory device 110 may include a memory controller 112 and a memory 114. The memory 114 may include a RAM memory and / or a flash memory. The host device 102 may include a processor 104, a memory 106, and a controller 108. In some aspects, the host device 102 communicates with the memory device 110 via the controller 108.
[0039] According to some aspects, the host device 102 stores the L2P mapping table in the memory 106, wherein the memory 106 may be a RAM memory. The L2P mapping table may include entries that map logical addresses to physical addresses. For example, the processor 104 may receive a read request for a file. The read request may include one or more logical addresses of the file. In some aspects, the processor 104 may receive a read request from an application. The processor 104 may retrieve one or more L2P entries of the L2P mapping table from the memory 106. The processor 104 may combine the read request with the one or more L2P entries and send the combined read request to the controller 108. The controller 108 may transmit the combined read request and the one or more L2P entries to the memory device 110. The memory controller 112 of the memory device 110 may retrieve one or more logical addresses from the read request and map the one or more logical addresses to one or more physical addresses based on the one or more L2P entries. The memory controller 112 may retrieve data from the memory 114 based on the one or more physical addresses. Upon retrieving the data, the memory device 110 may send the data to the host device 102.
[0040] In some aspects, the controller 108 may retrieve one or more L2P entries of the L2P mapping table directly from the memory 106. For example, the controller 108 retrieves one or more logical addresses from a read request received from the processor 104. Based on the one or more logical addresses, the controller 108 retrieves one or more L2P entries of the L2P mapping table from the memory 106.
[0041] According to some aspects, the processor 104 receives a write request for a file. The write request may include one or more logical addresses of the file and data to be written to the file. In some aspects, the processor 104 may receive the write request from an application. Similar to the above, the controller 108 may send a combination of the write request and one or more L2P entries of the L2P mapping table to the memory device 110. Similar to the above discussion, the memory controller 112 may determine one or more physical addresses based on the write request and the one or more L2P entries. The memory controller 112 may determine that one or more physical addresses are not available for writing data. For example, one or more physical addresses may not have enough space to write data. The memory controller 112 may determine one or more updated physical addresses and store data in the one or more updated physical addresses. Therefore, one or more L2P entries become dirty because one or more logical addresses are no longer mapped to the one or more physical addresses. The memory controller 112 generates a dirty entry notification indicating that one or more L2P entries are dirty. The memory device 110 transmits the dirty entry notification to the host device 102. The host device 102 may request an update of the one or more L2P entries from the memory device 110 and update the one or more L2P entries in the memory 106. In some aspects, the host device 102 may request one or more updated physical addresses and update the one or more L2P entries in the memory 106 based on the one or more updated physical addresses.
[0042] According to some aspects, the processor 104 may determine that a file is a hot file by, for example, a F2FS (flash friendly file system) provided in the host device 102. The processor 104 may determine based on the file type. For example, the processor 104 may determine that a file containing a directory entry block or a direct node block of a directory is a hot file. This is because these files are frequently subject to changes. The processor 104 may determine that a file is a hot file based on a user request. When determining that a file is a hot file, the processor 104 may notify the memory device 110 via the controller 108. For example, the processor 104 may generate a hot configuration and send it to the controller 108, and the controller 108 forwards the hot configuration to the memory device 110. The memory device 110 may mark the file as hot. When one or more physical addresses of the file change, the memory device 110 may refrain from notifying the host device 102. Instead, the memory device 110 updates one or more L2P entries of the L2P mapping table stored in the memory 114 based on the change of one or more physical addresses of the file.
[0043] According to some aspects, the processor 104 can determine that the file is no longer a hot file. The processor 104 can determine based on a change in the file type. For example, the processor 104 can determine that the file no longer contains a directory entry block or a direct node block of a directory. The processor 104 can also determine based on a user request. For example, the processor 104 can receive a user request indicating that the file is no longer a hot file. When determining that the file is no longer a hot file, the processor 104 can notify the memory device 110 via the controller 108. For example, the processor 104 can generate a clear hot configuration, and send the clear hot configuration to the controller 108, and the controller 108 forwards the clear hot configuration to the memory device 110. The memory device 110 can mark that the file is no longer a hot file. When the physical address of the file changes, the memory device 110 resumes notifying the host device 102.
[0044] Figure 2 An exemplary method for reading from a memory device according to aspects of the present disclosure is shown. For convenience and not limitation, Figure 1 and Figure 7 Component Description Figure 2 The method 200 may represent an electronic device (eg, Figure 1 The method 200 may also be performed by the host device 102 to perform the read operation. Figure 7 The method 200 is performed by the computer system 700. However, the method 200 is not limited to the specific aspects depicted in these figures, and other systems may be used to perform the method, as will be understood by those skilled in the art. It should be understood that not all operations may be required, and operations may not be performed in the same manner as described above. Figure 2 The same order as shown in .
[0045] At 202, the electronic device may generate a read request. For example, the electronic device generates a read request for reading a data group of a file. The read request may include one or more logical addresses of the file.
[0046] At 204, the electronic device may retrieve an L2P entry corresponding to the file or one or more logical addresses. For example, the electronic device may retrieve the L2P entry from an L2P mapping table stored in the electronic device.
[0047] At 206, the electronic device may combine the read request with the L2P entry. For example, the electronic device may generate a combined request including the read request and the L2P entry. The electronic device may also encrypt the combined request.
[0048] At 208, the electronic device may transmit the combined request to a memory device, e.g., Figure 1 A memory device 110 is provided.
[0049] At 210 , the electronic device may receive a data group from a memory device, wherein the data group corresponds to a file.
[0050] Figure 3 An exemplary method for writing to a memory device according to aspects of the present disclosure is shown. For convenience and not limitation, Figure 1 and Figure 7 Component Description Figure 3 The method 300 may represent an electronic device (eg, Figure 1 The method 300 may also be performed by Figure 7 The method 300 is performed by a computer system 700. However, the method 300 is not limited to the specific aspects depicted in these figures, and other systems may be used to perform the method, as will be understood by those skilled in the art. It should be understood that not all operations may be required, and operations may not be performed in the same manner as described above. Figure 3 The same order as shown in .
[0051] At 302, the electronic device may generate a write request. For example, the electronic device generates a write request for writing a data group of a file. The write request may include one or more logical addresses of the file and the data group.
[0052] At 304, the electronic device may retrieve an L2P entry corresponding to the file or one or more logical addresses. For example, the electronic device may retrieve the L2P entry from an L2P mapping table stored in the electronic device.
[0053] At 306, the electronic device may combine the write request with the L2P entry. For example, the electronic device may generate a combined request including the write request and the L2P entry. The electronic device may also encrypt the combined request.
[0054] At 308, the electronic device may transmit the combined request to a memory device, e.g., Figure 1 A memory device 110 is provided.
[0055] At 310 , the electronic device may receive an L2P dirty entry notification from a memory device, wherein the L2P dirty entry notification corresponds to an L2P entry of the L2P mapping table.
[0056] Figure 4 An exemplary method for managing an L2P mapping table by setting a thermal configuration is shown. For convenience and not limitation, Figure 1 and Figure 7 Component Description Figure 4 Method 400 may represent an electronic device (e.g., Figure 1 The host device 102 and the memory device 110) use the thermal configuration to manage the operation of the L2P mapping table. The method 400 can also be performed by Figure 7 The method 400 is performed by a computer system 700. However, the method 400 is not limited to the specific aspects depicted in these figures, and other systems may be used to perform the method, as will be understood by those skilled in the art. It should be understood that not all operations may be required, and operations may not be performed in the same manner as described above. Figure 4 The same order as shown in .
[0057] At 402, processor 104 of host device 102 generates a set hot configuration corresponding to a file. Processor 104 may determine that a file is a hot file. Processor 104 may determine based on the file type. For example, processor 104 may determine that a file containing a directory entry block or a direct node block of a directory is a hot file. This is because these files are frequently subject to changes. Processor 104 may also determine that a file is a hot file based on a user request.
[0058] At 404 , the processor 104 transmits the set thermal configuration to the controller 108 .
[0059] At 406, the controller 108 transmits the settings thermal configuration to the memory device 110. In some aspects, the controller 108 can forward the settings thermal configuration generated by the processor 104. The controller 108 can also generate and transmit a new settings thermal configuration compatible with the memory device 110 based on the received settings thermal configuration. In some aspects, the controller 108 can encrypt the settings thermal configuration before transmission.
[0060] At 408, the memory device 110 disables dirty entry notifications. For example, when an L2P entry of the L2P mapping table corresponding to the file becomes dirty, the memory device 110 can refrain from notifying the host device 102. In some aspects, the memory device can ignore the L2P entry for the file received from the host device 102. In some aspects, upon receiving the setup hot configuration from the controller 108, the memory device 110 can encrypt the setup hot configuration.
[0061] At 410, the memory device 110 transmits a confirmation of setting the thermal configuration to the controller 108 of the host device 102. The confirmation indicates that the memory device 110 will no longer transmit dirty entry notifications corresponding to the file to the host device 102.
[0062] At 412 , the controller 108 transmits a confirmation to the processor 104 that the thermal configuration is set.
[0063] At 414, with Figure 3 Similar to what is described in 306, processor 104 generates a combined write request. The combined request may include one or more logical addresses of the file, one or more L2P entries of the L2P mapping table, and a data group to be written in the file.
[0064] At 416 , the processor 104 transmits the combined write request to the controller 108 .
[0065] At 418, the controller 108 transmits the combined write request to the memory device 110. In some aspects, the controller 108 may also encrypt the combined write request.
[0066] At 420, the memory device 110 writes the data group in memory, for example, Figure 1 14 of the memory device 110 in the write request. In some aspects, the memory device 110 determines one or more physical addresses of the memory 114 based on the write request. For example, the memory device 110 retrieves one or more logical addresses and one or more L2P entries of the L2P mapping table from the write request. The memory device 110 maps the one or more logical addresses to the one or more physical addresses based on the one or more L2P entries of the L2P mapping table. The memory device 110 may determine that the one or more physical addresses are not suitable for storing the data group included in the write request based on the available space in the one or more physical addresses. The memory device 110 may determine one or more updated physical addresses and store the data group in the one or more updated physical addresses. In such a case, since the one or more logical addresses are mapped to the one or more updated physical addresses, the one or more L2P entries of the L2P mapping table in the host device 102 become dirty entries.
[0067] In some aspects, upon receiving the combined write request, the memory device 110 encrypts the combined write request.
[0068] At 422 , the memory device 110 updates one or more L2P entries of the L2P mapping table stored in the memory 114 of the memory device 110 based on the one or more updated physical addresses.
[0069] In some aspects, because the memory device 110 disabled dirty entry notifications in step 408 as described above, the memory device 110 refrains from transmitting notifications regarding dirty entries of the L2P mapping table in the host device 102 .
[0070] At 424, with Figure 2 Similar to the description in 206 , the processor 104 generates a combined read request. The combined read request includes one or more logical addresses of the file and one or more L2P entries of the L2P mapping table stored in the host device 102 .
[0071] At 426 , the processor 104 transmits the combined read request to the controller 108 .
[0072] At 428, the controller 108 transmits the combined read request to the memory device 110. In some aspects, the controller 108 may also encrypt the combined read request.
[0073] At 430, the memory device 110 retrieves one or more updated L2P entries stored in the memory device 110. For example, the memory device 110 retrieves one or more logical addresses of the file from the received combined read request. The memory device 110 retrieves the one or more updated L2P entries from the memory 114 of the memory device 110 based on the one or more logical addresses. In some aspects, the memory device may ignore the one or more L2P entries received in the combined read request.
[0074] At 432, the memory device 110 retrieves the data group based on the one or more updated physical addresses. For example, the memory device 110 determines the one or more updated physical addresses based on the one or more logical addresses and the one or more updated L2P entries. The memory device retrieves the data group stored in the memory 114 of the memory device 110 based on the one or more updated physical addresses.
[0075] At 434 , the memory device 110 transmits the data group to the controller 108 .
[0076] At 436 , the controller 108 transmits the data set to the processor 104 .
[0077] Figure 5 An exemplary method for managing an L2P mapping table with clear hot configuration is shown. For convenience and not limitation, Figure 1 and Figure 7 Component Description Figure 5 Method 500 may represent an electronic device (eg, Figure 1 The method 500 may also be performed by: Figure 7 The method 500 is performed by a computer system 700. However, the method 500 is not limited to the specific aspects depicted in these figures, and other systems may be used to perform the method, as will be understood by those skilled in the art. It should be understood that not all operations may be required, and operations may not be performed in the same manner as described above. Figure 5 The same order as shown in .
[0078] At 502, processor 104 of host device 102 generates a clear hot configuration corresponding to a file. Processor 104 may determine that a file is no longer a hot file. Processor 104 may determine based on a change in the file type. For example, processor 104 may determine that a file that no longer contains a directory entry block or a direct node block of a directory is no longer a hot file. Processor 104 may determine that a file is no longer a hot file based on a user request.
[0079] At 504 , the processor 104 transmits the clear thermal configuration to the controller 108 .
[0080] At 506, the controller 108 transmits the clear thermal configuration to the memory device 110. In some aspects, the controller 108 can forward the clear thermal configuration generated by the processor 104. The controller 108 can also generate and transmit a new clear thermal configuration compatible with the memory device 110 based on the received clear thermal configuration. In some aspects, the controller 108 can encrypt the clear thermal configuration before transmission.
[0081] At 508, the memory device 110 enables dirty entry notification based on the received clear hot configuration. For example, when an L2P entry of the L2P mapping table corresponding to the file becomes dirty, the memory device 110 can resume notifying the host device 102. In some aspects, the memory device can resume using the L2P entry for the file received from the host device 102. In some aspects, upon receiving the clear hot configuration from the controller 108, the memory device 110 can decrypt the clear hot configuration.
[0082] In some implementations, at 508, the updated L2P entry obtained at 422 can be uploaded to the memory 106 in the host device 102. Thus, the updated L2P entry can be restored to use.
[0083] At 510, the memory device 110 transmits a confirmation of the clearing of the hot configuration to the controller 108 of the host device 102. The confirmation indicates that the memory device 110 resumes transmitting dirty entry notifications corresponding to the file to the host device 102.
[0084] At 512 , the controller 108 transmits a confirmation to the processor 104 that the thermal configuration has been cleared.
[0085] At 514, with Figure 3 Similar to what is described in 306 , the processor 104 generates a combined write request. The combined request includes one or more logical addresses of the file, one or more L2P entries of the L2P mapping table, and a data group to be written in the file.
[0086] At 516 , the processor 104 transmits the combined write request to the controller 108 .
[0087] At 518, the controller 108 transmits the combined write request to the memory device 110. In some aspects, the controller 108 may also encrypt the combined write request.
[0088] At 520, the memory device 110 writes the data group in memory, for example, Figure 1 14 of the memory device 110 in the write request. In some aspects, the memory device 110 determines one or more physical addresses of the memory 114 based on the write request. For example, the memory device 110 retrieves one or more logical addresses and one or more L2P entries of the L2P mapping table from the write request. The memory device 110 maps the one or more logical addresses to the one or more physical addresses based on the one or more L2P entries of the L2P mapping table. The memory device 110 may determine that the one or more physical addresses are not suitable for storing the data group included in the write request based on the available space in the one or more physical addresses. The memory device 110 may determine one or more updated physical addresses and store the data group in the one or more updated physical addresses. In such a case, since the one or more logical addresses are mapped to the one or more updated physical addresses, the one or more L2P entries of the L2P mapping table in the host device 102 become dirty entries.
[0089] In some aspects, upon receiving the combined write request, the memory device 110 decrypts the combined write request.
[0090] At 522 , the memory device 110 updates one or more L2P entries of the L2P mapping table stored in the memory 114 of the memory device 110 based on the one or more updated physical addresses.
[0091] At 524, the memory device generates a dirty entry notification. In some aspects, the dirty entry notification indicates that one or more L2P entries of the L2P mapping table stored in the memory 106 of the host device 102 are dirty. According to some aspects, the memory device may include one or more updated L2P entries in the dirty entry notification.
[0092] At 526 , the memory device transmits a dirty entry notification to the controller 108 of the host device 102 .
[0093] At 528 , the controller 108 transmits a dirty entry notification to the processor 104 .
[0094] At 530, the processor 104 transmits the L2P update request to the controller 108. The L2P update request may include identification of one or more L2P entries indicated in the dirty entry notification. In some aspects, the L2P update request may include identification of the dirty entry notification received from the memory device 110.
[0095] At 532 , the controller 108 transmits the L2P update request to the memory device 110 .
[0096] At 534, the memory device 110 transmits the one or more updated L2P entries to the controller 108. In some aspects, the memory device 110 may retrieve the one or more updated L2P entries based on the identification of the one or more updated L2P entries received from the host device 102. The memory device 110 may also retrieve the one or more updated L2P entries based on the identification of the dirty entry notification.
[0097] At 536 , the controller 108 transmits the one or more updated L2P entries to the processor 104 .
[0098] At 538 , the processor 104 updates the L2P mapping table stored in the memory 106 based on the one or more updated L2P entries received from the memory device 110 .
[0099] Figure 6 An exemplary method for generating a set thermal configuration and a clear thermal configuration is shown. For convenience and not limitation, Figure 1 and Figure 7 Component Description Figure 6 The method 600 may represent an electronic device (eg, Figure 1 The method 600 may also be performed by the host device 102 to generate operations for setting the thermal configuration and clearing the thermal configuration. Figure 7 The method 600 is performed by a computer system 700. However, the method 600 is not limited to the specific aspects depicted in these figures, and other systems may be used to perform the method, as will be understood by those skilled in the art. It should be understood that not all operations may be required, and operations may not be performed in the same manner as described above. Figure 6 The same order as shown in .
[0100] At 602, the electronic device determines whether a user request corresponding to a file is received. The user request indicates whether the file is a hot file. If the electronic device determines that a user request is received, control proceeds to 604.
[0101] At 604 , the electronic device determines whether the user request commands setting the file as a hot file. If so, control proceeds to operation 606 .
[0102] At 606, as described above, Figure 4 As discussed in 402, the electronic device generates a thermal configuration corresponding to the settings of the file.
[0103] Referring back to 604 , if the user requested a command not to set the file as a hot file, control proceeds to 608 .
[0104] At 608, as described above, Figure 5 As discussed in 502, the electronic device generates a clear thermal configuration corresponding to the file.
[0105] Referring back to 602 , if the electronic device determines that a user request has not been received, control proceeds to 610 .
[0106] At 610, the electronic device determines the file type of the file by, for example, F2FS (Flash Friendly File System).
[0107] At 612, the electronic device determines whether the file type is one of the hot file types. For example, the hot file type may indicate that the file includes a directory entry block or a direct node block of a directory. If the electronic device determines that the file type is one of the hot file types, control proceeds to 606 to set the file as a hot file.
[0108] If the electronic device determines that the file type is not one of the thermal file types, control proceeds to 608 to set the file as a code file by generating a clear thermal configuration as described above.
[0109] For example, one or more computer systems (e.g., Figure 7 The computer system 700 shown in FIG. 7 can be a computer system capable of performing the functions described herein (e.g., Figure 1 The computer system 700 may be any known computer including a host device 102 and a memory device 110. The computer system 700 includes one or more processors (also referred to as central processing units or CPUs), for example, a processor 704. The processor 704 is connected to a communication infrastructure 706 (e.g., a bus). The computer system 700 also includes (one or more) user input / output devices 703, such as a monitor, keyboard, pointing device, etc., which communicate with the communication infrastructure 706 through (one or more) user input / output interfaces 702. The computer system 700 also includes a main memory or primary storage 708, such as a random access memory (RAM). The main memory 708 may include one or more levels of cache. The main memory 708 has control logic (e.g., computer software) and / or data stored therein.
[0110] The computer system 700 may also include one or more secondary storage devices or memories 710. The secondary storage 710 may include, for example, a hard disk drive 712 and / or a removable storage device or drive 714. The removable storage drive 714 may be a floppy disk drive, a tape drive, an optical drive, an optical storage device, a tape backup device, and / or any other storage device / drive.
[0111] The removable storage drive 714 can interact with a removable storage unit 718. The removable storage unit 718 includes a computer usable or readable storage device having computer software (control logic) and / or data stored thereon. The removable storage unit 718 can be a floppy disk, a magnetic tape, a compact disk, a DVD, an optical storage disk, and / or any other computer data storage device. The removable storage drive 714 reads from and / or writes to the removable storage unit 718 in a known manner.
[0112] According to some aspects, the secondary memory 710 may include other modules, means, or other methods for allowing computer programs and / or other instructions and / or data to be accessed by the computer system 700. Such modules, means, or other methods may include, for example, a removable storage unit 722 and an interface 720. Examples of a removable storage unit 722 and an interface 720 may include a program cartridge and cartridge interface (e.g., as found in a video game device), a removable memory chip (e.g., an EPROM or PROM) and an associated socket, a memory stick and USB port, a memory card and an associated memory card slot, and / or any other removable storage unit and associated interface.
[0113] The computer system 700 may also include a communication or network interface 724. The communication interface 724 enables the computer system 700 to communicate and interact with any combination of remote devices, remote networks, remote entities, etc. (individually and collectively referenced by reference numeral 728). For example, the communication interface 724 may allow the computer system 700 to communicate with a remote device 728 via a communication path 726, which may be wired and / or wireless and may include any combination of a LAN, a WAN, the Internet, etc. Control logic and / or data may be transmitted to or from the computer system 700 via the communication path 726.
[0114] The operations in the foregoing aspects may be implemented in a variety of configurations and architectures. Therefore, some or all of the operations in the foregoing aspects may be performed in hardware, software, or both. In some aspects, a tangible, non-transitory device or article includes a tangible, non-transitory computer-usable or readable medium having control logic (software) stored thereon, which is also referred to herein as a computer program product or program storage device. It includes, but is not limited to, a computer system 700, a main memory 708, an auxiliary memory 710, and a removable storage unit 718, 722, and a tangible article embodying any combination of the foregoing. When executed by one or more data processing devices (e.g., computer system 700), such control logic causes such data processing device to operate as described herein.
[0115] Based on the teachings contained in this disclosure, how to use Figure 7 It will be apparent to one or more persons skilled in the relevant art(s) to make and use aspects of the present disclosure using data processing devices, computer systems, and / or computer architectures other than those shown in the drawings. In particular, various aspects may be operated using software, hardware, and / or operating system implementations other than those described herein.
[0116] In summary, this disclosure describes various embodiments of memory storage systems and methods of making the same.
[0117] Some aspects of the present disclosure provide a host device including a memory and a processor coupled to the memory. The memory is used to store a logical to physical (L2P) mapping table, the L2P mapping table including entries that map logical addresses of files to physical addresses of files. The processor is configured to generate a first configuration corresponding to the file and transmit the first configuration to the memory device. The first configuration instructs the memory device to refrain from transmitting an L2P dirty entry notification to the host device. The L2P dirty entry notification corresponds to the file.
[0118] Some aspects of the present disclosure relate to a host device, wherein the host device further comprises a controller. The controller is coupled to the memory and the processor and is configured to drive the memory device.
[0119] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to: generate a read request to retrieve a data group from a memory device, wherein the data group corresponds to a file; generate a combined request by combining the read request with the L2P entry; and transmit the combined request to the memory device.
[0120] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to: generate a write request to write a data group to a memory device, wherein the data group corresponds to a file; generate a combined request by combining the write request with an L2P entry; and transmit the combined request to the memory device.
[0121] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to generate a first configuration corresponding to the file by determining that the file includes a directory entry block or a direct node block of the directory or receiving a user request corresponding to the file.
[0122] Some aspects of the present disclosure relate to a host device, wherein the at least one processor is further configured to generate a first configuration corresponding to a file by determining that the file is a hot file via a flash-friendly file system (F2FS) disposed in the host device.
[0123] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to generate a second configuration corresponding to the file and transmit the second configuration to the memory device. The second configuration instructs the memory device to resume transmitting L2P dirty entry notifications corresponding to the file to the host device.
[0124] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to: receive an L2P dirty entry notification from a memory device; transmit an L2P mapping update request to the memory device; receive an L2P mapping update from the memory device; and update an L2P entry for a file in an L2P mapping table based on the L2P mapping update.
[0125] Some aspects of the disclosure relate to a host device wherein the first configuration includes a set thermal configuration corresponding to a file and the second configuration includes a clear thermal configuration corresponding to the file.
[0126] Some aspects of the present disclosure relate to a host device wherein the memory comprises RAM memory.
[0127] Some aspects of the present disclosure relate to a host device, wherein the host device is provided with a host performance booster (HPB) system and the processor is further configured to disable an HPB function of the HPB system for a file in response to refraining from transmitting an L2P dirty entry notification to the host device.
[0128] Some aspects of the present disclosure relate to a host device, wherein the processor is further configured to enable an HPB function of the HPB system for the file in response to resuming the transfer L2P dirty entry notification.
[0129] Some aspects of the present disclosure provide a memory device including a memory and a processor coupled to the memory. The memory controller is configured to: receive a first configuration corresponding to a file from a host device; refrain from transmitting a logical to physical (L2P) dirty entry notification corresponding to the file to the host device; and transmit a first confirmation to the host device, wherein the first confirmation indicates that the L2P dirty entry notification is refrained from being transmitted to the host device.
[0130] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: receive a combined request from a host device, wherein the combined request includes a read request and an L2P entry for a file; determine a logical address of the file based on the read request; determine a physical address of the file based on the logical address and the L2P entry; retrieve a data group from the memory based on the physical address; and transmit the data group to the host device.
[0131] Some aspects of the disclosure relate to a memory device wherein the memory controller is further configured to decrypt the combined request.
[0132] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: receive a combined request from a host device, wherein the combined request includes a write request and an L2P entry of a file; determine a logical address of the file based on the write request; determine a physical address of the file based on the logical address and the L2P entry; determine a second physical address; and write a data group in the second physical address.
[0133] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: update the L2P entry based on the second physical address; and store the updated L2P entry in the memory.
[0134] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: receive a second configuration corresponding to a file from a host device; resume transmitting an L2P dirty entry notification corresponding to the file to the host device based on the second configuration; and transmit a second confirmation to the host device, wherein the second confirmation indicates resumption of transmitting the L2P dirty entry notification to the host device.
[0135] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: receive a combined request from a host device, wherein the combined request includes a write request and an L2P entry of a file; determine a logical address of the file based on the write request; determine a physical address of the file based on the logical address and the L2P entry; determine a second physical address; update the L2P entry based on the second physical address; and transmit an L2P dirty entry notification corresponding to the updated L2P entry to the host device based on a second configuration.
[0136] Some aspects of the present disclosure relate to a memory device, wherein the memory controller is further configured to: receive an L2P mapping update request from a host device; and transmit an updated L2P entry to the host device.
[0137] Some aspects of the present disclosure relate to a memory device, wherein the memory includes a RAM memory and a NAND flash memory, the RAM memory being used to store a logical-to-physical (L2P) mapping table including entries mapping a logical address of a file to a physical address of the file.
[0138] Some aspects of the disclosure relate to a memory device wherein the first configuration includes a set thermal configuration corresponding to a file and the second configuration includes a clear thermal configuration corresponding to the file.
[0139] Some aspects of the present disclosure provide a system including a host device and a memory device. The host device is configured to generate a first configuration corresponding to a file and transmit the first configuration to the memory device. The memory device is configured to receive the first configuration from the host device; and refrain from transmitting a logical to physical (L2P) dirty entry notification corresponding to the file to the host device.
[0140] Some aspects of the present disclosure relate to a system, wherein the host device is further configured to: generate a second configuration corresponding to the file; and transmit the second configuration to the memory device, wherein the second configuration instructs the memory device to resume transmitting L2P dirty entry notifications corresponding to the file to the host device.
[0141] Some aspects of the present disclosure relate to a system, wherein the memory device is further configured to: receive a second configuration from a host device; resume transmitting an L2P dirty entry notification corresponding to a file to the host device based on the second configuration; and transmit a confirmation to the host device, wherein the confirmation indicates resuming transmitting the L2P dirty entry notification to the host device.
[0142] Some aspects of the present disclosure relate to a system wherein the memory device is further configured to: receive the L2P entry from the host device; update the L2P entry; and transmit the updated L2P entry to the host device based on a second configuration.
[0143] Some aspects of the present disclosure relate to a system in which a host device is provided with a host performance booster (HPB) system and a processor of the host device is configured to disable an HPB function of the HPB system for a file in response to refraining from transmitting an L2P dirty entry notification to the host device.
[0144] Some aspects of the present disclosure relate to a system wherein the processor is further configured to enable an HPB function of the HPB system for the file in response to resuming the transfer L2P dirty entry notification.
[0145] Some aspects of the present disclosure provide a system including a host device and a memory device. The host device includes a first memory for storing a logical-to-physical (L2P) mapping table, the L2P mapping table including entries that map a logical address of a file to a physical address of the file; the host device also includes a processor coupled to the first memory, and the processor is configured to: generate a first configuration corresponding to the file; and transmit the first configuration to the memory device, wherein the first configuration commands the memory device to refrain from transmitting an L2P dirty entry notification to the host device, and wherein the L2P dirty entry notification corresponds to the file. The memory device includes a second memory and a memory controller coupled to the second memory; the memory controller is configured to: receive the first configuration corresponding to the file from the host device; refrain from transmitting a logical-to-physical (L2P) dirty entry notification corresponding to the file to the host device; and transmit a first confirmation to the host device, wherein the first confirmation indicates that the L2P dirty entry notification is refrained from being transmitted to the host device.
[0146] Some aspects of the present disclosure provide a method for managing an L2P mapping table of a memory device. The method includes: receiving a first configuration corresponding to a file from a host device coupled to the memory device; suppressing transmission of a logical to physical (L2P) dirty entry notification corresponding to the file to the host device; and transmitting a first confirmation to the host device, wherein the first confirmation indicates suppressing transmission of the L2P dirty entry notification to the host device.
[0147] Some aspects of the present disclosure relate to a method, wherein the method further comprises: decrypting the combined request.
[0148] Some aspects of the present disclosure relate to a method, wherein the method further comprises: receiving a combined request from a host device, wherein the combined request comprises a write request and an L2P entry of a file; determining a logical address of the file based on the write request; determining a physical address of the file based on the logical address and the L2P entry; determining a second physical address; and writing a data group at the second physical address.
[0149] Some aspects of the present disclosure relate to a method, wherein the method further comprises: updating the L2P entry based on the second physical address; and storing the updated L2P entry in a memory.
[0150] Some aspects of the present disclosure relate to methods in which the first configuration includes a set thermal configuration corresponding to the file and the second configuration includes a clear thermal configuration corresponding to the file.
[0151] The Summary and Abstract sections may set forth one or more but not all exemplary embodiments of the present disclosure as contemplated by the inventor(s), and thus, are not intended to limit the present disclosure and the appended claims in any way.
[0152] Although the present disclosure has been described herein with reference to exemplary aspects for exemplary fields and applications, it should be understood that the present disclosure is not limited thereto. Other aspects and modifications thereto are possible and within the scope and spirit of the present disclosure. For example, and without limiting the generality of this paragraph, the various aspects are not limited to the software, hardware, firmware and / or entities shown in the drawings and / or described herein. In addition, the various aspects (whether or not explicitly described herein) have significant utility for fields and applications beyond the examples described herein.
[0153] Various aspects have been described herein with the aid of functional building blocks that illustrate implementations of specified functions and relationships thereof. For ease of description, the boundaries of these functional building blocks are arbitrarily defined herein. As long as the specified functions and relationships (or their equivalents) are properly performed, alternative boundaries may be defined. In addition, alternative aspects may use an order different from that described herein to perform functional blocks, steps, operations, methods, etc.
[0154] References herein to "one aspect," "aspects," "exemplary aspects," or similar phrases indicate that the described aspects may include a particular feature, structure, or characteristic, but each aspect may not necessarily include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same aspect. Furthermore, when particular features, structures, or characteristics are described in conjunction with an aspect, it would be within the knowledge of a person skilled in the relevant art(s) to incorporate such features, structures, or characteristics into other aspects, whether or not explicitly mentioned or described herein.
[0155] The breadth and scope of the present disclosure should not be limited by any of the above-described exemplary aspects, but should be defined only in accordance with the following claims and their equivalents.
[0156] It should be understood that the use of personally identifiable information should be subject to privacy policies and practices that are generally recognized to meet or exceed industry or government requirements for maintaining user privacy. In particular, personally identifiable information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use, and the nature of authorized use should be clearly indicated to users.
Claims
1. A host device, comprising: a memory for storing a logical-to-physical mapping table including entries mapping a logical address of a file to a physical address of the file; as well as a processor coupled to the memory and configured to: generating a first configuration indicating that the file is a hot file; and transferring the first configuration to a memory device, wherein the first configuration instructs the memory device to refrain from transmitting a logical-to-physical dirty entry notification to the host device, wherein the logical-to-physical dirty entry notification indicates that the entry of the logical-to-physical mapping table becomes dirty, and The logical-to-physical dirty entry notification corresponds to the file.
2. The host device of claim 1, further comprising a controller coupled to the memory and the processor for driving the memory device.
3. The host device according to claim 1, wherein: The processor is further configured to: generating a read request to retrieve a data group from the memory device, wherein the data group corresponds to the file; generating a combined request by combining the read request with a logical-to-physical entry; and The combined request is transmitted to the memory device.
4. The host device according to claim 1, wherein: The processor is further configured to: generating a write request to write a data group to the memory device, wherein the data group corresponds to the file; generating a combined request by combining the write request with a logical-to-physical entry; and The combined request is transmitted to the memory device.
5. The host device according to claim 1, wherein: The processor is further configured to generate the first configuration corresponding to the file by determining that the file includes a directory entry block or a direct node block of a directory or receiving a user request corresponding to the file.
6. The host device according to claim 1, wherein: The processor is further configured to generate the first configuration corresponding to the file by determining that the file is a hot file via a flash-friendly file system provided in the host device.
7. The host device according to claim 1, wherein: The processor is further configured to: generating a second configuration corresponding to the file; and transferring the second configuration to the memory device, The second configuration instructs the memory device to resume transmitting the logical-to-physical dirty entry notification corresponding to the file to the host device.
8. The host device according to claim 7, wherein: The processor is further configured to: receiving the logical-to-physical dirty entry notification from the memory device; transmitting a logical-to-physical mapping update request to the memory device; receiving a logical-to-physical mapping update from the memory device; and Based on the logical-to-physical mapping update, a logical-to-physical entry of the file in the logical-to-physical mapping table is updated.
9. The host device according to claim 7, wherein: The first configuration includes a set thermal configuration corresponding to the file, and the second configuration includes a clear thermal configuration corresponding to the file.
10. The host device according to claim 7, wherein: The memory includes RAM memory.
11. The host device according to claim 7, wherein: The host device is provided with a host performance enhancer system, and the processor is further configured to, in response to transmitting the first configuration to the memory device, disable a host performance enhancer function of the host performance enhancer system for the file.
12. The host device according to claim 11, wherein: The processor is further configured to, in response to transmitting the second configuration to the memory device, enable a host performance enhancer function of the host performance enhancer system on the file.
13. A memory device comprising: Memory; as well as a memory controller coupled to the memory and configured to: receiving, from a host device, a first configuration indicating that the file is a hot file; refraining from transmitting a logical-to-physical dirty entry notification corresponding to the file to the host device, wherein the logical-to-physical dirty entry notification indicates that an entry of a logical-to-physical mapping table stored in the host device is dirty; and A first acknowledgement is transmitted to the host device, wherein the first acknowledgement indicates that the logical-to-physical dirty entry notification is refrained from being transmitted to the host device.
14. The memory device of claim 13, wherein: The memory controller is further configured to: receiving a combined request from the host device, wherein the combined request includes a read request and a logical-to-physical entry of the file; determining a logical address of the file based on the read request; determining a physical address of the file based on the logical address and the logical-to-physical entry; retrieving a data group from the memory based on the physical address; and The data set is transmitted to the host device.
15. The memory device of claim 14, wherein: The memory controller is also configured to decrypt the combined request.
16. The memory device of claim 13, wherein: The memory controller is further configured to: receiving a combined request from the host device, wherein the combined request includes a write request and a logical-to-physical entry of the file; determining a logical address of the file based on the write request; determining a physical address of the file based on the logical address and the logical-to-physical entry; determining a second physical address; and A data group is written at the second physical address.
17. The memory device of claim 16, wherein: The memory controller is further configured to: updating the logical-to-physical entry based on the second physical address; and The updated logical-to-physical entry is stored in the memory.
18. The memory device of claim 13, wherein: The memory controller is further configured to: receiving, from the host device, a second configuration corresponding to the file; Resuming transmission of the logical-to-physical dirty entry notification corresponding to the file to the host device based on the second configuration; and A second acknowledgement is transmitted to the host device, wherein the second acknowledgement indicates resumption of transmission of the logical-to-physical dirty entry notification to the host device.
19. The memory device of claim 18, wherein: The memory controller is further configured to: receiving a combined request from the host device, wherein the combined request includes a write request and a logical-to-physical entry of the file; determining a logical address of the file based on the write request; determining a physical address of the file based on the logical address and the logical-to-physical entry; determining a second physical address; updating the logical-to-physical entry based on the second physical address; and The logical-to-physical dirty entry notification corresponding to the updated logical-to-physical entry is transmitted to the host device based on the second configuration.
20. The memory device of claim 19, wherein: The memory controller is further configured to: receiving a logical-to-physical mapping update request from the host device; and The updated logical-to-physical entry is transmitted to the host device.
21. The memory device of claim 13, wherein: The memory includes a RAM memory and a NAND flash memory, the RAM memory being used to store a logical-to-physical mapping table, the logical-to-physical mapping table including entries mapping a logical address of the file to a physical address of the file.
22. The memory device of claim 18, wherein: The first configuration includes a set thermal configuration corresponding to the file, and the second configuration includes a clear thermal configuration corresponding to the file.
23. A system comprising: A host device, wherein the host device is configured to: generating a first configuration indicating that the file is a hot file; and transferring the first configuration to a memory device; as well as A memory device, the memory device being configured to: receiving the first configuration from the host device; and Transmission of a logical-to-physical dirty entry notification corresponding to the file to the host device is refrained, wherein the logical-to-physical dirty entry notification indicates that an entry of a logical-to-physical mapping table stored in the host device is dirty.
24. The system of claim 23, wherein: The host device is further configured to: generating a second configuration corresponding to the file; and transferring the second configuration to the memory device, The second configuration instructs the memory device to resume transmitting the logical-to-physical dirty entry notification corresponding to the file to the host device.
25. The system of claim 23, wherein: The memory device is further configured to: receiving a second configuration from the host device; resuming transmission of the logical-to-physical dirty entry notification corresponding to the file to the host device based on the second configuration; and An acknowledgement is transmitted to the host device, wherein the acknowledgement indicates resumption of transmission of the logical-to-physical dirty entry notification to the host device.
26. The system of claim 25, wherein: The memory device is further configured to: receiving a logical-to-physical entry from the host device; updating the logical-to-physical entry; and An updated logical-to-physical entry is transmitted to the host device based on the second configuration.
27. The system of claim 24, wherein: The host device is provided with a host performance enhancer system, and the processor of the host device is configured to disable a host performance enhancer function of the host performance enhancer system for the file in response to transmitting the first configuration to the memory device.
28. The system of claim 27, wherein: The processor is further configured to, in response to transmitting the second configuration to the memory device, enable a host performance enhancer function of the host performance enhancer system on the file.
29. A system comprising a host device and a memory device, wherein: The host device comprises: a first memory for storing a logical-to-physical mapping table, the logical-to-physical mapping table comprising entries mapping a logical address of a file to a physical address of the file; and a processor coupled to the first memory and configured to: generating a first configuration indicating that the file is a hot file; and transferring the first configuration to a memory device, wherein the first configuration instructs the memory device to refrain from transmitting a logical-to-physical dirty entry notification to the host device, wherein the logical-to-physical dirty entry notification indicates that the entry of the logical-to-physical mapping table is dirty, and wherein the logical-to-physical dirty entry notification corresponds to the file; The memory device comprises: a second memory; and a memory controller coupled to the second memory and configured to: receiving, from a host device, the first configuration indicating that the file is a hot file; refraining from transmitting the logical-to-physical dirty entry notification corresponding to the file to the host device, wherein the logical-to-physical dirty entry notification indicates that an entry of a logical-to-physical mapping table stored in the host device is dirty; and A first acknowledgement is transmitted to the host device, wherein the first acknowledgement indicates that the logical-to-physical dirty entry notification is refrained from being transmitted to the host device.
30. A method for managing a logical to physical mapping table of a memory device, comprising: receiving, from a host device coupled to the memory device, a first configuration indicating that a file is a hot file; refraining from transmitting a logical-to-physical dirty entry notification corresponding to the file to the host device, wherein the logical-to-physical dirty entry notification indicates that an entry of a logical-to-physical mapping table stored in the host device is dirty; and A first acknowledgement is transmitted to the host device, wherein the first acknowledgement indicates that the logical-to-physical dirty entry notification is refrained from being transmitted to the host device.
31. The method of claim 30, further comprising: receiving a combined request from the host device, wherein the combined request includes a read request and a logical-to-physical entry of the file; determining a logical address of the file based on the read request; determining a physical address of the file based on the logical address and the logical-to-physical entry; retrieving a data group from a memory of the memory device based on the physical address; and The data set is transmitted to the host device.
32. The method of claim 31 further comprising: The combined request is decrypted.
33. The method of claim 30, further comprising: receiving a combined request from the host device, wherein the combined request includes a write request and a logical-to-physical entry of the file; determining a logical address of the file based on the write request; determining a physical address of the file based on the logical address and the logical-to-physical entry; determining a second physical address; and A data group is written at the second physical address.
34. The method of claim 33, further comprising: updating the logical-to-physical entry based on the second physical address; as well as The updated logical-to-physical entry is stored in the memory.
35. The method of claim 30, further comprising: receiving, from the host device, a second configuration corresponding to the file; Resuming transmission of the logical-to-physical dirty entry notification corresponding to the file to the host device based on the second configuration; and A second acknowledgement is transmitted to the host device, wherein the second acknowledgement indicates resumption of transmission of the logical-to-physical dirty entry notification to the host device.
36. The method of claim 35, further comprising: receiving a combined request from the host device, wherein the combined request includes a write request and a logical-to-physical entry of the file; determining a logical address of the file based on the write request; determining a physical address of the file based on the logical address and the logical-to-physical entry; determining a second physical address; updating the logical-to-physical entry based on the second physical address; and The logical-to-physical dirty entry notification corresponding to the updated logical-to-physical entry is transmitted to the host device based on the second configuration.
37. The method of claim 36, further comprising: receiving a logical-to-physical mapping update request from the host device; as well as The updated logical-to-physical entry is transmitted to the host device.
38. The method of claim 35, wherein: The first configuration includes a set thermal configuration corresponding to the file, and the second configuration includes a clear thermal configuration corresponding to the file.
