CN115408221A - Method, device, equipment and medium for testing performance of compression coil of storage equipment - Google Patents

Method, device, equipment and medium for testing performance of compression coil of storage equipment Download PDF

Info

Publication number
CN115408221A
CN115408221A CN202211046335.8A CN202211046335A CN115408221A CN 115408221 A CN115408221 A CN 115408221A CN 202211046335 A CN202211046335 A CN 202211046335A CN 115408221 A CN115408221 A CN 115408221A
Authority
CN
China
Prior art keywords
test
operation type
size
sectors
certain
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
CN202211046335.8A
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 Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211046335.8A priority Critical patent/CN115408221A/en
Publication of CN115408221A publication Critical patent/CN115408221A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to the field of storage technologies, and in particular, to a method, an apparatus, a device, and a medium for testing a performance of a compressed volume of a storage device. The method comprises the following steps: acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume; dividing the compressed volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type; judging whether each test area comprises a reading test; in response to that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area; and in response to that the IO operation type corresponding to a certain test region does not include the read test, directly issuing a test command according to the IO operation type corresponding to the certain test region. The scheme of the invention improves the performance test accuracy of the compressed coil, improves the design level and quality of the stored product, and improves the product competitiveness.

Description

Method, device, equipment and medium for testing performance of compression volume of storage equipment
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method, an apparatus, a device, and a medium for testing a performance of a compressed volume of a storage device.
Background
Data compression is a technical method for reducing the data volume to reduce the storage space and improve the transmission, storage and processing efficiency on the premise of not losing information. Or reorganize the data according to a certain algorithm to reduce the redundancy and storage space of the data. With the rapid development of the mobile internet, the compressed volumes provided by the storage devices are widely used in various large-scale organizations, and the performance of the stored compressed volumes must also meet the requirements of the customers for use in various severe scenes. Performance testing of storage compression volumes is also becoming increasingly important.
At present, in a performance test of a compressed volume in a conventional storage, if a test host sends a read IO command without data in the compressed volume, a compression module directly returns to 0 without decompressing data. The result of testing the read performance on a data-free compressed volume is very high; in addition, because a garbage collection mechanism exists in the stored compression module, when the specified data block is repeatedly written, the compression module can perform garbage collection in the background to influence the writing performance of the compression volume, so that it can be seen that how to accurately evaluate the performance of the compression volume is a problem to be solved.
Disclosure of Invention
In view of the above, it is desirable to provide a method, an apparatus, a device and a medium for testing performance of a storage device compression volume.
According to a first aspect of the present invention, there is provided a storage device compression volume performance testing method, the method including:
acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume;
dividing the compressed volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
judging whether each test area comprises a reading test;
in response to that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area;
and in response to the fact that the IO operation type corresponding to a certain test region does not comprise the read test, directly issuing a test command according to the IO operation type corresponding to the certain test region.
In some embodiments, said dividing the compressed volume into test regions based on said number of sectors comprises:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
In some embodiments, said dividing the compressed volume into test regions based on said number of sectors further comprises:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading of the preset IO size, sequential writing of the preset IO size, and sequential reading of the preset IO size.
According to a second aspect of the present invention, there is provided a storage device compression volume performance testing apparatus, the apparatus comprising:
the acquisition module is configured to acquire the size of the compressed volume and calculate the number of sectors of the compressed volume according to the size of the compressed volume;
the dividing module is configured to divide the compression volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
the judging module is configured to judge whether each test area comprises a reading test;
the first issuing module is configured to respond to the fact that the IO operation type corresponding to a certain test area comprises a read test, firstly perform data writing in the certain test area before the read test is executed, and then issue a test command according to the IO operation type corresponding to the certain test area;
and the second issuing module is configured to issue the test command directly according to the IO operation type corresponding to the certain test region in response to that the IO operation type corresponding to the certain test region does not include the read test.
In some embodiments, the partitioning module is further configured to:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
In some embodiments, the partitioning module is further configured to:
in response to that some of the IO operation types have designated test regions and some of the IO operation types do not designate a test region, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading of the preset IO size, sequential writing of the preset IO size, and sequential reading of the preset IO size.
According to a third aspect of the present invention, there is also provided a computer apparatus comprising:
at least one processor; and
the storage is used for storing a computer program which can run on the processor, and the processor executes the compression volume performance test method of the storage device when executing the program.
According to a fourth aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, executes the aforementioned storage device compression volume performance testing method.
According to the method for testing the performance of the compression coil of the storage equipment, the compression coil is divided into different test areas, so that repeated data cannot be generated in each test, the influence of garbage recovery on test performance is avoided, meanwhile, the adjustment of a test sequence and the pre-embedding of test data are realized, the accuracy of the performance test of the compression coil is improved, the design level and the quality of a storage product are improved, and the competitiveness of the product is improved.
In addition, the invention also provides a device for testing the performance of the compression coil of the storage equipment, computer equipment and a computer readable storage medium, which can also realize the technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing performance of a storage device compression volume according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for testing performance of a compressed volume of a storage device according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for testing performance of a compressed volume of a storage device according to another embodiment of the present invention;
fig. 4 is an internal structural diagram of a computer apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In one embodiment, referring to fig. 1, the present invention provides a method 100 for testing performance of a storage device compression volume, specifically, the method includes the following steps:
step 101, acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume;
102, dividing the compression volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
103, judging whether each test area comprises a reading test;
104, in response to that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area;
and 105, in response to that the IO operation type corresponding to a certain test region does not include a read test, directly issuing a test command according to the IO operation type corresponding to the certain test region.
According to the method for testing the performance of the compression coil of the storage equipment, the compression coil is divided into different test areas, so that repeated data cannot be generated in each test, the influence of garbage recovery on test performance is avoided, meanwhile, the adjustment of a test sequence and the pre-embedding of test data are realized, the accuracy of the performance test of the compression coil is improved, the design level and the quality of a storage product are improved, and the competitiveness of the product is improved.
In some embodiments, the aforementioned step 102, dividing the compressed volume into a plurality of test areas based on the number of sectors, includes:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
In some embodiments, the aforementioned step 102 of dividing the compressed volume into a plurality of test areas based on the number of sectors further comprises:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading of the preset IO size, sequential writing of the preset IO size, and sequential reading of the preset IO size.
In another embodiment, to facilitate understanding of the scheme of the present invention, the following takes specific six types of IO operations as an example: for example, 2KB random read, 4KB random read, 8KB random read, 2KB random write, 4KB random write, and 8KB random write, referring to fig. 2, this embodiment provides another method 200 for testing compressed volume performance of a storage device, the specific implementation steps are as follows:
step 201, acquiring the size of a compressed volume, and calculating the number of compressed volume sectors;
step 202, dividing different test areas according to the IO data type and the sector number to be tested.
In step 203, if the compressed volume test area is not specified, the test area is evenly distributed according to the number of the tested IO types, for example, if 12000 sectors exist, each of the above six IO operation types corresponds to two thousand sectors.
If the test area of the compressed volume is specified, the test area is generated according to the specified rule, step 204. It is not assumed that 2KB random read corresponds to 1 to 1000 sectors, 4KB random read corresponds to 1001 to 3000 sectors, 8KB random read corresponds to 3001 to 5000 sectors, 2KB random write corresponds to 5001 to 6000 sectors, 4KB random write corresponds to 6001 to 8000 sectors, and 8KB random write corresponds to 8001 to 10000 sectors.
Step 205, generating a test sequence rule according to the IO test read-write type;
and step 206, if the IO test type is to test the compression volume reading performance, data is written in according to the area divided in the step 202. The data pre-embedding amount is the data amount for testing the reading performance of the compression volume. Then, a read performance test was performed.
Step 207, if the IO test type is the test pressure reduction volume writing performance; the data write performance test is performed directly according to the area divided in step 202. Continuing with the example where 2KB random read, 4KB random read, and 8KB random read all comprise read tests, it is necessary to pre-write data into their corresponding sectors prior to reading.
Step 208, integrating the rules in step 202 and step 205 to generate a compression volume IO issuing rule;
step 209, performing performance test of the compression volume by using the IO issuing rule generated in step 208; continuing by way of example: the 2KB random read, 4KB random read, 8KB random read, and 2KB random write correspond to the sector to perform the data write first, and then perform the data read test, while the 2KB random write, 4KB random write, and 8KB random write can directly perform the data write test to the corresponding sector.
According to the method for testing the performance of the compression coil of the storage equipment, the compression coil is divided into different test areas, so that repeated data cannot be generated in each test, influence on test performance caused by triggering garbage recovery is avoided, meanwhile, the test sequence is adjusted, test data is embedded, and the accuracy of the performance test of the compression coil is improved. Thereby improving the design level and the quality level of the product and promoting the competitiveness of the product.
In some embodiments, referring to fig. 3, the present invention further provides an apparatus 300 for testing a performance of a compressed volume of a storage device, where the apparatus includes:
an obtaining module 301 configured to obtain a size of a compressed volume and calculate a sector number of the compressed volume according to the size of the compressed volume;
a dividing module 302, configured to divide the compressed volume into a plurality of test regions based on the number of sectors, where each test region corresponds to an IO operation type;
a judging module 303 configured to judge whether each test region includes a read test;
a first issuing module 304, configured to respond to that an IO operation type corresponding to a certain test area includes a read test, perform data writing in the certain test area before performing the read test, and then issue a test command according to the IO operation type corresponding to the certain test area;
the second issuing module 305 is configured to, in response to that the IO operation type corresponding to a certain test region does not include a read test, directly issue a test command according to the IO operation type corresponding to the certain test region.
Above-mentioned storage device compression volume capability test device through rolling up the compression and carrying out different test regional divisions, has ensured that the test can not produce repeated data at every turn, avoids triggering rubbish and retrieves the influence test performance, and the adjustment and the pre-buried of test data to test order have improved compression volume capability test's accuracy simultaneously, help improving the design level and the quality of storage product, promote product competitiveness.
In some embodiments, the partitioning module 302 is further configured to:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
In some embodiments, the partitioning module 302 is further configured to:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading of the preset IO size, sequential writing of the preset IO size, and sequential reading of the preset IO size.
It should be noted that, for specific limitations of the storage device compressed volume performance testing apparatus, reference may be made to the above limitations of the storage device compressed volume performance testing method, and details are not described herein again. The modules in the storage device compression volume performance testing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
According to another aspect of the present invention, a computer device is provided, and the computer device may be a server, and its internal structure is shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements the method for testing performance of a compressed volume of a storage device as described above, and in particular, the method comprises the steps of:
acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume;
dividing the compressed volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
judging whether each test area comprises a reading test;
in response to the fact that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area;
and in response to the fact that the IO operation type corresponding to a certain test region does not comprise the read test, directly issuing a test command according to the IO operation type corresponding to the certain test region.
In some embodiments, said dividing the compressed volume into test regions based on said number of sectors comprises:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the designated test region, taking the sector corresponding to the designated test region as the test region corresponding to a certain IO operation type.
In some embodiments, said dividing the compressed volume into test areas based on the number of sectors further comprises:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading of the preset IO size, sequential writing of the preset IO size, and sequential reading of the preset IO size.
According to yet another aspect of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the storage device compressed volume performance testing method described above, specifically comprising performing the following steps:
acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume;
dividing the compressed volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
judging whether each test area comprises a read test;
in response to that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area;
and in response to that the IO operation type corresponding to a certain test region does not include the read test, directly issuing a test command according to the IO operation type corresponding to the certain test region.
In some embodiments, said dividing the compressed volume into test regions based on said number of sectors comprises:
judging whether each IO operation type has a designated test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the designated test region, taking the sector corresponding to the designated test region as the test region corresponding to a certain IO operation type.
In some embodiments, said dividing the compressed volume into test areas based on the number of sectors further comprises:
in response to that some of the IO operation types have designated test regions and some of the IO operation types do not designate a test region, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
In some embodiments, the IO operation types include random reading of a preset IO size, random writing of the preset IO size, random reading and writing of the preset IO size, sequential reading of the preset IO size, sequential writing of the preset IO size, and sequential reading and writing of the preset IO size.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile 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), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for testing performance of a storage device compression volume is characterized by comprising the following steps:
acquiring the size of a compressed volume and calculating the sector number of the compressed volume according to the size of the compressed volume;
dividing the compressed volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
judging whether each test area comprises a reading test;
in response to that the IO operation type corresponding to a certain test area comprises a read test, data is written into the certain test area before the read test is executed, and then a test command is issued according to the IO operation type corresponding to the certain test area;
and in response to that the IO operation type corresponding to a certain test region does not include the read test, directly issuing a test command according to the IO operation type corresponding to the certain test region.
2. The method for testing the performance of the compressed volume of the storage device according to claim 1, wherein the dividing the compressed volume into a plurality of test areas based on the number of sectors comprises:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
3. The method for testing the performance of the compressed volume of the storage device according to claim 2, wherein the dividing the compressed volume into a plurality of test areas based on the number of sectors further comprises:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
4. The method for testing the performance of the compressed volume of the storage device according to claim 1, wherein the IO operation types include random reading of a preset IO size, random writing of a preset IO size, random reading of a preset IO size, sequential writing of a preset IO size, and sequential reading of a preset IO size.
5. An apparatus for testing performance of a storage device compression volume, the apparatus comprising:
the acquisition module is configured to acquire the size of the compression volume and calculate the sector number of the compression volume according to the size of the compression volume;
the dividing module is configured to divide the compression volume into a plurality of test areas based on the number of the sectors, wherein each test area corresponds to one IO operation type;
the judging module is configured to judge whether each test area comprises a reading test;
the first issuing module is configured to respond to the fact that the IO operation type corresponding to a certain test area comprises a read test, firstly perform data writing in the certain test area before the read test is executed, and then issue a test command according to the IO operation type corresponding to the certain test area;
and the second issuing module is configured to respond that the IO operation type corresponding to a certain test region does not include the read test, and then directly issue the test command according to the IO operation type corresponding to the certain test region.
6. The storage device compression volume performance testing apparatus of claim 5, wherein the dividing module is further configured to:
judging whether each IO operation type has a specified test area or not;
responding to that all IO operation types do not designate a test area, averagely distributing the number of the sectors into a plurality of test areas so that each test area corresponds to one IO operation type, and the number of the sectors included in different test areas is the same;
and in response to that all the IO operation types have the specified test region, taking the sector corresponding to the specified test region as the test region corresponding to a certain IO operation type.
7. The storage device compression volume performance testing apparatus of claim 6, wherein the dividing module is further configured to:
in response to that some IO operation types in all the IO operation types have the designated test regions and some IO operation types do not designate the test regions, dividing the corresponding test regions for the corresponding IO operation types based on the sectors corresponding to each designated test region, and then averagely allocating the remaining unallocated sectors to the IO operation types corresponding to each of the unspecified test regions.
8. The apparatus according to claim 5, wherein the IO operation types include random reading of a preset IO size, random writing of a preset IO size, random reading of a preset IO size, sequential writing of a preset IO size, and sequential reading of a preset IO size.
9. A computer device, comprising:
at least one processor; and
a memory storing a computer program operable in the processor, the processor executing the program to perform the storage device compression volume performance testing method of any one of claims 1-4.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to execute the storage device compression volume performance testing method according to any one of claims 1 to 4.
CN202211046335.8A 2022-08-30 2022-08-30 Method, device, equipment and medium for testing performance of compression coil of storage equipment Pending CN115408221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211046335.8A CN115408221A (en) 2022-08-30 2022-08-30 Method, device, equipment and medium for testing performance of compression coil of storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211046335.8A CN115408221A (en) 2022-08-30 2022-08-30 Method, device, equipment and medium for testing performance of compression coil of storage equipment

