CN107068199B - Performance test method of SSD (solid State disk) - Google Patents
Performance test method of SSD (solid State disk) Download PDFInfo
- 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
- ssd
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000011056 performance test Methods 0.000 title claims abstract description 11
- 239000007787 solid Substances 0.000 title description 6
- 238000012360 testing method Methods 0.000 claims abstract description 79
- 238000004891 communication Methods 0.000 claims description 2
- 238000009662 stress testing Methods 0.000 claims 2
- 230000006872 improvement Effects 0.000 description 6
- 238000010998 test method Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/56—External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
- G11C29/56004—Pattern generation
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/56—External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
- G11C29/56016—Apparatus features
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a performance test method of an SSD hard disk, which comprises the steps of installing the SSD hard disk on a first server, and carrying out 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. According to the method, the SSD hard disk is placed in a real application environment, only data flow exists between the SSD hard disk and the database in the application environment, and 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, so that the SSD hard disk is tested.
Description
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. A performance test method of an SSD is characterized by comprising 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.
2. The method of claim 1, wherein the database stress testing tool is installed in a second server, the first server and the second server being in communication with each other.
3. A method according to claim 1 or 2, characterized in that the method further comprises: and fully matching the first server.
4. The method of claim 3, wherein the database is an Oracle database.
5. The method according to claim 3, wherein the database stress testing tool is specifically: HammerDB.
6. The method of claim 3, wherein the TPC criteria are specifically: TPC-C.
7. The method of claim 3, wherein the test results comprise: TPS value.
8. The method according to claim 3, wherein the preset time is 10 minutes.
9. The method of claim 3, wherein the value of warthouse in the database pressure test tool is set to 500.
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)
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)
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 |
-
2017
- 2017-05-11 CN CN201710330242.0A patent/CN107068199B/en active Active
Patent Citations (5)
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) | |
US20220129288A1 (en) | Method and apparatus for determining the capacity of an application cluster | |
CN102568522B (en) | The method of testing of hard disk performance and device | |
US20140359624A1 (en) | Determining a completion time of a job in a distributed network environment | |
CN109346122B (en) | Method and device for testing performance of solid state disk | |
US20100050008A1 (en) | Estimating Power Consumption in a Computing Environment | |
CN107076797B (en) | Testing semiconductor memory power consumption based on executed access commands | |
CN104317684A (en) | Method for synchronously and automatically testing bandwidths and transmission rates of multiple USB interfaces | |
US10643736B2 (en) | Method, apparatus and electronic device for read/write speed testing | |
JP2014501997A (en) | Storage location selection for data storage based on storage location attributes and data usage statistics | |
CN103984619A (en) | Performance monitoring method of network storage system | |
CN113961413A (en) | Server power consumption testing method and device | |
CN105389250A (en) | Method and system for tracking software quality | |
CN107678972B (en) | Test case evaluation method and related device | |
CN106126421A (en) | Method for automatically testing and comparing PCIE-SSD performance | |
CN117331846B (en) | Internet-based software development, operation, test and management system | |
CN115248757A (en) | Hard disk health assessment method and storage device | |
US8359463B2 (en) | Selecting a configuration for an application | |
US20180217913A1 (en) | Systems and methods for performance evaluation of input/output (i/o) intensive enterprise applications | |
CN109215721A (en) | A kind of method, device and equipment of test NVME SSD hard disk delay | |
CN105843716A (en) | IO function test method based on MLTT | |
CN116682479A (en) | Method and system for testing enterprise-level solid state disk time delay index | |
CN109634826B (en) | Controller limit performance analysis method and device, computer equipment and storage medium | |
CN114595063A (en) | Method and device for determining access frequency of data | |
CN114090357A (en) | Hard disk performance test method and device, electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |