CN117234879A - Cold and hot data identification test method and device based on solid state disk - Google Patents

Cold and hot data identification test method and device based on solid state disk Download PDF

Info

Publication number
CN117234879A
CN117234879A CN202311274326.9A CN202311274326A CN117234879A CN 117234879 A CN117234879 A CN 117234879A CN 202311274326 A CN202311274326 A CN 202311274326A CN 117234879 A CN117234879 A CN 117234879A
Authority
CN
China
Prior art keywords
performance
solid state
array
cold
state disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311274326.9A
Other languages
Chinese (zh)
Inventor
石骁
杨凯霞
唐嘉鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Yilian Information System Co Ltd
Original Assignee
Suzhou Yilian Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Yilian Information System Co Ltd filed Critical Suzhou Yilian Information System Co Ltd
Priority to CN202311274326.9A priority Critical patent/CN117234879A/en
Publication of CN117234879A publication Critical patent/CN117234879A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a cold and hot data identification test method, a device, computer equipment and a storage medium based on a solid state disk, wherein the method comprises the following steps: performing safe erasure on the solid state disk to be tested so as to make the initial state of the solid state disk to be tested consistent; sequentially writing the full disk by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance; sequentially changing the size of the blocks, repeatedly executing the erasing and the full-disc writing operation, and recording the corresponding performance per second as a corresponding array; and judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the sizes of the blocks are different. The application uses FIO to write different data sizes and read-write access for multiple times to the tested disk, confirms whether the tested solid state disk passes through the data block size and the data volume as cold and hot data judging conditions, and can identify whether the solid state disk to be tested has judging conditions of cold and hot data.

Description

