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:
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!