Method and device for improving random write performance of Dramless SSD QLC, equipment and medium

By loading and updating the mapping relationship only when the data volume reaches the threshold in Dramless QLC SSD, the problem of write efficiency reduction caused by frequent loading and updates is solved, and the write performance is improved.

CN119828978APending Publication Date: 2025-04-15SUZHOU UNIONMEMORY INFORMATION SYST LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411914409.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

When Dramless QLC SSD is written randomly, the write efficiency is reduced due to frequent loading and updating mapping relationships.

Method used

By determining whether the amount of data written by QLC is greater than the preset data amount threshold, the mapping relationship is loaded and updated only when the amount of data is greater than the threshold.

Benefits of technology

It effectively avoids frequent interruption of QLC writes and improves QLC write performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828978A_ABST
    Figure CN119828978A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device, equipment and a medium for improving the random writing performance of a Draml ess SSD QLC, and relates to the technical field of solid state disks. The method comprises the following steps: executing a QLC write-in task; judging whether the data volume written by the QLC is greater than a preset data volume threshold value or not; and if the data volume written by the QLC is greater than a preset data volume threshold value, loading a mapping relation corresponding to the QLC, and updating the mapping relation. In the embodiment of the invention, after data is written into the QLC, mapping is not updated immediately, but whether the data volume written into the QLC is greater than a preset data volume threshold value is judged; according to the method, the mapping relation corresponding to the QLC is loaded and the mapping relation is updated only when the data volume written into the QLC is greater than the preset data volume threshold value, so that the QLC writing can be prevented from being frequently interrupted, and the writing performance of the QLC is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of solid state drive technology, and in particular to a method, device, equipment and medium for improving random write performance of a DRAMless SSD QLC. Background Art

[0002] Solid-state drives (SSDs) are commonly used storage devices and are becoming more and more popular. QLC is the abbreviation of Quad Level Cell, which means four-level unit.

[0003] Currently, when randomly writing to QLC in a DRAMless QLC SSD, it is usually necessary to frequently load the mapping before writing and update the mapping immediately after writing is completed. The existing solution causes the QLC write to be frequently interrupted by the mapping loading and updating, resulting in reduced QLC write efficiency. Summary of the invention

[0004] Embodiments of the present invention provide a method, apparatus, device and medium for improving random write performance of DRAMless SSD QLC, aiming to solve at least one technical problem in the above-mentioned background technology.

[0005] In a first aspect, an embodiment of the present invention provides a method for improving random write performance of a DRAMless SSD QLC, which includes:

[0006] Execute QLC write task;

[0007] Determine whether the amount of data written to the QLC is greater than a preset data amount threshold;

[0008] If the amount of data written by the QLC is greater than a preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated.

[0009] A further technical solution is that the method for improving the random write performance of Dramless SSD QLC further includes:

[0010] If the amount of data written by the QLC is not greater than the preset data amount threshold, jump to the step of executing the QLC write task.

[0011] A further technical solution is that the determining whether the amount of data written by the QLC is greater than a preset data amount threshold comprises:

[0012] Determine whether the amount of data written by the QLC is greater than a preset amount threshold;

[0013] If the amount of data written by the QLC is greater than the preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

[0014] A further technical solution is that the determining whether the amount of data written by the QLC is greater than a preset data amount threshold further includes:

[0015] If the amount of data written by the QLC is not greater than the preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0016] A further technical solution is that the loading of the mapping relationship corresponding to the QLC includes: loading a mapping relationship table corresponding to the QLC.

[0017] A further technical solution is that updating the mapping relationship includes:

[0018] Update the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC;

[0019] Determine whether all data written into the QLC has been updated in the mapping relationship table;

[0020] If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

[0021] A further technical solution is that updating the mapping relationship further includes:

[0022] If all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0023] In a second aspect, an embodiment of the present invention further provides a device for improving random write performance of a DRAMless SSD QLC, which includes:

[0024] An execution unit, used to execute QLC write tasks;

