Home > Common Problem > body text

roce performance testing method

(*-*)浩
Release: 2020-01-09 09:58:14
Original
5124 people have browsed it

roce performance testing method

RoCE (RDMA over Converged Ethernet) is increasingly favored by large customers. RoCE caches communication networks. The performance delay performance of RoCE at the same rate is comparable to InfiniBand. The delay of RoCE is only 1/3 of the TCP/IP network.

Therefore, the RoCE performance test of the network card that supports the RoCE function has become particularly important. (Recommended learning: PHPSTORM )

## In the existing technology, the test method is to manually install the ROCE driver, configure IP, and execute the test commands on the server and the client side. Finally, collect test results and log information. The testing steps are complicated.

To sum up, a solution for RoCE performance testing of network cards that support RoCE is particularly important. However, the existing technology, especially in RoCE performance testing, lacks a technology to automatically test RoCE performance.

Technical implementation elements:

The present invention proposes a method and system for automatically testing RoCE performance based on Linux system, which can optimize the testing process. , and automatically output test results for archiving, which is beneficial to tester management and saves resources.

This invention proposes self-programming to test the delay and bandwidth of RoCE read and write transmission. Specifically, it constructs the source code for the test, and calls the source code to test the RoCE performance by inputting parameters and device names. , this invention is suitable for RoCE performance testing of network cards that support RoCE under current mainstream Linux systems of all types of servers. It has good versatility and generalizability, simplifies complex work, and improves work efficiency.

Before conducting the test, perform the following preparation operations: log in to the Linux operating system and obtain root privileges; install the corresponding version of the driver according to the different network cards under test and operating system versions; configure the IP of the interconnected network In the same network segment, turn off the firewall; observe that the network connection status light lights up normally, enable two network ports and execute the ping command to ensure that the ping can be completed normally and the data light flashes normally.

Embodiments of the present invention adopt the following technical solutions:

On the one hand, the present invention provides a method for automatically testing RoCE performance under a Linux system, including:

Install the network card driver and the RoCE driver corresponding to the network card, and configure the network IP address;

Generate a test program script based on the Linux system platform. The test program script includes three judgment input parameters: script Running mode parameters, device name parameters and address parameters to be tested;

On the server side, run the test program script and wait for the client to respond;

On the client side, run the test program Script;

Output the test results and save them.

Preferably, the test results are saved in a log file and/or printed on the monitor, where the test results are test results of read/write bandwidth, read/write delay, transmission bandwidth, and transmission delay. ;

The above is the detailed content of roce performance testing method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template