I could succeed to run sockperf between two hosts all the times
on host 172.81.0.20
# sockperf sr --tcp -i 172.81.0.20 -p 15000
sockperf: == version #3.7-no.git ==
sockperf: [SERVER] listen on:
[ 0] IP = 172.81.0.20 PORT = 15000 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: [tid 2797496] using recvfrom() to block on socket(s)
# LD_PRELOAD=libvma.so sockperf sr --tcp -i 172.81.0.20 -p 15000
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: VMA_VERSION: 9.8.31-0 Development Snapshot built on Oct 10 2023 11:31:55 -*- DEBUG -*-
VMA INFO: Cmd Line: sockperf sr --tcp -i 172.81.0.20 -p 15000
VMA INFO: Current Time: Tue Oct 10 12:05:15 2023
VMA INFO: Pid: 2813781
VMA INFO: OFED Version: MLNX_OFED_LINUX-23.07-0.5.1.2:
VMA INFO: Architecture: x86_64
VMA INFO: Node: 10-20-1-20
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: Log Level INFO [VMA_TRACELEVEL]
VMA INFO: ---------------------------------------------------------------------------
^@ VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.110 netmask: 255.255.255.255 dev: veth9878877221a table :500 scope 253 type 1 index 43 scope 253 type 1 index 43
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.119 netmask: 255.255.255.255 dev: vethd861c2e0cf5 table :500 scope 253 type 1 index 34 scope 253 type 1 index 34
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.104 netmask: 255.255.255.255 dev: vethf917a4f52ae table :500 scope 253 type 1 index 42 scope 253 type 1 index 42
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.114 netmask: 255.255.255.255 dev: cali21b37a164ee table :500 scope 253 type 1 index 40 scope 253 type 1 index 40
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.90.0.108 netmask: 255.255.255.255 dev: veth9810b9fa995 table :500 scope 253 type 1 index 44 scope 253 type 1 index 44
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.240.0 netmask: 255.255.255.192 dev: table :main scope 0 type 6 index 0 scope 0 type 6 index 0
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.240.4 netmask: 255.255.255.255 dev: calic5e25250998 table :main scope 253 type 1 index 41 scope 253 type 1 index 41
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.240.37 netmask: 255.255.255.255 dev: cali21b37a164ee table :main scope 253 type 1 index 40 scope 253 type 1 index 40
sockperf: == version #3.7-no.git ==
sockperf: [SERVER] listen on:
[ 0] IP = 172.81.0.20 PORT = 15000 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: [tid 2813781] using recvfrom() to block on socket(s)
on client host 172.81.0.10
# LD_PRELOAD=libvma.so sockperf pp --tcp -i 172.81.0.20 -p 15000 -t 1
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: VMA_VERSION: 9.8.31-1 Release built on Jul 10 2023 11:42:20
VMA INFO: Cmd Line: sockperf pp --tcp -i 172.81.0.20 -p 15000 -t 1
VMA INFO: OFED Version: MLNX_OFED_LINUX-23.07-0.5.1.2:
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: Log Level INFO [VMA_TRACELEVEL]
VMA INFO: ---------------------------------------------------------------------------
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.100 netmask: 255.255.255.255 dev: veth29f76130861 table :500 scope 253 type 1 index 20 scope 253 type 1 index 20
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.120 netmask: 255.255.255.255 dev: veth35695ee5c1e table :500 scope 253 type 1 index 17 scope 253 type 1 index 17
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.111 netmask: 255.255.255.255 dev: veth47f77b93392 table :500 scope 253 type 1 index 22 scope 253 type 1 index 22
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.119 netmask: 255.255.255.255 dev: calic0d6e116972 table :500 scope 253 type 1 index 18 scope 253 type 1 index 18
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.90.0.100 netmask: 255.255.255.255 dev: veth4dd7b95a373 table :500 scope 253 type 1 index 21 scope 253 type 1 index 21
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.128 netmask: 255.255.255.192 dev: table :main scope 0 type 6 index 0 scope 0 type 6 index 0
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.131 netmask: 255.255.255.255 dev: cali00a8163a6e5 table :main scope 253 type 1 index 32 scope 253 type 1 index 32
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.146 netmask: 255.255.255.255 dev: cali7cef15e86e8 table :main scope 253 type 1 index 33 scope 253 type 1 index 33
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.164 netmask: 255.255.255.255 dev: calic0d6e116972 table :main scope 253 type 1 index 18 scope 253 type 1 index 18
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.182 netmask: 255.255.255.255 dev: cali2f01bce650e table :main scope 253 type 1 index 31 scope 253 type 1 index 31
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.183 netmask: 255.255.255.255 dev: calid7cf868faf9 table :main scope 253 type 1 index 19 scope 253 type 1 index 19
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.184 netmask: 255.255.255.255 dev: cali92710158f24 table :main scope 253 type 1 index 35 scope 253 type 1 index 35
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.185 netmask: 255.255.255.255 dev: calie84e04abcc4 table :main scope 253 type 1 index 34 scope 253 type 1 index 34
sockperf: == version #3.10-no.git ==
sockperf: ERROR: Can`t connect socket (errno=111 Connection refused)
and I succeed to run with libvma sometimes
# LD_PRELOAD=libvma.so sockperf pp --tcp -i 172.81.0.20 -p 15000 -t 1
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: VMA_VERSION: 9.8.31-1 Release built on Jul 10 2023 11:42:20
VMA INFO: Cmd Line: sockperf pp --tcp -i 172.81.0.20 -p 15000 -t 1
VMA INFO: OFED Version: MLNX_OFED_LINUX-23.07-0.5.1.2:
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: Log Level INFO [VMA_TRACELEVEL]
VMA INFO: ---------------------------------------------------------------------------
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.100 netmask: 255.255.255.255 dev: veth29f76130861 table :500 scope 253 type 1 index 20 scope 253 type 1 index 20
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.81.0.120 netmask: 255.255.255.255 dev: veth35695ee5c1e table :500 scope 253 type 1 index 17 scope 253 type 1 index 17
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.111 netmask: 255.255.255.255 dev: veth47f77b93392 table :500 scope 253 type 1 index 22 scope 253 type 1 index 22
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.82.0.119 netmask: 255.255.255.255 dev: calic0d6e116972 table :500 scope 253 type 1 index 18 scope 253 type 1 index 18
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.90.0.100 netmask: 255.255.255.255 dev: veth4dd7b95a373 table :500 scope 253 type 1 index 21 scope 253 type 1 index 21
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.128 netmask: 255.255.255.192 dev: table :main scope 0 type 6 index 0 scope 0 type 6 index 0
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.131 netmask: 255.255.255.255 dev: cali00a8163a6e5 table :main scope 253 type 1 index 32 scope 253 type 1 index 32
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.146 netmask: 255.255.255.255 dev: cali7cef15e86e8 table :main scope 253 type 1 index 33 scope 253 type 1 index 33
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.164 netmask: 255.255.255.255 dev: calic0d6e116972 table :main scope 253 type 1 index 18 scope 253 type 1 index 18
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.182 netmask: 255.255.255.255 dev: cali2f01bce650e table :main scope 253 type 1 index 31 scope 253 type 1 index 31
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.183 netmask: 255.255.255.255 dev: calid7cf868faf9 table :main scope 253 type 1 index 19 scope 253 type 1 index 19
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.184 netmask: 255.255.255.255 dev: cali92710158f24 table :main scope 253 type 1 index 35 scope 253 type 1 index 35
VMA WARNING: rtm:170:rt_mgr_update_source_ip() could not figure out source ip for rtv = dst: 172.21.32.185 netmask: 255.255.255.255 dev: calie84e04abcc4 table :main scope 253 type 1 index 34 scope 253 type 1 index 34
sockperf: == version #3.10-no.git ==
sockperf[CLIENT] send on:sockperf: using recvfrom() to block on socket(s)
[ 0] IP = 172.81.0.20 PORT = 15000 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: Starting test...
sockperf: Test end (interrupted by timer)
sockperf: Test ended
sockperf: [Total Run] RunTime=1.000 sec; Warm up time=400 msec; SentMessages=103730; ReceivedMessages=103729
sockperf: ========= Printing statistics for Server No: 0
sockperf: [Valid Duration] RunTime=0.550 sec; SentMessages=57262; ReceivedMessages=57262
sockperf: ====> avg-latency=4.778 (std-dev=1.034, mean-ad=0.218, median-ad=0.076, siqr=0.051, cv=0.216, std-error=0.004, 99.0% ci=[4.767, 4.789])
sockperf: # dropped messages = 0; # duplicated messages = 0; # out-of-order messages = 0
sockperf: Summary: Latency is 4.778 usec
sockperf: Total 57262 observations; each percentile contains 572.62 observations
sockperf: ---> <MAX> observation = 132.789
sockperf: ---> percentile 99.999 = 102.016
sockperf: ---> percentile 99.990 = 13.302
sockperf: ---> percentile 99.900 = 12.760
sockperf: ---> percentile 99.000 = 9.170
sockperf: ---> percentile 90.000 = 4.808
sockperf: ---> percentile 75.000 = 4.720
sockperf: ---> percentile 50.000 = 4.673
sockperf: ---> percentile 25.000 = 4.616
sockperf: ---> <MIN> observation = 4.278
I run sockperf test referring to the doc https://docs.nvidia.com/networking/display/vmav952/running+vma
I got two hosts with mellanox cx5 with dual-port
I could succeed to run sockperf between two hosts all the times
on host 172.81.0.20
on client host 172.81.0.10
but I failed to run with libvma sometimes
on host 172.81.0.20
on client host 172.81.0.10
and I succeed to run with libvma sometimes
detailed log is attached for the client host fail-client-log.txt
In brief, when use libvma, it succeed sometimes and fail sometime with same command but when does not use libvma, it succeed all the time