[0025] A determination unit, used to determine whether the amount of data written to the QLC is greater than a preset data amount threshold;

[0026] The updating unit is used to load the mapping relationship corresponding to the QLC and update the mapping relationship if the amount of data written by the QLC is greater than a preset data amount threshold.

[0027] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0028] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.

[0029] The embodiments of the present invention provide a method, device, equipment and medium for improving the random write performance of Dramless SSD QLC. The method includes: executing a QLC write task; determining whether the amount of data written by the QLC is greater than a preset data volume threshold; if the amount of data written by the QLC is greater than the preset data volume threshold, loading the mapping relationship corresponding to the QLC and updating the mapping relationship. In the embodiment of the present invention, after writing data in the QLC, the mapping is not updated immediately, but it is determined whether the amount of data written by the QLC is greater than the preset data volume threshold; only when the amount of data written by the QLC is greater than the preset data volume threshold, the mapping relationship corresponding to the QLC is loaded and updated, thereby avoiding frequent interruptions of QLC writes and improving the write performance of the QLC. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0031] Figure 1 A schematic diagram of an application scenario of a method for improving random write performance of Dramless SSD QLC provided by an embodiment of the present invention;

[0032] Figure 2 A schematic block diagram of a device for improving random write performance of a Dramless SSD QLC provided by an embodiment of the present invention;

[0033] Figure 3 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0036] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0037] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0038] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0039] See also Figure 1 , Figure 1 1 is a flow chart of a method for improving random write performance of Dramless SSD QLC provided by an embodiment of the present invention. The method for improving random write performance of Dramless SSD QLC can avoid frequent interruptions of QLC writing, thereby improving the write performance of QLC. Specifically, Figure 1 As shown, the method comprises the following steps:

[0040] S1, execute QLC write task.

[0041] In a specific implementation, a QLC write task is executed to write data to the QLC.

[0042] In the existing related technologies, the mapping is usually updated every time data is written, so the mapping needs to be frequently loaded and updated, resulting in frequent interruptions of QLC writing, which reduces the write performance of QLC. The present invention aims to solve the above technical problems and improve the write performance of QLC. Specifically, after the QLC writes data, the present invention does not update the mapping immediately, but updates the preset after a certain amount of data is written.

[0043] S2, determining whether the amount of data written to the QLC is greater than a preset data amount threshold.

[0044] In a specific implementation, it is determined whether the amount of data written by the QLC is greater than a preset data amount threshold. The data amount threshold can be set by a person skilled in the art, and the present invention does not specifically limit this. In an embodiment of the present invention, after writing data in the QLC, it is first determined whether the amount of data written is greater than a preset data amount threshold, and the mapping is not updated immediately. The mapping is updated only when the amount of data written is greater than the preset data amount threshold, thereby avoiding frequent interruptions of QLC writing and improving the write performance of the QLC.

[0045] For example, in some embodiments, the above step of “determining whether the amount of data written by the QLC is greater than a preset data amount threshold” specifically includes the following steps:

[0046] S21, determining whether the amount of data written to the QLC is greater than a preset amount threshold.

[0047] In a specific implementation, it is determined whether the amount of data written by the QLC is greater than a preset amount threshold. The amount threshold can be set by a person skilled in the art and is not specifically limited in the present invention. For example, the amount threshold can be 100. That is, the mapping is updated only when the amount of data written exceeds 100, thereby avoiding frequent interruptions of QLC writing and improving the write performance of QLC.

[0048] S22: If the amount of data written by the QLC is greater than the preset amount threshold, determine that the amount of data written by the QLC is greater than the preset data amount threshold.

[0049] In a specific implementation, if the amount of data written by the QLC is greater than a preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

[0050] S23: If the amount of data written by the QLC is not greater than the preset amount threshold, determine that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0051] In a specific implementation, if the amount of data written by the QLC is not greater than a preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0052] S3: If the amount of data written by the QLC is greater than a preset data amount threshold, a mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated.

[0053] In a specific implementation, if the amount of data written to the QLC is greater than a preset data amount threshold, it means that the amount of data written to the QLC has reached a certain value. At this time, the mapping relationship corresponding to the QLC is loaded and updated. The mapping relationship can be specifically a mapping relationship table, that is, the mapping relationship table corresponding to the QLC is loaded. The mapping relationship table is used to record the corresponding relationship of the data written to the QLC.

[0054] Further, if the amount of data written by the QLC is not greater than a preset data amount threshold, jump to the step of executing the QLC write task.

[0055] In a specific implementation, if the amount of data written by the QLC is not greater than the preset data volume threshold, the QLC write task will continue to be executed until the amount of data written by the QLC is greater than the preset data volume threshold, and then the mapping will be updated, thereby avoiding frequent interruptions of the QLC write and improving the write performance of the QLC.

[0056] In some embodiments, the above step of “updating the mapping relationship” specifically includes:

[0057] S31, updating the data mapping items in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0058] In a specific implementation, the mapping items of the data are updated in the mapping relationship table in sequence according to the writing order of the data in the QLC, so as to avoid omissions. It can be understood that each piece of data corresponds to one mapping item.

[0059] For example, in one embodiment, a total of 100 data are written, and the written data are numbered in sequence from 1 to 100. The mapping items of each data are updated in sequence according to the numbering sequence, thereby effectively avoiding omissions and ensuring accurate updates.

[0060] S32, determining whether all data written into the QLC has been updated in the mapping relationship table.

[0061] In a specific implementation, it is determined whether all data written into the QLC has been updated in the mapping relationship table.

[0062] For example, in one embodiment, a total of 100 data are written, and then it is determined whether the mapping update of the 100 written data is completed.

[0063] S33: If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

[0064] In a specific implementation, if all data written into the QLC is updated in the mapping relationship table, it is determined that the mapping relationship is updated completely, that is, the mapping relationship table is updated completely.

[0065] S34, if all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0066] In a specific implementation, if all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC until all the data written into the QLC has been updated in the mapping relationship table.

[0067] In an embodiment of the present invention, the method for improving the random write performance of Dramless SSD QLC includes: executing a QLC write task; determining whether the amount of data written by the QLC is greater than a preset data volume threshold; if the amount of data written by the QLC is greater than the preset data volume threshold, loading the mapping relationship corresponding to the QLC, and updating the mapping relationship. It can be seen that in an embodiment of the present invention, after writing data in the QLC, the mapping is not updated immediately, but it is determined whether the amount of data written by the QLC is greater than the preset data volume threshold; only when the amount of data written by the QLC is greater than the preset data volume threshold, the mapping relationship corresponding to the QLC is loaded and updated, thereby avoiding frequent interruptions of QLC writing and improving the write performance of the QLC.

[0068] See also Figure 2 , Figure 2 : is a schematic block diagram of a device 20 for improving random write performance of Dramless SSD QLC provided by an embodiment of the present invention. Corresponding to the above method for improving random write performance of Dramless SSD QLC, the present invention also provides a device 20 for improving random write performance of Dramless SSD QLC. The device 20 for improving random write performance of Dramless SSD QLC includes a unit for executing the above method for improving random write performance of Dramless SSD QLC, and the device 20 for improving random write performance of Dramless SSD QLC can be configured in a desktop computer, a tablet computer, a laptop computer, and other terminals. Specifically, the device 20 for improving random write performance of Dramless SSD QLC includes:

[0069] An execution unit 21, used for executing a QLC write task;

[0070] A judging unit 22, used to judge whether the amount of data written to the QLC is greater than a preset data amount threshold;

[0071] The updating unit 23 is configured to load a mapping relationship corresponding to the QLC and update the mapping relationship if the amount of data written to the QLC is greater than a preset data amount threshold.

[0072] In some embodiments, the device 20 for improving random write performance of DRAMless SSD QLC further includes:

