Besides IB test, we could use qperf tool to check RDMA performance.
We could test RDMA, TCP and UDP performance with qperf tool.
Here are some test items we could test:
rc_bw: RDMA SEND/RECEIVE BW test
rc_bi_bw: RDMA Bi-direction SEND/RECEIVE BW test
rc_lat: RDMA SEND/RECEIVE LATENCY test
rc_rdma_read_bw: RDMA READ BW test
rc_rdma_read_lat: RDMA READ LATENCY test
rc_rdma_write_bw: RDMA WRITE BW test
rc_rdma_write_lat: RDMA WRITE LATENCY test
tcp_lat: TCP LATENCY test
udp_lat: UDP LATENCY test
First, install qperf tool:
sudo apt install qperf
Then, we could do qperf test.
For server side: qperf
For client side: qperf -cm1( for RDMA transport ) 192.168.3.2(ip) conf(show host info) -oo(loop function, example: msg_size:1:64K:*2) -m(msg package size) -n(msg number) -t 600(time) -v/-vv/-vu(show information: cpu%...)
Command example: qperf -v -cm1 192.168.3.2 rc_bw rc_lat rc_rdma_read_bw rc_rdma_read_lat rc_rdma_write_bw rc_rdma_write_lat
rc: RDMA SEND/RECEIVE transactions RDMA READ/WRITE transactions As for other detail of qperf test, you could check for here:
https://linux.die.net/man/1/qperf