sockperf pp tcp mode: can't set --mps under 5000 messages per second
akk988 opened this issue · 2 comments
Hello everyone,
I have found a bug with sockperf on RaspberryPi when running a pingpong test in tcp mode.
Issue description
sockperf message-per-second caused an error when the value is smaller than 5000 messages per seconds. Testing platform is raspberrypi with raspbian 10 OS.
Steps to reproduce the issue
-
On Raspberrypi, Run sockperf as server
$sockperf server -p 12000 --tcp -
Run sockperf as client in ping-pong mode with mps smaller than 5000
$sockperf pp -i 127.0.0.1 -p 12000 --time 1 --mps 5000 --tcp --full-log test.txt
this should reprdduce the problem !
- Run sockperf as client in ping-pong mode with mps larger than 6000
$sockperf pp -i 127.0.0.1 -p 12000 --time 1 --mps 6000 --tcp --full-log test.txt
this should work !
What's the expected result?
- Latency results including avarage latency, total observation and histogram
What's the actual result?
-[ 0] IP = 127.0.0.1 PORT = 12000 # TCP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: Starting test...
sockperf: ### ERROR: _seqN > m_maxSequenceNo (errno=0 Success)