CN107068199B - Performance test method of SSD (solid State disk) - Google Patents

Performance test method of SSD (solid State disk) Download PDF

Info

Publication number
CN107068199B
CN107068199B CN201710330242.0A CN201710330242A CN107068199B CN 107068199 B CN107068199 B CN 107068199B CN 201710330242 A CN201710330242 A CN 201710330242A CN 107068199 B CN107068199 B CN 107068199B
Authority
CN
China
Prior art keywords
database
hard disk
ssd hard
server
test
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.)
Active
Application number
CN201710330242.0A
Other languages
Chinese (zh)
Other versions
CN107068199A (en
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710330242.0A priority Critical patent/CN107068199B/en
Publication of CN107068199A publication Critical patent/CN107068199A/en
Application granted granted Critical
Publication of CN107068199B publication Critical patent/CN107068199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56004Pattern generation
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56016Apparatus features

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种SSD硬盘的性能测试方法,该方法步骤具体为,将SSD硬盘安装到第一服务器上,并对所述SSD硬盘与所述第一服务器进行硬件兼容配置;在所述第一服务器中安装数据库,并建立所述数据库与所述SSD硬盘的文件路径对应关系;使用数据库压力测试工具对所述数据库进行预设时间的TPC标准的测试,并通过所述TPC标准的测试结果评估所述SSD硬盘的性能。由于该方法,是将SSD硬盘置于一个真实的应用环境中,应用环境中只有SSD硬盘与数据库之间有数据的流动,通过所述数据库的压力测试结果中的反映的数据吞吐方面的测试值就可以直接反映出SSD硬盘对于数据的读写性能,从而实现对SSD硬盘测试。

Figure 201710330242

The invention discloses a performance testing method for an SSD hard disk. The method steps are specifically: installing the SSD hard disk on a first server, and configuring hardware compatibility between the SSD hard disk and the first server; Install a database in a server, and establish a corresponding relationship between the database and the file path of the SSD hard disk; use a database stress test tool to test the database for a preset time TPC standard, and pass the test result of the TPC standard Evaluate the performance of the SSD hard disk. Because of this method, the SSD hard disk is placed in a real application environment. In the application environment, there is only data flow between the SSD hard disk and the database, and the test value in terms of data throughput reflected in the stress test result of the database is passed. It can directly reflect the read and write performance of the SSD hard disk for data, so as to realize the test of the SSD hard disk.

Figure 201710330242

Description

Performance test method of SSD (solid State disk)
Technical Field
The invention relates to the field of hardware testing, in particular to a performance testing method of an SSD (solid State disk).
Background
With the advent of the big data era, enterprises increasingly rely on data for business decision, and cloud computing, big data, mobility and socialization are deeply influencing the enterprise change trend, so that the data is becoming the core of the enterprises, and because of the fact that the importance of data processing and management has reached an unprecedented level, and rapid and efficient data storage is constantly pursued by the enterprises and users in the big data era.
Intel corporation recently announced the development of a new solid-state storage medium: the 3D Xpoint is published, the solid storage medium frightens the world due to the excellent storage performance of the solid storage medium, compared with a DRAM storage medium used as an internal memory, the internal memory manufactured by using the 3D Xpoint storage medium has no data loss when equipment is powered off, compared with a NAND Flash storage medium used as an SSD, the hard disk manufactured by using the 3D Xpoint storage medium has higher read-write speed, and the delay is one thousandth of that of the original hard disk. Today Intel promulgates the first SSD based on 3D Xpoint solid state storage media.
The performance of the SSD based on the 3D Xpoint solid-state storage medium needs to be tested and evaluated, but at present, only read-write bandwidth and IOPS are tested and evaluated for the product, and these are theoretically evaluated for the basic performance of the SSD, while the SSD should pay more attention to its performance in actual application to the project, but there is no reasonable test and evaluation method for its performance in actual application.
Therefore, it is obvious that the technical staff in the art needs to solve the problem of providing a professional and accurate measurement and evaluation method to measure the specific performance of the SSD product based on the 3D Xpoint solid-state storage medium in practical application.
Disclosure of Invention
The invention aims to provide a performance test method of an SSD hard disk, which is used for professionally and accurately evaluating the performance of the SSD hard disk in practical application.
In order to solve the technical problem, the invention provides a method for testing the performance of an SSD, which comprises the following steps:
installing an SSD hard disk based on a 3D Xpoint solid-state storage medium on a first server, and performing hardware compatible configuration on the SSD hard disk and the first server;
installing a database in the first server, and establishing a corresponding relation between the database and a file path of the SSD hard disk;
and testing the TPC standard of preset time on the database by using a database pressure testing tool, and evaluating the performance of the SSD hard disk according to the test result of the TPC standard.
Wherein the database pressure test tool is installed in a second server, and the first server and the second server are communicated with each other.
Wherein the method further comprises: and fully matching the first server.
Wherein, the database is an Oracle database.
The database pressure testing tool specifically comprises: HammerDB.
The TPC standard specifically comprises the following steps: TPC-C.
Wherein the test results include: TPS value.
Wherein the preset time is 10 minutes.
Wherein the value of the warehouse in the database pressure test tool is set to 500.
Therefore, the performance test method of the SSD provided by the invention is to place the SSD in a real application environment. The method comprises the steps of establishing a corresponding file path relation between a database and an SSD hard disk, and enabling the database to read data from the SSD hard disk or write data into the SSD hard disk, so that data can be transmitted and received between the SSD hard disk and the database. The database is tested by using a database pressure testing tool, so that the database can read and write a large amount of data in the test. And the reading and writing of the data are both acted on the SSD hard disk, so that the reading and writing capability of the SSD hard disk on the data is tested. Because only data flow exists between the SSD hard disk and the database in the application environment, the read-write performance of the SSD hard disk on the data can be directly reflected through the test value in the data throughput aspect reflected in the pressure test result of the database.
Obviously, the testing method of the invention can test the specific performance of the SSD in practical application.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments 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 that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a SSD hard disk test method according to an embodiment of the invention;
fig. 2 is a flowchart of another SSD hard disk test method according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The core of the invention is to provide a performance test method of an SSD hard disk, the test method is characterized in that the tested SSD hard disk corresponds to a database in a file path, indexes such as throughput of database data are tested by using a database pressure test tool, and data reading and writing of the database are all acted on the SSD hard disk, so that a test result of the database can be used as a basis for reflecting the performance of the SSD hard disk, and the performance test of the SSD hard disk is realized.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
Fig. 1 is a flowchart of a SSD hard disk test method according to an embodiment of the invention. Referring to fig. 1, the method for testing the SSD hard disk includes the following steps:
step 11: installing the SSD hard disk based on the 3D Xpoint solid-state storage medium on the first server, and performing hardware compatible configuration on the SSD hard disk and the first server.
Step 12: and installing a database in the first server, and establishing a corresponding relation between the database and a file path of the SSD hard disk.
Step 13: and testing the TPC standard of preset time on the database by using a database pressure testing tool, and evaluating the performance of the SSD hard disk according to the test result of the TPC standard.
The invention uses the server as the carrier of the SSD hard disk, because the actual performance can only be really reflected when the SSD hard disk is installed in a real operating environment. It can be understood that, before the test, the compatible configuration of the hardware between the SSD hard disk and the server is performed, if the compatible configuration of the hardware is not performed, the server and the SSD hard disk are easily unable to identify and work together, and even if the hardware and the SSD hard disk work together, the program may work unstably or down. Installing a database in the server so as to test the database by using a database pressure test tool in the subsequent step; the purpose of establishing the corresponding relation between the database and the file path of the SSD hard disk is that when the database is tested by using a database pressure testing tool, the database reads data from the SSD hard disk or writes the data into the SSD hard disk through the file path corresponding to the SSD hard disk. Therefore, after the database is subjected to the TPC standard test for the preset time by using the database pressure test tool, the obtained database test result can be used for reflecting the performance of the SSD hard disk.
The performance test method for the SSD hard disk provided by the embodiment is to place the SSD hard disk in a real application environment, and the environment only comprises a database and the SSD hard disk. The method comprises the steps of establishing a corresponding file path relation between a database and an SSD hard disk, and enabling the database to read data from the SSD hard disk or write data into the SSD hard disk, so that data can be transmitted and received between the SSD hard disk and the database. The database is tested by using a database pressure testing tool, so that the database can read and write a large amount of data in the test. And the reading and writing of the data are both acted on the SSD hard disk, so that the reading and writing capability of the SSD hard disk on the data is tested. Because only data flow exists between the SSD hard disk and the database in the application environment, the read-write performance of the SSD hard disk on the data can be directly reflected through the test value in the data throughput aspect reflected in the pressure test result of the database, and the performance test of the SSD hard disk is completed.
The first server may preferably be configured with a relatively high server, because other objective devices or factors need to be optimized as much as possible during the test, so that the object to be tested or the result of the test is not affected as much as possible. Because the server with higher configuration has good performance, when the device is used for carrying and testing the SSD hard disk, the performance of the SSD hard disk on the device cannot be influenced due to the problem of processing performance of the device or the test result is directly influenced due to the problem of the processing performance of the device, so that the test result can more truly reflect the performance condition of the SSD hard disk.
In a preferred embodiment, the database pressure test tool is installed in a second server, and the first server and the second server are in communication with each other.
On one hand, if the database pressure testing tool is also installed on the first server, resources on the server may be occupied, and the accuracy of the testing result is affected; on the other hand, the database stress test tool is installed on an independent server, and a plurality of first servers can be controlled to test a plurality of SSD hard disks at the same time, so that the database and the database stress test tool are installed on different servers in this embodiment. It will be appreciated that this saves internal resources of the first server and increases the flexibility of the test. Because unnecessary expenses are reduced, resources on the first server can be used for testing the SSD as much as possible, and the testing is more accurate; because the database pressure testing tool is installed by the independent server equipment, if the SSD hard disk test is needed or a plurality of SSD hard disks are tested simultaneously, the server provided with the database pressure testing tool can be directly used for communicating with the server where the SSD hard disks are tested and testing, and the method is flexible and convenient.
The above-mentioned solutions are only preferred solutions under the idea of the present invention, and there are certainly other solutions that can implement the basic idea of the present invention, and the present invention is not limited to this.
Example two
In other embodiments, the server on which the SSD hard disk is installed is in a normal hardware configuration, but such test conditions lack extreme and comprehensive properties, neglecting the performance of the SSD hard disk in a full configuration situation, and therefore, the method of this embodiment further comprises: and fully matching the first server.
The corresponding steps are as follows:
referring to fig. 2, as shown in the figure, it is a flowchart of steps of the second embodiment of the present invention, and the specific steps include:
step 111: installing the SSD hard disk based on the 3D Xpoint solid-state storage medium on a first server, and performing hardware compatible configuration on the SSD hard disk and the first server.
Step 21: and fully matching the first server.
Step 12: and installing a database in the first server, and establishing a corresponding relation between the database and a file path of the SSD hard disk.
Step 22: and installing a database pressure testing tool in a second server, wherein the first server and the second server are communicated with each other.
Step 13: and testing the TPC standard of preset time on the database by using a database pressure testing tool, and evaluating the performance of the SSD hard disk according to the test result of the TPC standard.
The embodiment makes the following beneficial improvements on the basis of the overall idea and the implementation method of the embodiment:
in this embodiment, full allocation processing is performed on the first server to simulate a situation that a server interface is in a full load state in a real working scene. The processing has the advantage that the SSD hard disk can work on the server in the full-allocation state by being matched with equipment on various interfaces, such as memory, CPU and the like, so that the working condition of the equipment under the real condition can be simulated. It can be understood that, according to the working environment of the SSD hard disk under the real condition, the obtained test result can also approach the real level of the SSD hard disk.
The improvement in the embodiment is only an optimization improvement along the whole idea of the present invention, and is only a part of the present invention, and there are other improvement methods, which are not limited herein.
EXAMPLE III
On the basis of the above embodiment, the database selected in the embodiment is the Oracle database, and the Oracle database is selected in consideration of the fact that Oracle is a mainstream database at present, so that the possibility of failure in the test is low, the performance is strong, and unnecessary influence on the test is not caused. Of course, the selection of the database is not limited to the Oracle database, but may be MySQL, MangoDB, or the like.
In addition, the selected database pressure testing tool may be a HammerDB, which is selected because the HammerDB is an open-source and free tool, and may also be a HammerOra tool, which is not limited herein.
Further, before using the database pressure test tool, the test standard may be set to the DTPC-C test standard, the value of the warehouse is set to 500, the test time is 10 minutes, and then the test is started. The above-mentioned test standards and test parameters are set according to the test requirements and experience of those skilled in the art. The parameters are within reasonable ranges to implement the test method, and therefore, are not limited herein. After the test is finished, the performance of the SSD hard disk to be tested can be evaluated through a series of result values which can reflect the data throughput of the database, such as TPS values, and the evaluation result is obtained.
On the basis of the above embodiment, the model of the first server selected in practical implementation may be TS860G3, and the second server may be NF5280M 4. It is understood that the first server and the second server may be selected in different models.
The performance test method of the SSD hard disk provided by the present invention is described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1.一种SSD硬盘的性能测试方法,其特征在于,该方法包括以下步骤:1. a performance testing method of SSD hard disk, is characterized in that, the method comprises the following steps: 将基于3D Xpoint固态存储介质的SSD硬盘安装到第一服务器上,并对所述SSD硬盘与所述第一服务器进行硬件兼容配置;installing the SSD hard disk based on the 3D Xpoint solid-state storage medium on the first server, and performing hardware compatible configuration on the SSD hard disk and the first server; 在所述第一服务器中安装数据库,并建立所述数据库与所述SSD硬盘的文件路径对应关系;Install a database in the first server, and establish a file path correspondence between the database and the SSD hard disk; 使用数据库压力测试工具对所述数据库进行预设时间的TPC标准的测试,并通过所述TPC标准的测试结果评估所述SSD硬盘的性能。Use a database stress test tool to test the database for a preset time TPC standard, and evaluate the performance of the SSD hard disk through the test result of the TPC standard. 2.根据权利要求1所述的方法,其特征在于,所述数据库压力测试工具安装在第二服务器中,所述第一服务器与所述第二服务器之间相互通信。2. The method according to claim 1, wherein the database stress testing tool is installed in a second server, and the first server and the second server communicate with each other. 3.根据权利要求1或2所述的方法,其特征在于,该方法进一步包括:对所述第一服务器进行满配。3. The method according to claim 1 or 2, wherein the method further comprises: fully provisioning the first server. 4.根据权利要求3所述的方法,其特征在于,所述数据库为Oracle数据库。4. The method according to claim 3, wherein the database is an Oracle database. 5.根据权利要求3所述的方法,其特征在于,所述数据库压力测试工具具体为:HammerDB。5. The method according to claim 3, wherein the database stress testing tool is specifically: HammerDB. 6.根据权利要求3所述的方法,其特征在于,所述TPC标准具体为:TPC-C。6. The method according to claim 3, wherein the TPC standard is specifically: TPC-C. 7.根据权利要求3所述的方法,其特征在于,所述测试结果包括:TPS值。7. The method according to claim 3, wherein the test result comprises: a TPS value. 8.根据权利要求3所述的方法,其特征在于,所述预设时间为10分钟。8. The method according to claim 3, wherein the preset time is 10 minutes. 9.根据权利要求3所述的方法,其特征在于,所述数据库压力测试工具中的warehouse值设定为500。9 . The method according to claim 3 , wherein the warehouse value in the database stress testing tool is set to 500. 10 .
CN201710330242.0A 2017-05-11 2017-05-11 Performance test method of SSD (solid State disk) Active CN107068199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710330242.0A CN107068199B (en) 2017-05-11 2017-05-11 Performance test method of SSD (solid State disk)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710330242.0A CN107068199B (en) 2017-05-11 2017-05-11 Performance test method of SSD (solid State disk)

Publications (2)

Publication Number Publication Date
CN107068199A CN107068199A (en) 2017-08-18
CN107068199B true CN107068199B (en) 2020-03-31

Family

ID=59597631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710330242.0A Active CN107068199B (en) 2017-05-11 2017-05-11 Performance test method of SSD (solid State disk)

Country Status (1)

Country Link
CN (1) CN107068199B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554936A (en) * 2018-06-04 2019-12-10 记忆科技(深圳)有限公司 SSD (solid State disk) testing method and system
CN110785744A (en) * 2018-08-22 2020-02-11 深圳市大疆创新科技有限公司 Method and device for evaluating storage performance of solid state disk and image storage system
CN111240950B (en) * 2020-01-19 2022-08-19 苏州浪潮智能科技有限公司 SAP HANA performance evaluation method and device
CN111625407B (en) * 2020-05-22 2022-12-16 苏州浪潮智能科技有限公司 SSD performance test method and related components
CN114385877B (en) * 2022-03-23 2022-06-03 北京得瑞领新科技有限公司 Visual processing method and system of test process and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578568A (en) * 2012-07-24 2014-02-12 苏州捷泰科信息技术有限公司 Method and apparatus for testing performances of solid state disks
CN104125288A (en) * 2014-08-04 2014-10-29 上海斐讯数据通信技术有限公司 Full-load testing method and system for network hard disk
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD
CN104899119A (en) * 2015-05-21 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically detecting hard disk abnormity
CN105302729A (en) * 2015-12-09 2016-02-03 浪潮电子信息产业股份有限公司 Storage system testing method based on database application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578568A (en) * 2012-07-24 2014-02-12 苏州捷泰科信息技术有限公司 Method and apparatus for testing performances of solid state disks
CN104125288A (en) * 2014-08-04 2014-10-29 上海斐讯数据通信技术有限公司 Full-load testing method and system for network hard disk
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD
CN104899119A (en) * 2015-05-21 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically detecting hard disk abnormity
CN105302729A (en) * 2015-12-09 2016-02-03 浪潮电子信息产业股份有限公司 Storage system testing method based on database application

Also Published As

Publication number Publication date
CN107068199A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN107068199B (en) Performance test method of SSD (solid State disk)
CN102568522B (en) The method of testing of hard disk performance and device
US20220129288A1 (en) Method and apparatus for determining the capacity of an application cluster
Ates et al. An automated, cross-layer instrumentation framework for diagnosing performance problems in distributed applications
CN109346122B (en) Method and device for testing performance of solid state disk
CN104317684A (en) Method for synchronously and automatically testing bandwidths and transmission rates of multiple USB interfaces
CN104660471A (en) Method for automatically testing PCIE-SSD transmission rate and bandwidth under Linux
US20140359624A1 (en) Determining a completion time of a job in a distributed network environment
CN107076797B (en) Testing semiconductor memory power consumption based on executed access commands
CN113961413A (en) Server power consumption testing method and device
US10643736B2 (en) Method, apparatus and electronic device for read/write speed testing
CN103984619A (en) Performance monitoring method of network storage system
CN104268076A (en) Testing method suitable for automatically testing memory bandwidth of each processor platform
CN104572386B (en) Automatically the wide method of HBA cassette tapes is tested under a kind of Linux
CN115966247A (en) ZNS solid state disk performance test method
CN109215721A (en) A kind of method, device and equipment of test NVME SSD hard disk delay
CN111209148A (en) Method and system for testing storage stability of server
CN107526661A (en) A kind of method of testing and system of magnetic disk of virtual machine performance
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
CN105843716A (en) IO function test method based on MLTT
CN111858287A (en) Code performance evaluation method and device, electronic device and storage medium
CN108052441A (en) A kind of test method, system, device and the storage medium of hard disk performance level
CN118132357A (en) Storage system testing method and device
CN116682479A (en) Method and system for testing enterprise-level solid state disk time delay index
CN109101385A (en) A kind of automation method for testing pressure and system based on cloud computing

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
GR01 Patent grant
GR01 Patent grant