CN104660471A - Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux - Google Patents

Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux Download PDF

Info

Publication number
CN104660471A
CN104660471A CN201510104818.2A CN201510104818A CN104660471A CN 104660471 A CN104660471 A CN 104660471A CN 201510104818 A CN201510104818 A CN 201510104818A CN 104660471 A CN104660471 A CN 104660471A
Authority
CN
China
Prior art keywords
ssd
pcie
test
testing
linux
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
CN201510104818.2A
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.)
Inspur Group Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510104818.2A priority Critical patent/CN104660471A/en
Publication of CN104660471A publication Critical patent/CN104660471A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for automatically testing the PCIE-SSD transmitting velocity and band width under Linux, and relates to a technique for testing the PCIE_SSD band width and transmitting velocity performance of a server. According to the invention, based on a linux operation system, detailed information of the kernel version, hard disk and PCIE_SSD of the Linux system is captured by utilizing commands uname-a, cat/proc/partations and fdisk-1 of the system; a drive is installed; all PCIE_SSD is formatted automatically; testing is carried out by utilizing a testing tool FIO according to the set testing standard parametric models of read, write, random read and random write of a memory disc and the block sizes of 4k, 8k, 16k, 32, 64k, 128k, 256k, 512k and 1024k. Automation is realized completely; the establishment time of a testing environment is shortened, and the stable performance result is guaranteed.

Description

Automatically the method for PCIE-SSD transmission rate and bandwidth is tested under a kind of Linux
Technical field
The present invention relates to server PCIE_SSD bandwidth and transmission rate Performance Testing Technology, under particularly relating to a kind of Linux, automatically test the method for PCIE-SSD transmission rate and bandwidth.
Background technology
The lifting that current industry requires storage speed and memory property, PCIE_SSD enters into popular sight line gradually, and it is short that it possesses storage time delay, and memory rate is fast, memory property high.In server PCIE_SSD bandwidth and transmission rate performance test, many uses manual installation Open-Source Tools FIO Wireless Test Toolset, investigate server PCIE_SSD bandwidth and transmission rate test performance, but according to different server and linux kernel, PCIE_SSD quantity is different, and need all kinds of test parameter be manually set, workload is large, consumption manpower consuming time.
Summary of the invention
In order to overcome the above problems, propose herein and be a kind ofly suitable for the method that all kinds of server sync tests multiple PCIE_SSD bandwidth and transmission rate automatically, in order to realize succinct, save time, mode automatically, and be applicable to all processor platform servers of current industry, result compared with normal manual mode indifference, greatly reduces the cost of time and human resources.
By performing instruction uname-a, cat/proc/partations, fdisk – l, demidecode, df-h under linux operating system, the details of accurate crawl linux system kernel version, hard disk and PCIE_SSD, first according to kernel version, corresponding PCIE_SSD is installed to drive, again the information of crawl is analyzed, distinguish hard disk and PCIE_SSD, and according to the parameter that such Automatic generation of information PCIE_SSD bandwidth and transmission rate test need, after generating optimum configurations file, directly perform test program.Auto-mounting testing tool FIO, need not manual installation in addition, all test parameters such as read-write mode read, write, random read, random write and test block size 4k, 8k, 16k, 32k, 64k, 128k, 256k, 512k, 1024k have set while erecting tools, meet the testing requirement under all situations.Be as the criterion with the PCIE_SSD information captured, the intertwining mistake of artificial test storage can not be produced.Ensure that the stable state of test environment, and without the need to guard, automatically preserve bandwidth BW and transmission rate IOPS test result, recording test time and log.Fully achieve automation, succinct, save time, easy to operate, save manpower, also ensure the accuracy of PCIE_SSD bandwidth and transmission rate test performance simultaneously.
Be suitable for the automatic test PCIE_SSD bandwidth of Servers-all and the method for testing of transmission rate performance is full auto-programs, without the need to artificial guard during automated system operation FIO program test, automatic logging test results, test log and testing time; Without the need to all HBA memory discs that interface connects of manual identification carry and arrange any test parameter, meet Servers-all testing requirement.
This kind of PCIE_SSD bandwidth and transmission rate performance test methods, by changing the Operating Complexity of conventional P CIE_SSD method of testing, realize automation completely, save test environment and build the time, and stable results of property.
This method of testing is applicable to all processor platforms in current industry, achieves without the need to loaded down with trivial details environmental structure, and instrument is installed, optimum configurations, succinct, save time, automatic test and result preserve, and performance index is accurate.
Be applicable to the PCIE_SSD bandwidth under most of linux systems of current all types server and transmission rate performance test, there is good universal and generalization, can more scientific, the more effective performance assessing PCIE_SSD, promote the total quality of Company server platform.
Accompanying drawing explanation
Fig. 1 of the present inventionly realizes schematic diagram.
Fig. 2 is test flow chart.
Embodiment
More detailed elaboration is carried out to content of the present invention below:
Based on PCIE_SSD bandwidth and the transmission rate performance test Program Realizing Method of linux system
1, Linux test platform (comprise Test Host platform, install (SuSE) Linux OS on Test Host) is got out;
2, power on Test Host start, enters operating system, uses root user to log in;
3, uname-a is used to determine the kernel version of linux system;
4, the driver of corresponding kernel version is installed;
5, auto_run script and FIO instrument are copied on linux system desktop;
6, under linux system, run terminal terminal program, under terminal, perform following operation:
#cd/root/Desktop carriage return
# ./auto_run carriage return
Terminal display test PCIE_SSD starts to format one by one, has formatd the rear test block size occurring arranging;
7, now there will be the FIO_PCIE_SSD_testtime.txt file of writing time under/root/Desktop/result file;
8, test machine continued synchronization runs all PCIE_SSD bandwidth and transmission rate performance test;
9, after PCIE_SSD bandwidth and transmission rate performance test complete, FIO_PCIE_SSD.csv file is checked under/root/Desktop/result, record read, write, random read and random write bandwidth and the transmission rate value of all block sizes in file record, unit is MB/s.Check/var/log/messages file, do not report an error record, and tester table stable operation in whole test process, there is not the anomalies such as deadlock, power down;
10, the effect of test
This PCIE_SSD bandwidth and transmission rate test program, bash script is adopted to realize automatic capturing disk number, all disk carry information, all disc format information and all disk type informations, automatic distinguishing hard disk and PCIE_SSD, format PCIE_SSD, then Auto-mounting Disk bandwidth and transmission rate testing tool FIO and setting parameter, meet each platform needs in current industry completely, succinctly, save time, easy to operate, realize real full-automation many PCIE_SSD bandwidth and transmission rate calculation performance test, real result is accurate.Whether assessment testing service applicator platform PCIE_SSD bandwidth and transmission rate performance reach standard whereby.
This program realizes each processor platform universal method first in PCIE_SSD test, has broken the limitation of conventional P CIE_SSD bandwidth and transmission rate performance test.Next improves the method to PCIE_SSD performance test in current industry, complexity is simplified, manually can only build test environment, installation testing instrument, calculates test parameter and is improved as full automation; Last test result is also comparatively directly perceived, can directly weigh PCIE_SSD performance, whether reach industry internal standard; This kind of method of testing is applicable to various (SuSE) Linux OS popular at present simultaneously.

