CN111475351A - Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium - Google Patents

Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium Download PDF

Info

Publication number
CN111475351A
CN111475351A CN202010165809.5A CN202010165809A CN111475351A CN 111475351 A CN111475351 A CN 111475351A CN 202010165809 A CN202010165809 A CN 202010165809A CN 111475351 A CN111475351 A CN 111475351A
Authority
CN
China
Prior art keywords
solid state
state disk
module
disk
iops
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.)
Withdrawn
Application number
CN202010165809.5A
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 CN202010165809.5A priority Critical patent/CN111475351A/en
Publication of CN111475351A publication Critical patent/CN111475351A/en
Withdrawn 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • 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/2247Verification or detection of system hardware configuration
    • 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)
  • Debugging And Monitoring (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention relates to a method, a device and a storage medium for testing IOPS consistency of a solid state disk, wherein the method comprises the following steps of S1: building a solid state disk test, S2: step of configuring the running parameters of the solid state disk test script, S3: step of processing the solid state disk to reach steady state, S4: step of running the solid state disk test script, S5: step of processing and determining the degree of performance stability, S6: and (5) displaying a performance curve.

Description

Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium
Technical Field
The invention belongs to the technical field of hard disk testing, and particularly relates to a method and a device for testing IOPS (input/output protection system) consistency of a solid state disk and a storage medium.
Background
The Solid State Disk (SSD) consists of a control unit and a storage unit (F L ASH chip, DRAM chip), wherein the physical structure of the traditional mechanical hard disk mainly comprises a motor, a mechanical arm, a magnetic disk and other mechanical structures, and the magnetic disk rotates when the hard disk runs, so that slight noise is generated and the read-write performance is not high.
Compared with the traditional mechanical hard disk, the Solid State Disk (SSD) has no mechanical mechanism inside, the power consumption is lower, the read-write performance is higher than that of the traditional mechanical hard disk, the read-write speed of the SATA solid state disk is about 3 times that of the traditional mechanical hard disk, and the read-write speed of the NVME solid state disk can reach about 15 times that of the traditional mechanical hard disk.
Although the read-write performance of a Solid State Disk (SSD) is higher, in the daily use process, the stable consistency of the performance is more concerned, the performance cannot be frequently changed, or else, the service application is greatly influenced. It is therefore desirable to test the stability of Solid State Disk (SSD) products before they can be used.
The existing method for testing the performance stability and consistency of the Solid State Disk (SSD) generally adopts a method that a worker manually checks and compares a performance test result file, and the testing method has the defects of large testing workload, time and labor consumption, high labor cost and low testing efficiency.
In view of this, the present invention provides a method, an apparatus and a storage medium for testing the consistency of the solid state disk IOPS; it is very necessary to solve the above-mentioned defects existing in the prior art.
Disclosure of Invention
In view of the above disadvantages in the prior art, the present invention provides a method, an apparatus and a storage medium for testing the consistency of the IOPS of the solid state disk, so as to solve the above technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, the present invention provides a method for testing consistency of an IOPS of a solid state disk, including the following steps:
s1: the method comprises the steps of building a solid state disk test, and specifically comprises the following steps:
directly connecting the solid state disk to be tested or connecting the solid state disk to the test server through the PCIE adapter card;
s2: the method for configuring the running parameters of the test script of the solid state disk specifically comprises the following steps:
setting a read-write mode and a read-write engine of the solid state disk;
s3: the step of processing the solid state disk to reach the steady state specifically includes:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
s4: the method for operating the solid state disk test script specifically comprises the following steps:
testing was continued for 12 hours and other test procedures were ensured to be suspended;
s5: the step of processing and judging the performance stability degree specifically comprises the following steps:
sorting all IOPS (average read-write times per second) data from large to small, taking 99.9% of the data as an inspection data set, calculating the average value and the minimum value of all the data, and dividing the minimum value by the average value, wherein the closer the ratio is to 100%, the better the performance stability and consistency is; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
s6: the performance curve display method specifically comprises the following steps:
and the result data is drawn into a curve graph, and the performance data is visually displayed.
In a second aspect, the present invention provides an apparatus for testing consistency of an IOPS of a solid state disk, including:
build solid state hard drives test module, this module includes:
directly connecting the solid state disk to be tested or connecting the solid state disk to the test server through the PCIE adapter card;
the module for configuring the running parameters of the test script of the solid state disk comprises:
setting a read-write mode and a read-write engine of the solid state disk;
a module for handling solid state disk reaching steady state, the module comprising:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
running a solid state disk test script module, the module comprising:
testing was continued for 12 hours and other test procedures were ensured to be suspended;
a module for processing and determining a degree of performance stability, the module comprising:
sorting all IOPS (average read-write times per second) data from large to small, taking 99.9% of the data as an inspection data set, calculating the average value and the minimum value of all the data, and dividing the minimum value by the average value, wherein the closer the ratio is to 100%, the better the performance stability and consistency is; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
a performance curve presentation module, the module comprising:
and the result data is drawn into a curve graph, and the performance data is visually displayed.
In a third aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The method has the advantages that the IOPS performance consistency of the solid state disk is automatically tested; the manpower and material resources are saved, and the test accuracy and the test efficiency are improved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flowchart of a method for testing consistency of a solid state disk IOPS provided by the present invention.
FIG. 2 is a schematic diagram of an apparatus for testing consistency of a solid state disk IOPS according to the present invention.
The method comprises the following steps of 1-building a solid state disk test module, 2-configuring a solid state disk test script operation parameter module, 3-processing the solid state disk to reach a steady state module, 4-operating the solid state disk test script module, 5-processing and judging the performance stability degree module and 6-a performance curve display module.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the method for testing consistency of an IOPS of a solid state disk provided in this embodiment includes the following steps:
s1: the method comprises the steps of building a solid state disk test, and specifically comprises the following steps:
directly connecting the solid state disk to be tested or connecting the solid state disk to the test server through the PCIE adapter card;
s2: the method for configuring the running parameters of the test script of the solid state disk specifically comprises the following steps:
setting a read-write mode and a read-write engine of the solid state disk;
s3: the step of processing the solid state disk to reach the steady state specifically includes:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
s4: the method for operating the solid state disk test script specifically comprises the following steps:
testing was continued for 12 hours and other test procedures were ensured to be suspended;
s5: the step of processing and judging the performance stability degree specifically comprises the following steps:
sorting all IOPS (average read-write times per second) data from large to small, taking 99.9% of the data as an inspection data set, calculating the average value and the minimum value of all the data, and dividing the minimum value by the average value, wherein the closer the ratio is to 100%, the better the performance stability and consistency is; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
s6: the performance curve display method specifically comprises the following steps:
and the result data is drawn into a curve graph, and the performance data is visually displayed.
Example 2:
as shown in fig. 2, the apparatus for testing consistency of an IOPS of a solid state disk provided in this embodiment includes:
build solid state disk test module 1, this module includes:
directly connecting the solid state disk to be tested or connecting the solid state disk to the test server through the PCIE adapter card;
the module 2 for configuring the running parameters of the test script of the solid state disk comprises:
setting a read-write mode and a read-write engine of the solid state disk;
processing a solid state disk to reach a steady state module 3, the module comprising:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
running a solid state disk test script module 4, which comprises:
testing was continued for 12 hours and other test procedures were ensured to be suspended;
a module 5 for processing and determining the degree of stability of the performance, the module comprising:
sorting all IOPS (average read-write times per second) data from large to small, taking 99.9% of the data as an inspection data set, calculating the average value and the minimum value of all the data, and dividing the minimum value by the average value, wherein the closer the ratio is to 100%, the better the performance stability and consistency is; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
a performance curve demonstration module 6 comprising:
and the result data is drawn into a curve graph, and the performance data is visually displayed.
Example 3:
the present embodiment provides a computer storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the method of embodiment 1 described above.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A method for testing consistency of IOPS of solid state disk is characterized by comprising the following steps:
s1: building a solid state disk test step,
s2: configuring the running parameters of the solid state disk test script,
s3: the step of processing the solid state disk to reach the steady state specifically includes:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
s4: a step of running a solid state disk test script,
s5: the step of processing and judging the performance stability degree specifically comprises the following steps:
sorting all IOPS data from large to small, taking 99.9% of the IOPS data as an inspection data set, calculating the average value and the minimum value of all the data, dividing the average value by the minimum value, and indicating that the performance stability and consistency are better when the ratio is closer to 100%; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
s6: the performance curve display method specifically comprises the following steps:
and drawing the result data into a curve chart, and displaying the performance data.
2. The method for testing consistency of the solid state disk IOPS according to claim 1, wherein in the step S1:
and directly connecting the solid state disk to be tested with a test server or connecting the solid state disk to be tested with the test server through a PCIE adapter card.
3. The method for testing consistency of the solid state disk IOPS according to claim 2, wherein in the step S2: and setting the read-write mode and the read-write engine of the solid state disk.
4. The method for testing consistency of the solid state disk IOPS according to claim 3, wherein in the step S4: the test was continued for 12 hours and the other test procedures were ensured to be suspended.
5. An apparatus for testing consistency of a solid state disk IOPS, comprising:
build solid state hard drives test module, this module includes:
directly connecting the solid state disk to be tested or connecting the solid state disk to the test server through the PCIE adapter card;
the module for configuring the running parameters of the test script of the solid state disk comprises:
setting a read-write mode and a read-write engine of the solid state disk;
a module for handling solid state disk reaching steady state, the module comprising:
formatting the solid state disk, wherein the type of the formatted solid state disk is 512B, performing 128k full-disk sequential write operation on the formatted solid state disk, and then performing 4k full-disk random write operation on the formatted solid state disk;
running a solid state disk test script module, the module comprising:
testing was continued for 12 hours and other test procedures were ensured to be suspended;
a module for processing and determining a degree of performance stability, the module comprising:
sorting all IOPS data from large to small, taking 99.9% of the IOPS data as an inspection data set, calculating the average value and the minimum value of all the data, dividing the average value by the minimum value, and indicating that the performance stability and consistency are better when the ratio is closer to 100%; if the ratio is lower than 90%, the performance stability of the solid state disk is determined to be not in accordance with the requirement;
a performance curve presentation module, the module comprising:
and drawing the result data into a curve chart, and displaying the performance data.
6. A computer storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-5 above.
CN202010165809.5A 2020-03-11 2020-03-11 Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium Withdrawn CN111475351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010165809.5A CN111475351A (en) 2020-03-11 2020-03-11 Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010165809.5A CN111475351A (en) 2020-03-11 2020-03-11 Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium

Publications (1)

Publication Number Publication Date
CN111475351A true CN111475351A (en) 2020-07-31

Family

ID=71747284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010165809.5A Withdrawn CN111475351A (en) 2020-03-11 2020-03-11 Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium

Country Status (1)

Country Link
CN (1) CN111475351A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113889175A (en) * 2021-08-21 2022-01-04 苏州浪潮智能科技有限公司 Method, device and equipment for evaluating performance of hard disk in noise environment and readable medium
CN116893940A (en) * 2023-09-08 2023-10-17 江苏华存电子科技有限公司 Method and system for testing consistency of enterprise-level solid state disk array performance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113889175A (en) * 2021-08-21 2022-01-04 苏州浪潮智能科技有限公司 Method, device and equipment for evaluating performance of hard disk in noise environment and readable medium
CN113889175B (en) * 2021-08-21 2023-11-21 苏州浪潮智能科技有限公司 Method, device, equipment and readable medium for evaluating hard disk performance in noise environment
CN116893940A (en) * 2023-09-08 2023-10-17 江苏华存电子科技有限公司 Method and system for testing consistency of enterprise-level solid state disk array performance

Similar Documents

Publication Publication Date Title
CN104360919A (en) Method for automatically testing performance, function and stability of SSD (solid state drive)
CN111475351A (en) Method and device for testing IOPS (input/output protection system) consistency of solid state disk and storage medium
CN113312804B (en) Temperature early warning method, device, equipment and storage medium of transformer
CN110891000B (en) GPU bandwidth performance detection method, system and related device
CN110968495A (en) Container cloud platform performance evaluation method and device
CN106598796A (en) Method for testing hardware information stability in reboot
US20230366724A1 (en) Autonomous discrimination of operation vibration signals
CN101883019B (en) Test method for verifying video application of storage server
CN108984353B (en) Vdbench-based hot spot data construction test data layering method
CN112985488A (en) Temperature stress accelerated life test system and method for sensor
CN117149550A (en) Solid state disk performance detection method and device and electronic equipment
CN111352783A (en) Method and system for automatically controlling hard disk identification and test
CN115878400A (en) Test method, test apparatus, computer device, storage medium, and program product
CN109920468B (en) Method and system for verifying SSD performance in steady state
CN111475107A (en) Method and device for formatting hard disk and storage medium
CN111209146B (en) RAID card aging test method and system
CN114087542A (en) Pipeline leakage detection method, device and medium based on SCADA system
CN105242880A (en) Method for automatically creating Raid and executing pressure testing
CN113064895A (en) Incremental updating method, device and system for map
CN109522186B (en) Monitoring method and system based on Linux disk access
CN110928910A (en) Method and device for reading and writing vector elements in Shapfile at high speed
CN111831502A (en) Enterprise-level hard disk energy efficiency ratio testing method and system
CN107783907A (en) The method and system of acquisition nvme disk information based on stability of a system test
TWI827105B (en) Repair system and repair method for semiconductor structure, storage medium and electronic device
CN114268557B (en) Fault detection method, device, equipment and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200731

WW01 Invention patent application withdrawn after publication