Cold and hot data identification test method and device based on solid state disk
Technical Field
The application relates to the technical field of solid state disk testing, in particular to a cold and hot data identification testing method, device, computer equipment and storage medium based on a solid state disk.
Background
The solid state disk has the advantages of high access speed, low power consumption, good shock resistance and the like. With the development of flash memory technology in recent years, the price of flash memory media has decreased, and solid state disks are widely used in the fields of consumer electronics, enterprise-level servers, data centers, and the like. Flash memory media include SLC (Single Level Cache, single-layer memory cells, each storing 1 bit, hereinafter referred to as SLC), fast, long-lived (about 10 ten thousand erase-write lives), TLC (ternary-Level Cell, three-layer memory cells, each storing 3 bits, hereinafter referred to as TLC), QLC (Quad-Level cells, four-layer memory cells, each storing 4 bits, hereinafter referred to as QLC), and the like. The current mainstream solid state disk mainly adopts TLC medium, the writing performance bandwidth is less than one third of SLC and the service life is short, but the advantages are low price and large capacity, so the current mainstream solid state disk is slow. In order to enable the solid state disk based on the TCL medium to test and use the solid state disk to provide the performance of the SLC medium level and meet the high bandwidth requirement under a specific scene, each strategy is to simulate a block of SLC on TLC to make SLC cache. After the host stops writing data into the solid state disk, the solid state disk starts to move the data in the SLC cache to TLC, so that the writing performance is restored to the performance simulating SLC. However, since the flash memory can only perform the update operation from different places, when the data just written into the SLC is moved to the TLC, invalid data pages are formed in the original physical block, and it is necessary to garbage-recycle the physical block to reuse the invalid data pages. However, if a large amount of cold data is repeatedly written into SLC and then moved to TLC, a 2-fold write amplification occurs, which affects the life and the later performance of the flash memory. Therefore, cold data can be identified and directly written into the TLC, so that the writing from SLC to TLC is avoided, and the purposes of improving the flash memory performance and prolonging the service life are achieved.
Currently, the mainstream flash cold and hot data separation method includes: the write request data size and the data volume are used as cold and hot data threshold judgment standards, partial data can be distinguished, and the system overhead is small. The cold and hot properties are judged by recording the access times of the logical pages, and the method requires a large amount of space to record the access frequency of each logical page, so that the space cost is high. Therefore, most of the current methods for verifying the performance of the solid state disk are to test the read-write performance in a fixed range or the steady state performance of the full disk, but the judging condition of whether cold and hot data exist cannot be identified.
Disclosure of Invention
Based on the foregoing, it is necessary to provide a method, a device, a computer device and a storage medium for identifying and testing cold and hot data based on a solid state disk.
A cold and hot data identification test method based on a solid state disk comprises the following steps:
performing safe erasure on the solid state disk to be tested so as to make the initial state of the solid state disk to be tested consistent;
sequentially writing the full disk by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance;
sequentially changing the size of the blocks, repeatedly executing the erasing and the full-disc writing operation, and recording the corresponding performance per second as a corresponding array;
and judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the sizes of the blocks are different.
In one embodiment, the step of sequentially writing the full disc with FIO, recording the performance per second as a first array, and terminating the test when the recorded performance for a continuous period of time is less than half the first second performance further comprises:
the full disk is sequentially written with FIO, the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, the performance per second is recorded as a first array, and the test is aborted when the performance in consecutive 5s is less than half of the first second performance.
In one embodiment, the step of sequentially changing the sizes of the blocks and repeatedly performing the above-mentioned erasing and writing the full disc operation, and recording the corresponding performance per second as a corresponding array further includes:
the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K and 16KB, the erasing operation and the full-disk writing operation are repeatedly executed, and each time the performance per second of recording is corresponding to the second array, the third array, the fourth array, the fifth array, the sixth array and the seventh array.
In one embodiment, the step of determining whether there is cold and hot data identification according to whether the performance recorded in different block sizes is consistent further includes:
and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
A cold and hot data identification test device based on a solid state disk, the device comprising:
the safe erasing module is used for safely erasing the solid state disk to be detected so as to enable the initial state of the solid state disk to be detected to be consistent;
the performance recording module is used for sequentially writing the full disc by using the FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance;
the repeated test module is used for sequentially changing the size of the block and repeatedly executing the operations of erasing and writing the whole disk, and recording the corresponding performance per second as a corresponding array;
and the result judging module is used for judging whether cold and hot data identification exists according to whether the recorded performances of different block sizes are consistent.
In one embodiment, the performance recording module is further configured to:
the full disk is sequentially written with FIO, the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, the performance per second is recorded as a first array, and the test is aborted when the performance in consecutive 5s is less than half of the first second performance.
In one embodiment, the retest module is further configured to:
the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K and 16KB, the erasing operation and the full-disk writing operation are repeatedly executed, and each time the performance per second of recording is corresponding to the second array, the third array, the fourth array, the fifth array, the sixth array and the seventh array.
In one embodiment, the result judging module is further configured to:
and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the methods described above when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods described above.
According to the cold and hot data identification test method, the cold and hot data identification test device, the computer equipment and the storage medium based on the solid state disk, the solid state disk to be tested is safely erased, so that the initial state of the solid state disk to be tested is consistent; sequentially writing the full disk by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance; sequentially changing the size of the blocks, repeatedly executing the erasing and the full-disc writing operation, and recording the corresponding performance per second as a corresponding array; and judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the sizes of the blocks are different. The application uses FIO to write different data sizes and read-write access for multiple times to the tested disk, confirms whether the tested solid state disk passes through the data block size and the data volume as cold and hot data judging conditions, and can identify whether the solid state disk to be tested has judging conditions of cold and hot data.
Drawings
FIG. 1 is a flow chart of a cold and hot data identification test method based on a solid state disk in an embodiment;
FIG. 2 is a flow chart of a cold and hot data identification test method based on a solid state disk in another embodiment;
FIG. 3 is a flow chart of a cold and hot data identification test method based on a solid state disk according to still another embodiment;
FIG. 4 is a diagram showing test results of a product under test at a block size of 1024KB in one embodiment;
FIG. 5 is a schematic diagram of test results of a product under test at a block size of 32KB in one embodiment;
FIG. 6 is a block diagram of a cold and hot data identification test device based on a solid state disk in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
At present, most of methods for verifying the performance of the solid state disk are to test the read-write performance in a fixed range or the steady state performance of the full disk, but cannot identify whether the judging condition of cold and hot data exists or not.
Based on the above, the application provides a cold and hot data identification test method based on a solid state disk, which aims to identify whether the solid state disk to be tested has a judging condition of cold and hot data or not.
In one embodiment, as shown in fig. 1, a method for identifying and testing cold and hot data based on a solid state disk is provided, and the method includes:
step 102, safely erasing the solid state disk to be tested so as to make the initial state of the solid state disk to be tested consistent;
step 104, sequentially writing the full disc by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance;
step 106, changing the block size in turn and repeatedly executing the above-mentioned erasing and writing the whole disk operation, recording the corresponding performance per second as a corresponding array;
and step 108, judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the block sizes are different.
In this embodiment, a method for identifying and testing cold and hot data based on a solid state disk is provided, and is designed for judging whether the solid state disk has cold and hot data, and the solid state disk to be tested is used for writing different data sizes and performing multiple read-write accesses to the disk to be tested to confirm whether the solid state disk to be tested passes through the data block size and the data volume to be used as the judging condition of the cold and hot data.
Specifically, first, a slave disc NVME format command is made to securely erase the disc, thereby ensuring consistency of the initial state of the disc.
Next, the full disk is sequentially written with FIO, recording the performance per second as a first array, and the test is aborted when the recorded performance is less than half of the first second performance for a continuous period of time.
Then, the block size is sequentially changed, the above-described erasing and writing of the full disk operation are repeatedly performed, and the corresponding performance per second is recorded as a corresponding array. And finally, judging whether cold and hot data identification exists according to whether the performance of the performance is consistent when the sizes of the blocks are different.
In one embodiment, the step of determining whether there is cold and hot data identification based on whether the recorded performance is consistent for different block sizes further includes: and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
Specifically, the FIO is utilized to write different data sizes into the tested disk, and the tested disk is written after multiple read accesses, so as to confirm whether the tested solid state disk is subjected to cold and hot data judgment conditions. The test result of the tested hard disk comprises the following two conditions: 1) Using the write request data size and the data amount as the cold-hot data threshold judgment criteria, 2) there is no judgment condition described in 1.
In the embodiment, the solid state disk to be tested is safely erased, so that the initial state of the solid state disk to be tested is consistent; sequentially writing the full disk by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance; sequentially changing the size of the blocks, repeatedly executing the erasing and the full-disc writing operation, and recording the corresponding performance per second as a corresponding array; and judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the sizes of the blocks are different. According to the scheme, the FIO is utilized to write different data sizes into the tested disk and read and write the disk for multiple times, whether the tested solid state disk passes through the data block size and the data volume is confirmed to be used as cold and hot data judging conditions, and judging conditions of whether the solid state disk to be tested has cold and hot data can be identified.
In one embodiment, as shown in fig. 2, a method for identifying and testing cold and hot data based on a solid state disk is provided, and the method further includes:
step 202, sequentially writing the full disk with FIO, wherein the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, recording the performance per second as a first array, and stopping the test when the performance in continuous 5s is less than half of the first second performance;
in step 204, the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K, and 16KB, the above-mentioned erasing and writing operations are repeatedly performed, and each time the second, third, fourth, fifth, sixth, and seventh arrays are recorded.
In one embodiment, a cold and hot data identification test method based on a solid state disk is provided, and the test environment is as follows:
hardware requirements: the computer to be tested is Hua Shuo Z690, and the specific model is not mandatory. In this embodiment, hua Shuo Z690 is preferably a computer to be tested. The solid state disk to be tested is a TLC solid state disk supporting analog SLC cache. The test method is suitable for various multilayer storage unit solid state disks with simulated SLC, and for convenience of description, the most mainstream TLC solid state disk is uniformly used as a test and description object.
Software requirements: the operating system is Linux Redhat; the testing tool is FIO (a open source testing tool which is mainly used for carrying out pressure test and performance verification on a hard disk), and Iostat (an open source tool used for monitoring the IO load condition of system equipment); the test script is a self-organized batch script. There is no mandatory requirement for the test OS and tools, and Redhat, FIO and Iostat are preferred in this embodiment.
Specifically, referring to the schematic diagram of the cold and hot data identification test method based on the solid state disk shown in fig. 3, the test flow includes:
the slave disc NVME format command is used to securely erase the disc, thereby ensuring the consistency of the initial state of the disc.
The full disk is written sequentially with FIO, the queue depth=8192/block size, thread=1, block size 1024KB data, the performance per second is recorded with Iostat as array a, where the first second performance is A1, and another process determines to abort the test when the consecutive 5s performance is less than (first second performance)/2.
Changing the block sizes to 512KB, 256KB, 128K, 64K, 32K and 16KB, repeating the steps 1-2, and recording the performance per second as an array B, C, D, E, F.
And judging whether cold and hot data identification exists according to whether the performance of the performance is consistent when the block sizes are different.
Two products were exemplified for the following test performance:
product Y: referring to the test result diagrams shown in fig. 4 and 5, when larger data blocks of 64KB to 1024KB are used for continuous writing, cold data is judged, and TLC is used for direct writing of data after 3G writing to avoid moving; while a data block smaller than 64KB is determined to be hot data, the continuous writing is not written to TLC until SLC is used up. Product Z: the cold and hot data cannot be identified by 16 KB-1024 KB, and the SLC can be written after the SLC is used up.
In this embodiment, it is possible to realize confirmation of whether or not the solid state disk has passed the data block size and the data amount as the cold and hot data judgment conditions.
It should be understood that, although the steps in the flowcharts of fig. 1-5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the other steps or sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, a cold and hot data identification test device 600 based on a solid state disk is provided, the device includes:
the secure erase module 601 is configured to securely erase the solid state disk to be tested, so that an initial state of the solid state disk to be tested is consistent;
a performance recording module 602, configured to sequentially write the full disc with FIO, record the performance per second as a first array, and terminate the test when the performance recorded for a continuous period of time is less than half the first second performance;
a retest module 603, configured to sequentially change the size of the blocks, repeatedly perform the erasing and writing the full disc operation, and record the performance per second as a corresponding array;
and a result judging module 604, configured to judge whether cold and hot data is identified according to whether the performance recorded in different block sizes is consistent.
In one embodiment, performance recording module 602 is further configured to:
the full disk is sequentially written with FIO, the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, the performance per second is recorded as a first array, and the test is aborted when the performance in consecutive 5s is less than half of the first second performance.
In one embodiment, the retest module 603 is further configured to:
the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K and 16KB, the erasing operation and the full-disk writing operation are repeatedly executed, and each time the performance per second of recording is corresponding to the second array, the third array, the fourth array, the fifth array, the sixth array and the seventh array.
In one embodiment, the result determination module 604 is further configured to:
and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
For specific limitation of the cold and hot data identification test device based on the solid state disk, reference may be made to the limitation of the cold and hot data identification test method based on the solid state disk, which is not repeated herein.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 7. The computer device includes a processor, a memory, and a network interface connected by a device bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a cold and hot data identification test method based on the solid state disk.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method embodiments above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the above method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described embodiment methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A cold and hot data identification test method based on a solid state disk comprises the following steps:
performing safe erasure on the solid state disk to be tested so as to make the initial state of the solid state disk to be tested consistent;
sequentially writing the full disk by FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance;
sequentially changing the size of the blocks, repeatedly executing the erasing and the full-disc writing operation, and recording the corresponding performance per second as a corresponding array;
and judging whether cold and hot data identification exists according to whether the recorded performances are consistent or not when the sizes of the blocks are different.
2. The method for identifying and testing cold and hot data based on a solid state disk according to claim 1, wherein the step of sequentially writing the full disk with FIO, recording the performance per second as a first array, and stopping the test when the recorded performance is less than half of the first second performance for a continuous period of time further comprises:
the full disk is sequentially written with FIO, the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, the performance per second is recorded as a first array, and the test is aborted when the performance in consecutive 5s is less than half of the first second performance.
3. The method for recognizing and testing cold and hot data based on a solid state disk according to claim 2, wherein the step of sequentially changing the block size and repeatedly performing the erasing and writing the full disk operation, and recording the corresponding performance per second as a corresponding array further comprises:
the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K and 16KB, the erasing operation and the full-disk writing operation are repeatedly executed, and each time the performance per second of recording is corresponding to the second array, the third array, the fourth array, the fifth array, the sixth array and the seventh array.
4. The method for identifying and testing cold and hot data based on a solid state disk according to any one of claims 1 to 3, wherein the step of judging whether cold and hot data are identified according to whether the performance recorded in different block sizes is consistent further comprises:
and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
5. Cold and hot data identification testing device based on solid state disk, characterized by, the device includes:
the safe erasing module is used for safely erasing the solid state disk to be detected so as to enable the initial state of the solid state disk to be detected to be consistent;
the performance recording module is used for sequentially writing the full disc by using the FIO, recording the performance per second as a first array, and stopping the test when the recorded performance in a continuous period of time is less than half of the first second performance;
the repeated test module is used for sequentially changing the size of the block and repeatedly executing the operations of erasing and writing the whole disk, and recording the corresponding performance per second as a corresponding array;
and the result judging module is used for judging whether cold and hot data identification exists according to whether the recorded performances of different block sizes are consistent.
6. The cold and hot data identification test device based on a solid state disk of claim 5, wherein the performance recording module is further configured to:
the full disk is sequentially written with FIO, the queue depth is 8192/block size, the thread is 1, the block size is 1024KB data, the performance per second is recorded as a first array, and the test is aborted when the performance in consecutive 5s is less than half of the first second performance.
7. The solid state disk based cold and hot data identification test device of claim 6, wherein the repeated test module is further configured to:
the block sizes are sequentially changed to 512KB, 256KB, 128K, 64K, 32K and 16KB, the erasing operation and the full-disk writing operation are repeatedly executed, and each time the performance per second of recording is corresponding to the second array, the third array, the fourth array, the fifth array, the sixth array and the seventh array.
8. The cold and hot data identification test device based on a solid state disk according to any one of claims 5 to 7, wherein the result judgment module is further configured to:
and the test result of the solid state disk to be tested is that the size and the data quantity of the write request are used as the judging standard of the cold and hot data threshold or the judging standard does not exist.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202311274326.9A 2023-09-28 2023-09-28 Cold and hot data identification test method and device based on solid state disk Pending CN117234879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311274326.9A CN117234879A (en) 2023-09-28 2023-09-28 Cold and hot data identification test method and device based on solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311274326.9A CN117234879A (en) 2023-09-28 2023-09-28 Cold and hot data identification test method and device based on solid state disk