Claims (3)

1. under a Linux, automatically test the method for PCIE-SSD transmission rate and bandwidth, it is characterized in that, based on linux operating system, system is utilized to issue orders uname-a, cat/proc/partations, fdisk – l, demidecode, df-h, capture the details of linux system kernel version, hard disk and PCIE_SSD, install and drive, the all PCIE_SSD of automatically formatting, according to the memory disc testing standard parameter mode set and block size, testing tool FIO is utilized to test.
2. method according to claim 1, it is characterized in that, first according to kernel version, corresponding PCIE_SSD is installed to drive, again the information of crawl is analyzed, distinguish hard disk and PCIE_SSD, and according to the parameter that such Automatic generation of information PCIE_SSD bandwidth and transmission rate test need, after generating optimum configurations file, directly perform test program.
3. method according to claim 1, it is characterized in that, Auto-mounting testing tool FIO, all test parameter read, write, random read, random write and test block size 4k, 8k, 16k, 32k, 64k, 128k, 256k, 512k, 1024k have set while erecting tools.
CN201510104818.2A 2015-03-10 2015-03-10 Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux Pending CN104660471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104818.2A CN104660471A (en) 2015-03-10 2015-03-10 Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104818.2A CN104660471A (en) 2015-03-10 2015-03-10 Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux

Publications (1)

Publication Number Publication Date
CN104660471A true CN104660471A (en) 2015-05-27

Family

ID=53251200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104818.2A Pending CN104660471A (en) 2015-03-10 2015-03-10 Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux

Country Status (1)

Country Link
CN (1) CN104660471A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045694A (en) * 2015-07-23 2015-11-11 浪潮电子信息产业股份有限公司 Method for automatically testing Nitrox accelerator card
CN108335722A (en) * 2018-01-03 2018-07-27 郑州云海信息技术有限公司 A kind of method of automatic test SSD interface rate
CN108874645A (en) * 2018-06-12 2018-11-23 郑州云海信息技术有限公司 A kind of method and system for integrating FIO performance data
CN109446010A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of AEP memory pressure stability test method and system
CN109741780A (en) * 2019-01-07 2019-05-10 东莞记忆存储科技有限公司 A kind of method and its system based on linux system test SSD performance
CN109766230A (en) * 2019-01-09 2019-05-17 深圳忆联信息系统有限公司 Single-deck SSD powered-off fault test method, device and computer equipment
CN109918252A (en) * 2019-03-29 2019-06-21 苏州浪潮智能科技有限公司 Nonvolatile memory performance test methods, system and electronic equipment and storage medium
CN110096467A (en) * 2019-04-18 2019-08-06 浪潮商用机器有限公司 A kind of method and relevant apparatus obtaining PCIE device status information
CN110554936A (en) * 2018-06-04 2019-12-10 记忆科技(深圳)有限公司 SSD (solid State disk) testing method and system
CN110932930A (en) * 2019-11-13 2020-03-27 苏州浪潮智能科技有限公司 Detection method, device and medium for server PCIE link stability
CN112749068A (en) * 2020-12-25 2021-05-04 河南创新科信息技术有限公司 Method for fio to automatically read performance test case and collect data and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744759A (en) * 2013-12-27 2014-04-23 浪潮电子信息产业股份有限公司 Method for verifying unattended disk performance and stability under Linux system
CN104317684A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronously automatic testing of bandwidth and transmission rate of multiple USB (Universal Serial Bus) interfaces
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD (solid state drive)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744759A (en) * 2013-12-27 2014-04-23 浪潮电子信息产业股份有限公司 Method for verifying unattended disk performance and stability under Linux system
CN104317684A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronously automatic testing of bandwidth and transmission rate of multiple USB (Universal Serial Bus) interfaces
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD (solid state drive)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045694A (en) * 2015-07-23 2015-11-11 浪潮电子信息产业股份有限公司 Method for automatically testing Nitrox accelerator card
CN108335722A (en) * 2018-01-03 2018-07-27 郑州云海信息技术有限公司 A kind of method of automatic test SSD interface rate
CN110554936A (en) * 2018-06-04 2019-12-10 记忆科技(深圳)有限公司 SSD (solid State disk) testing method and system
CN108874645A (en) * 2018-06-12 2018-11-23 郑州云海信息技术有限公司 A kind of method and system for integrating FIO performance data
CN109446010A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of AEP memory pressure stability test method and system
CN109446010B (en) * 2018-11-01 2021-10-29 郑州云海信息技术有限公司 AEP memory pressure performance stability testing method and system
CN109741780A (en) * 2019-01-07 2019-05-10 东莞记忆存储科技有限公司 A kind of method and its system based on linux system test SSD performance
CN109766230A (en) * 2019-01-09 2019-05-17 深圳忆联信息系统有限公司 Single-deck SSD powered-off fault test method, device and computer equipment
CN109918252A (en) * 2019-03-29 2019-06-21 苏州浪潮智能科技有限公司 Nonvolatile memory performance test methods, system and electronic equipment and storage medium
CN110096467A (en) * 2019-04-18 2019-08-06 浪潮商用机器有限公司 A kind of method and relevant apparatus obtaining PCIE device status information
CN110932930A (en) * 2019-11-13 2020-03-27 苏州浪潮智能科技有限公司 Detection method, device and medium for server PCIE link stability
CN110932930B (en) * 2019-11-13 2021-08-10 苏州浪潮智能科技有限公司 Detection method, device and medium for server PCIE link stability
CN112749068A (en) * 2020-12-25 2021-05-04 河南创新科信息技术有限公司 Method for fio to automatically read performance test case and collect data and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104660471A (en) Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux
CN104317684A (en) Method for synchronously automatic testing of bandwidth and transmission rate of multiple USB (Universal Serial Bus) interfaces
US10310749B2 (en) System and method for predicting disk failure
CN104572386A (en) Method for automatically testing HBA card bandwidth under Linux
CN102568522B (en) The method of testing of hard disk performance and device
CN104268076A (en) Memory bandwidth automatically testing method applicable to various processor platforms
KR20150037002A (en) Non-mounted storage test device based on fpga
CN107068199B (en) Performance test method of SSD (solid State disk)
CN107832179A (en) A kind of PCIe Error Enabling method of testings
CN107193699A (en) One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes
CN103364650A (en) Testing system and testing method
CN109684150B (en) Performance test system, test method and simulation platform of storage particle controller
CN114528792A (en) Chip verification method and device, electronic equipment and storage medium
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
CN105138293A (en) Disk performance evaluating method based on database
CN104615514A (en) Method for examining performance of raid levels of raid card
CN116662214A (en) Hard disk garbage recycling method, device, system and medium based on fio
CN114265733A (en) Automatic testing method and device for abnormal power failure of solid state disk
CN107273251A (en) A kind of method of testing of the racks of Rack in a production environment JBOD storages
CN105843716A (en) IO function test method based on MLTT (The Medusa Lab Test Tool Suite)
US11205496B2 (en) Apparatus and method for testing storage device in power interruptions
US10002062B2 (en) Quasi disk drive for testing disk interface performance
WO2023050671A1 (en) Server fault locating method and apparatus, electronic device, and storage medium
CN107145414B (en) Method and system for testing distributed object storage
CN107886996A (en) A kind of method of batch testing NVME hard disks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150527

WD01 Invention patent application deemed withdrawn after publication