[0073] The jump unit is used to jump to the step of executing the QLC write task if the amount of data written by the QLC is not greater than a preset data amount threshold.

[0074] In some embodiments, determining whether the amount of data written to the QLC is greater than a preset data amount threshold includes:

[0075] Determine whether the amount of data written by the QLC is greater than a preset amount threshold;

[0076] If the amount of data written by the QLC is greater than the preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

[0077] In some embodiments, determining whether the amount of data written by the QLC is greater than a preset data amount threshold further includes:

[0078] If the amount of data written by the QLC is not greater than the preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0079] In some embodiments, the loading of the mapping relationship corresponding to the QLC includes: loading a mapping relationship table corresponding to the QLC.

[0080] In some embodiments, updating the mapping relationship includes:

[0081] Update the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC;

[0082] Determine whether all data written into the QLC has been updated in the mapping relationship table;

[0083] If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

[0084] In some embodiments, updating the mapping relationship further includes:

[0085] If all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0086] In the embodiment of the present invention, after writing data in the QLC, the mapping is not updated immediately, but it is determined whether the amount of data written by the QLC is greater than the preset data amount threshold; only when the amount of data written by the QLC is greater than the preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated, thereby avoiding frequent interruptions of QLC writing and improving the write performance of the QLC.

[0087] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned device 20 and each unit for improving the random write performance of Dramless SSDQLC can refer to the corresponding description in the aforementioned method embodiment. For the convenience and conciseness of the description, it will not be repeated here.

[0088] The above-mentioned device 20 for improving random write performance of Dramless SSD QLC can be implemented in the form of a computer program. The computer program can be used in the following manner: Figure 3 Runs on the computer device shown.

[0089] See also Figure 3 , Figure 3 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0090] The computer device 500 includes a processor 502 , a memory, and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0091] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a method for improving the random write performance of a DRAMless SSD QLC.

[0092] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0093] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for improving the random write performance of the DRAMless SSD QLC.

[0094] The network interface 505 is used to communicate with other devices over the network. Those skilled in the art will appreciate that the above structure is only a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device 500 to which the present application solution is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0095] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:

[0096] Execute QLC write task;

[0097] Determine whether the amount of data written to the QLC is greater than a preset data amount threshold;

[0098] If the amount of data written by the QLC is greater than a preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated.

[0099] In some embodiments, the method for improving the random write performance of a DRAMless SSD QLC further includes:

[0100] If the amount of data written by the QLC is not greater than the preset data amount threshold, jump to the step of executing the QLC write task.

[0101] In some embodiments, determining whether the amount of data written to the QLC is greater than a preset data amount threshold includes:

[0102] Determine whether the amount of data written by the QLC is greater than a preset amount threshold;

[0103] If the amount of data written by the QLC is greater than the preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

[0104] In some embodiments, determining whether the amount of data written by the QLC is greater than a preset data amount threshold further includes:

[0105] If the amount of data written by the QLC is not greater than the preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0106] In some embodiments, the loading of the mapping relationship corresponding to the QLC includes: loading a mapping relationship table corresponding to the QLC.

[0107] In some embodiments, updating the mapping relationship includes:

[0108] Update the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC;

[0109] Determine whether all data written into the QLC has been updated in the mapping relationship table;

[0110] If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

[0111] In some embodiments, updating the mapping relationship further includes:

[0112] If all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0113] In the embodiment of the present invention, after writing data in the QLC, the mapping is not updated immediately, but it is determined whether the amount of data written by the QLC is greater than the preset data amount threshold; only when the amount of data written by the QLC is greater than the preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated, thereby avoiding frequent interruptions of QLC writing and improving the write performance of the QLC.

[0114] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0115] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0116] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the following steps:

[0117] Execute QLC write task;

[0118] Determine whether the amount of data written to the QLC is greater than a preset data amount threshold;

[0119] If the amount of data written by the QLC is greater than a preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated.