Publications (1)

Publication Number Publication Date
CN117234879A true CN117234879A (en) 2023-12-15

Family

ID=89096558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311274326.9A Pending CN117234879A (en) 2023-09-28 2023-09-28 Cold and hot data identification test method and device based on solid state disk

Country Status (1)

Country Link
CN (1) CN117234879A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117435416A (en) * 2023-12-19 2024-01-23 合肥康芯威存储技术有限公司 Memory testing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117435416A (en) * 2023-12-19 2024-01-23 合肥康芯威存储技术有限公司 Memory testing system and method
CN117435416B (en) * 2023-12-19 2024-04-05 合肥康芯威存储技术有限公司 Memory testing system and method

Similar Documents

Publication Publication Date Title
US8706983B2 (en) Garbage collection of memory blocks using volatile memory
CN106484316B (en) Method for managing a memory device, memory device and controller
US20120005405A1 (en) Pre-Emptive Garbage Collection of Memory Blocks
CN110431526B (en) Apparatus and method for automating dynamic word line start voltage
US20100125767A1 (en) Method for testing reliability of solid-state storage medium
JP2005011317A5 (en)
CN117234879A (en) Cold and hot data identification test method and device based on solid state disk
CN107357696B (en) Nonvolatile memory bad block test method and system
US20130151764A1 (en) Systems and methods for storing data in a multi-level cell solid state storage device
CN107577549A (en) It is a kind of to store the method for testing for deleting function again
CN106856102B (en) Programming method for Nand Flash
CN110504002B (en) Hard disk data consistency test method and device
US20180299935A1 (en) Memory device and data storage device including the same
CN107680632B (en) Method and device for testing service life of solid state disk
US11809326B2 (en) Electronic system including host and memory system for performing read operation based on physical address received from the host
CN110389724B (en) Method and device for identifying parity page based on solid state disk
CN110442531B (en) Method and device for improving reading performance based on solid state disk and computer equipment
CN110750215A (en) Method and device for improving random reading performance of solid state disk and computer equipment
CN117234881A (en) Solid state disk SLC available size and release strategy testing method and device
CN117234880A (en) Method and device for testing starting and finishing time of solid state disk SLC (simple logic control) movement
CN117931597A (en) Background garbage collection testing method and device based on solid state disk
CN113986140B (en) High-transmission-rate high-capacity cloud storage solid state disk
CN112765050B (en) Method for adapting NFTL algorithm to NAND Flash and storage device
CN117393032B (en) Storage device and data processing method thereof
CN116994636B (en) Random abrasion test method and device for memory chip and memory medium thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination