CN104601410A - Server automatic HCA card bandwidth testing method - Google Patents
Server automatic HCA card bandwidth testing method Download PDFInfo
- Publication number
- CN104601410A CN104601410A CN201510054027.3A CN201510054027A CN104601410A CN 104601410 A CN104601410 A CN 104601410A CN 201510054027 A CN201510054027 A CN 201510054027A CN 104601410 A CN104601410 A CN 104601410A
- Authority
- CN
- China
- Prior art keywords
- hca
- test
- bandwidth
- testing
- log
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a server automatic HCA card bandwidth testing method and belongs to the field of server testing. The method includes the following specific steps: (1) building a Linux testing platform; (2) operating a terminal program under the Linux system and executing the program under terminals at the server end and the client end; (3) providing log.text documents recording time and appearing under the root/Desk/top/result file; (4) testing the HCA bandwidth stability and enabling a testing machine to operate the bandwidth test continuously according to the set time; (5) checking the log.text documents after the HCA card bandwidth test is finished, wherein the bandwidth actual value is recorded in the document record, no error record exists, a testing machine runs stably in the whole testing process, and no abnormalities occur; The HCA card bandwidth testing method achieves automatic testing of the HCA card bandwidth, meets the requirements for machines in the industry, is simple and easy to operate, saves time, truly achieves full-automatic HCA bandwidth performance test, and results are real and accurate.
Description
Technical field
The present invention discloses and a kind ofly tests the wide method of HCA cassette tape, and belong to server test field, specifically a kind of server tests the wide method of HCA cassette tape automatically.
Background technology
Mellanox company is proposed Mellanox ConnectX IB InfiniBand host channel adapter card, i.e. HCA card, this product can be applicable to the fields such as enterprise data center, high-performance calculation and embedded environment, and the cluster application for server/storage provides the solution of high bandwidth, low delay.In the application such as Cluster Database, Parallel application, process service and high-performance embedded I/O, this HCA card can make its performance realize farthest improving, and shortens the operation cycle, reduces resource loss.Under HP VSE, ConnectX IB technology meets cluster, communication, storage, I/O management and the demand such as to strengthen the property, and simplifies whole network configuration.And these chips because of its encapsulation small and exquisite, can fully be applied on blade server or in motherboard design.The ConnectX IB InfiniBand host channel adapter of Mellanox has 1.2ms MPI ping to postpone and transmission rate reaches the InfiniBand port of 10Gb/s or 20Gb/s, and with End-to-End service and jam control function, and hardware based virtual i/o and TCP/UDP/IP transmission unloading.This HCA card adopts the two 4X port of InfiniBand, serial flash interface with PCI Express 2.0 x8 (compatible 1.1) and 16MB, possesses two FC port and IEEE1149 simultaneously.
At present in Mellanox HCA Infiniband card performance and stability test, the driving manual installation that many use Mellanox official websites provide drives and linux system carries instrument, verify that HCA is stuck in output transmission wide feature on each type, but need manual installation drive and test variable is set after installing test OS at every turn, very inconvenient, the invention provides a kind of server and automatically test the wide method of HCA cassette tape, be suitable for the automatic test HCA bandwidth method of each type and Linux OS, realize ease in use, save time, automatic mode, obtain the indiscriminate result with traditional approach, not only greatly reduce the cost of time and human resources, also improve the operating efficiency of test.
Summary of the invention
The present invention is directed in Mellanox HCA Infiniband card performance and stability test, the driving manual installation using Mellanox official website to provide drives and linux system carries instrument, manual installation is needed to drive and test variable is set, very inconvenient problem, a kind of server is provided automatically to test the wide method of HCA cassette tape, be applicable to various Linux OS platform in current industry, achieve without the need to loaded down with trivial details environmental structure, instrument is installed, optimum configurations, succinctly, save time, automatic test and result preserve, and performance index is higher.
The concrete scheme that the present invention proposes is:
Server tests the wide method of HCA cassette tape automatically, and concrete steps are:
1. Linux test platform is built: use root user to log in, on a testing machine (SuSE) Linux OS is installed, copies autorun.sh script and driving into test machine and run; Test server end, client end are set;
2. under linux system, run terminal terminal program, and under server end and client hold terminal, perform following operation respectively:
#cd /root/Desktop
# ./autorun;
3. there is the log.txt file of writing time under/root/Desktop/result file;
4. test HCA bandwidth stability, test machine runs bandwidth test by by the time remaining arranged;
5., after the wide test of HCA cassette tape completes, under/root/Desktop/result, check log.txt file, in file record, record bandwidth actual value; / var/log/messages file, do not report an error record, and test machine stable operation in whole test process, not there is anomaly; If any anomaly, then test midway stops.
Described step 1. in the operation of autorun.sh script comprise and HCA is installed drives, configuration network script, amendment environmental variance and hosts, arrange and log in without password ssh.
Described step 1. middle configuration network script performs vim ifcfg-ib0, vim/etc/hosts, touch/root/.mpd.conf order generation ib configuration script by entering Networking script configuration path.
Described step 5. in anomaly refer to deadlock, power down, the phenomenon such as to restart.
Usefulness of the present invention is: the present invention adopts bash script to realize automatically configuring the HCA card ib network address, setting and test setting parameter, realize real full-automatic HCA bandwidth performance test, real result is accurate, and it is general to realize each Linux OS in HCA card bandwidth test, break the limitation of traditional bandwidth test, improve the complicated of the method for HCA card bandwidth test in current industry, manually can only build test environment, installation testing instrument, configuration testing variable is improved as automation; Last test result is also more directly perceived, directly can weigh bandwidth performance, whether reaches Mellanox HCA card standard.
Accompanying drawing explanation
Fig. 1 testing process schematic diagram;
Fig. 2 autorun script realization flow figure.
Embodiment
Further describe the present invention with reference to the accompanying drawings.
Server tests the wide method of HCA cassette tape automatically, and concrete steps are:
1. Linux test platform is built: use root user to log in, on a testing machine (SuSE) Linux OS is installed, copies autorun.sh script and driving into test machine and run; Test server end, client end are set; The operation of autorun.sh script comprises installs HCA driving, configuration network script performs vim ifcfg-ib0, vim/etc/hosts, touch/root/.mpd.conf order generation ib configuration script by entering Networking script configuration path, amendment environmental variance and hosts, arrange and log in without password ssh;
2. under linux system, run terminal terminal program, and under server end and client hold terminal, perform following operation respectively:
#cd /root/Desktop
# ./autorun;
3. there is the log.txt file of writing time under/root/Desktop/result file;
4. test HCA bandwidth stability, test machine runs bandwidth test by by the time remaining arranged;
5., after the wide test of HCA cassette tape completes, under/root/Desktop/result, check log.txt file, in file record, record bandwidth actual value; / var/log/messages file, do not report an error record, and test machine stable operation in whole test process, the anomaly such as do not occur deadlock, power down, restart; If any deadlock, power down, the anomaly such as to restart, then test midway stops.
After bandwidth test completes, in the file of current script place /result under check log.txt file, record bandwidth numerical value in file record, unit MB/s.As tester table stable operation in whole test process, do not occur crashing, restart, the anomaly such as power down, be not less than 3200 (QDR)/6100 (FDR) with reference to institute's measuring tape wide feature value, or judge whether HCA cassette tape is wide qualified as requested.
By said method under linux operating system, it enters Networking script configuration path and performs the order generation ib configuration scripts such as vim ifcfg-ib0, vim/etc/hosts, touch/root/.mpd.conf, revise environmental variance needed for test lead host and configuration testing again, editor testing software environmental variance and arrange without password login test machine OS again, after generating optimum configurations file, direct execution test program, and drive and Wireless Test Toolset without the need to other manual installation, test environment artificial when more can not produce manual arranges mistake.And the information such as any wrong network, environmental variance all cannot make test proceed, and ensure that the stable state of test environment, and without the need to guard, automatic recording test time and log.Fully achieve automation, succinct, save time, easy to operate, save manpower, also ensure the accuracy of bandwidth test simultaneously.
Claims (4)
1. server tests the wide method of HCA cassette tape automatically, it is characterized in that concrete steps are:
1. Linux test platform is built: use root user to log in, on a testing machine (SuSE) Linux OS is installed, copies autorun.sh script and driving into test machine and run; Test server end, client end are set;
2. under linux system, run terminal terminal program, and under server end and client hold terminal, perform following operation respectively:
#cd /root/Desktop
# ./autorun;
3. there is the log.txt file of writing time under/root/Desktop/result file;
4. test HCA bandwidth stability, test machine runs bandwidth test by by the time remaining arranged;
5., after the wide test of HCA cassette tape completes, under/root/Desktop/result, check log.txt file, in file record, record bandwidth actual value; / var/log/messages file, do not report an error record, and test machine stable operation in whole test process, not there is anomaly; If any anomaly, then test midway stops.
2. a kind of server according to claim 1 tests the wide method of HCA cassette tape automatically, it is characterized in that during described step 1., the operation of autorun.sh script comprises installation HCA driving, configuration network script, amendment environmental variance and hosts, arrange and log in without password ssh.
3. a kind of server according to claim 2 tests the wide method of HCA cassette tape automatically, it is characterized in that configuration network script performs vim ifcfg-ib0, vim/etc/hosts, touch/root/.mpd.conf order generation ib configuration script by entering Networking script configuration path during described step 1..
4. a kind of server according to claim 1-3 tests the wide method of HCA cassette tape automatically, it is characterized in that the anomaly during described step 5. refers to deadlock, power down, restarts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510054027.3A CN104601410A (en) | 2015-02-02 | 2015-02-02 | Server automatic HCA card bandwidth testing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510054027.3A CN104601410A (en) | 2015-02-02 | 2015-02-02 | Server automatic HCA card bandwidth testing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104601410A true CN104601410A (en) | 2015-05-06 |
Family
ID=53126934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510054027.3A Pending CN104601410A (en) | 2015-02-02 | 2015-02-02 | Server automatic HCA card bandwidth testing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104601410A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105022648A (en) * | 2015-07-23 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Test method for HCA card performance and pressure test based on expect command |
CN106502844A (en) * | 2016-10-11 | 2017-03-15 | 郑州云海信息技术有限公司 | A kind of method of the sAS port bandwidths of test RAID memory Is O |
CN107193699A (en) * | 2017-05-22 | 2017-09-22 | 郑州云海信息技术有限公司 | One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes |
CN107562588A (en) * | 2017-08-28 | 2018-01-09 | 郑州云海信息技术有限公司 | HCA card performance test methods under a kind of RHEL7.0 systems |
CN107766193A (en) * | 2017-11-07 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of IB cards performance automatic test method and system |
CN107870836A (en) * | 2017-10-31 | 2018-04-03 | 郑州云海信息技术有限公司 | A kind of automated testing method of Intel Omni Path performances |
CN108717361A (en) * | 2018-05-18 | 2018-10-30 | 郑州云海信息技术有限公司 | A kind of server upgrades the method and system of HCA cards automatically |
CN111090557A (en) * | 2019-12-22 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Management method, device and equipment for abnormal bandwidth reduction of PCIE (peripheral component interface express) equipment |
CN112231157A (en) * | 2020-09-25 | 2021-01-15 | 苏州浪潮智能科技有限公司 | AI server HCA card performance test method and system based on hardware topology |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080209450A1 (en) * | 2007-02-23 | 2008-08-28 | Hernandez Carol B | Method to Enable Infiniband Network Bootstrap |
CN104035876A (en) * | 2014-07-02 | 2014-09-10 | 浪潮电子信息产业股份有限公司 | Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT |
CN104268076A (en) * | 2014-09-23 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Testing method suitable for automatically testing memory bandwidth of each processor platform |
-
2015
- 2015-02-02 CN CN201510054027.3A patent/CN104601410A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080209450A1 (en) * | 2007-02-23 | 2008-08-28 | Hernandez Carol B | Method to Enable Infiniband Network Bootstrap |
CN104035876A (en) * | 2014-07-02 | 2014-09-10 | 浪潮电子信息产业股份有限公司 | Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT |
CN104268076A (en) * | 2014-09-23 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Testing method suitable for automatically testing memory bandwidth of each processor platform |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105022648A (en) * | 2015-07-23 | 2015-11-04 | 浪潮电子信息产业股份有限公司 | Test method for HCA card performance and pressure test based on expect command |
CN106502844A (en) * | 2016-10-11 | 2017-03-15 | 郑州云海信息技术有限公司 | A kind of method of the sAS port bandwidths of test RAID memory Is O |
CN107193699A (en) * | 2017-05-22 | 2017-09-22 | 郑州云海信息技术有限公司 | One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes |
CN107562588A (en) * | 2017-08-28 | 2018-01-09 | 郑州云海信息技术有限公司 | HCA card performance test methods under a kind of RHEL7.0 systems |
CN107870836A (en) * | 2017-10-31 | 2018-04-03 | 郑州云海信息技术有限公司 | A kind of automated testing method of Intel Omni Path performances |
CN107766193A (en) * | 2017-11-07 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of IB cards performance automatic test method and system |
CN108717361A (en) * | 2018-05-18 | 2018-10-30 | 郑州云海信息技术有限公司 | A kind of server upgrades the method and system of HCA cards automatically |
CN111090557A (en) * | 2019-12-22 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Management method, device and equipment for abnormal bandwidth reduction of PCIE (peripheral component interface express) equipment |
CN112231157A (en) * | 2020-09-25 | 2021-01-15 | 苏州浪潮智能科技有限公司 | AI server HCA card performance test method and system based on hardware topology |
CN112231157B (en) * | 2020-09-25 | 2023-01-10 | 苏州浪潮智能科技有限公司 | AI server HCA card performance test method and system based on hardware topology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601410A (en) | Server automatic HCA card bandwidth testing method | |
US10846160B2 (en) | System and method for remote system recovery | |
CN107193699A (en) | One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes | |
CN107076797B (en) | Testing semiconductor memory power consumption based on executed access commands | |
CN112148542B (en) | Reliability testing method, device and system for distributed storage cluster | |
US9705780B2 (en) | Non-disruptive integrated network infrastructure testing | |
CN104268076A (en) | Testing method suitable for automatically testing memory bandwidth of each processor platform | |
US9626284B2 (en) | Systems and methods to test programs | |
CN104317684A (en) | Method for synchronously and automatically testing bandwidths and transmission rates of multiple USB interfaces | |
CN103984613A (en) | Method for automatically testing floating point calculation performance of CPU (Central Processing Unit) | |
WO2023104121A1 (en) | Testing method and apparatus for test case, and electronic device and storage medium | |
CN104731617A (en) | Server starting device determining method | |
CN115547396B (en) | Test method and device for eMMC | |
CN109522173A (en) | A kind of OPA network card testing method, device, terminal and storage medium | |
US20160364319A1 (en) | Enhanced bug resolution | |
US20180246777A1 (en) | Guided troubleshooting with autofilters | |
US8413117B1 (en) | Systems and methods for focusing product testing based on areas of change within the product between product builds | |
CN114629831A (en) | Network card performance test method, device, equipment and storage medium | |
CN101883019A (en) | Test method for verifying video application of storage server | |
CN105468488A (en) | Method, device and system of diskless CPU (Central Processing Unit) on the basis of IB (InfiniBand) network | |
CN110795304A (en) | Method and device for testing performance of distributed storage system | |
CN107835108B (en) | OpenWrt-based MAC (media Access control) layer protocol stack verification platform | |
US20080127229A1 (en) | Multiple interface standard support for redundant array of independent disks | |
US20170154142A1 (en) | Method and apparatus for simulating slow storage disk | |
CN105242880A (en) | Method for automatically creating Raid and executing pressure test |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150506 |