[0120] In some embodiments, the method for improving the random write performance of a DRAMless SSD QLC further includes:

[0121] If the amount of data written by the QLC is not greater than the preset data amount threshold, jump to the step of executing the QLC write task.

[0122] In some embodiments, determining whether the amount of data written to the QLC is greater than a preset data amount threshold includes:

[0123] Determine whether the amount of data written by the QLC is greater than a preset amount threshold;

[0124] If the amount of data written by the QLC is greater than the preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

[0125] In some embodiments, determining whether the amount of data written by the QLC is greater than a preset data amount threshold further includes:

[0126] If the amount of data written by the QLC is not greater than the preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

[0127] In some embodiments, the loading of the mapping relationship corresponding to the QLC includes: loading a mapping relationship table corresponding to the QLC.

[0128] In some embodiments, updating the mapping relationship includes:

[0129] Update the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC;

[0130] Determine whether all data written into the QLC has been updated in the mapping relationship table;

[0131] If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

[0132] In some embodiments, updating the mapping relationship further includes:

[0133] If all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

[0134] In the embodiment of the present invention, after writing data in the QLC, the mapping is not updated immediately, but it is determined whether the amount of data written by the QLC is greater than the preset data amount threshold; only when the amount of data written by the QLC is greater than the preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated, thereby avoiding frequent interruptions of QLC writing and improving the write performance of the QLC.

[0135] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store program codes. The computer-readable storage medium can be non-volatile or volatile.

[0136] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0137] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0138] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0140] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0141] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0142] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for improving random write performance of Dramless SSD QLC, characterized in that: include: Execute QLC write task; Determine whether the amount of data written to the QLC is greater than a preset data amount threshold; If the amount of data written by the QLC is greater than a preset data amount threshold, the mapping relationship corresponding to the QLC is loaded and the mapping relationship is updated.

2. The method for improving random write performance of DRAMless SSD QLC according to claim 1, characterized in that: The method for improving the random write performance of Dramless SSD QLC also includes: If the amount of data written by the QLC is not greater than the preset data amount threshold, jump to the step of executing the QLC write task.

3. The method for improving random write performance of DRAMless SSD QLC according to claim 2, characterized in that: The determining whether the amount of data written by the QLC is greater than a preset data amount threshold includes: Determine whether the amount of data written by the QLC is greater than a preset amount threshold; If the amount of data written by the QLC is greater than the preset amount threshold, it is determined that the amount of data written by the QLC is greater than the preset data amount threshold.

4. The method for improving random write performance of DRAMless SSD QLC according to claim 3, characterized in that: The determining whether the amount of data written by the QLC is greater than a preset data amount threshold also includes: If the amount of data written by the QLC is not greater than the preset amount threshold, it is determined that the amount of data written by the QLC is not greater than the preset data amount threshold.

5. The method for improving random write performance of DRAMless SSD QLC according to claim 1, characterized in that: The loading of the mapping relationship corresponding to the QLC includes: loading a mapping relationship table corresponding to the QLC.

6. The method for improving random write performance of DRAMless SSD QLC according to claim 5, characterized in that: The updating of the mapping relationship comprises: Update the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC; Determine whether all data written into the QLC has been updated in the mapping relationship table; If all data written into the QLC has been updated in the mapping relationship table, it is determined that the mapping relationship has been updated.

7. The method for improving random write performance of DRAMless SSD QLC according to claim 6, characterized in that: The updating of the mapping relationship further includes: If all the data written into the QLC has not been updated in the mapping relationship table, jump to the step of updating the mapping items of the data in the mapping relationship table in sequence according to the writing order of the data in the QLC.

8. A device for improving random write performance of Dramless SSD QLC, characterized in that: include: An execution unit, used to execute QLC write tasks; A determination unit, used to determine whether the amount of data written to the QLC is greater than a preset data amount threshold; The updating unit is used to load the mapping relationship corresponding to the QLC and update the mapping relationship if the amount of data written by the QLC is greater than a preset data amount threshold.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.