Publications (1)

Publication Number Publication Date
CN115408221A true CN115408221A (en) 2022-11-29

Family

ID=84161585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211046335.8A Pending CN115408221A (en) 2022-08-30 2022-08-30 Method, device, equipment and medium for testing performance of compression coil of storage equipment

Country Status (1)

Country Link
CN (1) CN115408221A (en)

Similar Documents

Publication Publication Date Title
CN108231109B (en) Method, device and system for refreshing Dynamic Random Access Memory (DRAM)
CN109597571B (en) Data storage method, data reading method, data storage device, data reading device and computer equipment
CN110568998B (en) Trim command implementation method and device based on solid state disk and computer equipment
CN110413454B (en) Data reconstruction method and device based on storage array and storage medium
CN110968647A (en) Data storage method and device, computer equipment and storage medium
CN112835528A (en) Dirty page refreshing method and device, electronic equipment and storage medium
CN113434470B (en) Data distribution method and device and electronic equipment
CN113177021B (en) Data export method and device for different data sources
CN112153375B (en) Front-end performance testing method, device, equipment and medium based on video information
CN111966531B (en) Data snapshot method and device, computer equipment and storage medium
CN115249057A (en) System and computer-implemented method for graph node sampling
CN112000591A (en) SSD (solid State disk) scanning method and device capable of appointing logical block address, computer equipment and storage medium
CN115408221A (en) Method, device, equipment and medium for testing performance of compression coil of storage equipment
CN115114239A (en) Distributed system data processing method, device, equipment and medium
CN109582516B (en) SSD back-end performance analysis method and device, computer equipment and storage medium
CN110442531B (en) Method and device for improving reading performance based on solid state disk and computer equipment
CN109284260B (en) Big data file reading method and device, computer equipment and storage medium
CN111176568B (en) Data analysis method and device
CN110275596B (en) Solid state disk-based power-on initialization acceleration method and device and computer equipment
CN113722623A (en) Data processing method and device, electronic equipment and storage medium
CN111897495A (en) Implementation method and device for improving SSD writing performance, computer equipment and storage medium
CN113010113A (en) Data processing method, device and equipment
CN110750215A (en) Method and device for improving random reading performance of solid state disk and computer equipment
CN112835777A (en) Method and system for improving flash simulation accuracy
CN113468105A (en) Data structure of data snapshot, related data processing method, device and system

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