Mellanox / sockperf

Network Benchmarking Utility
Other
594 stars 119 forks source link

_seqN > m_maxSequenceNo (100% reproducible on ppc64le architecture) #175

Closed hramrach closed 2 years ago

hramrach commented 2 years ago
./autogen.sh
./configure --prefix=/opt/sockperf-upstream
make && make install
SOCKPERF_PATH=/opt/sockperf-upstream/
$SOCKPERF_PATH/bin/sockperf server --tcp & SERVER_PID=$!
$SOCKPERF_PATH/bin/sockperf under-load --tcp -t 30 --mps 10000 --msg-size 14 --no-rdtsc

sockperf: == version #3.6-0.git737d1e3e5576 ==
sockperf[CLIENT] send on:sockperf: using recvfrom() to block on socket(s)

[ 0] IP = 0.0.0.0 PORT = 11111 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: Starting test...
sockperf: ERROR: _seqN > m_maxSequenceNo (errno=0 Success)
make[2]: Entering directory '/root/sockperf'
 /usr/bin/mkdir -p '/opt/sockperf-upstream/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c sockperf '/opt/sockperf-upstream/bin'
libtool: install: /usr/bin/install -c sockperf /opt/sockperf-upstream/bin/sockperf
 /usr/bin/mkdir -p '/opt/sockperf-upstream/share/doc/sockperf'
 /usr/bin/install -c -m 644 README.md authors news version copying '/opt/sockperf-upstream/share/doc/sockperf'
make[2]: Leaving directory '/root/sockperf'
make[1]: Leaving directory '/root/sockperf'
jostaberry-8:~/sockperf/:[0]# SOCKPERF_PATH=/opt/sockperf-upstream/
jostaberry-8:~/sockperf/:[0]# $SOCKPERF_PATH/bin/sockperf server --tcp & SERVER_PID=$!
[1] 14258
jostaberry-8:~/sockperf/:[0]# $SOCKPERF_PATH/bin/sockperf under-load --tcp -t 30 --mps 10000 --msg-size 14 --no-rdtscsockperf: == version #3.8-0.git31ee322aa82a == 
sockperf: [SERVER] listen on:
[ 0] IP = ::              PORT = 11111 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: [tid 14258] using recvfrom() to block on socket(s)

sockperf: == version #3.8-0.git31ee322aa82a == 
sockperf[CLIENT] send on:sockperf: using recvfrom() to block on socket(s)

[ 0] IP = ::1             PORT = 11111 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: Starting test...
sockperf: ERROR: _seqN > m_maxSequenceNo (errno=0 Success)
jvillal-amp commented 2 years ago

This also appears 100% reproducible on aarch64 for me.

igor-ivanov commented 2 years ago

The issue relates --no-rdtsc option

igor-ivanov commented 2 years ago

Issue should be fixed by https://github.com/Mellanox/sockperf/pull/187

igor-ivanov commented 2 years ago

Fix https://github.com/Mellanox/sockperf/pull/187 was included into master