-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Significant jitter increase from 3.6 to 3.17 #1806
Comments
Are you using some In addition, I assume that with both 3.6 and 3.17.1 the sending rate is 300M, so the issue is not that the 3.6 server's CPU could not keep up with the required sending rate. In any case, that might be similar to issue #1707 that was fixed by #1787. Can you try build and run iperf3 from the master branch that includes that fix? |
By testing on my machine using I suspect that this memory leak may cause swapping after all memory is used and that this may be the cause of the high CPU usage after 3 hours. To test whether this is the case, can you run the test using It seems that each interval adds 400-500 bytes, so with 10 reports a second, this is 4-5KB/sec or about 250KB/minute or 15MB/hour per stream. Running 24 iperf3 in parallel that would be about 300-400MB/hour (on each client/server machine). Can you check the free memory while the test is running to see if these numbers are correct? If this is the case, how much free memory there is at the beginning of the test (e.g. after it is running for 2 minutes) and how long it is expected that all free memory will be used? |
Context
Performing Network stress testing on 24 ports simultaneously with iperf3.6 (what was available with
sudo apt install iperf3
) yielded consistent jitter rates of approximately 50 µs and packet drops of under 0.0006 %.I upgraded iperf on the test equipment to 3.17 due to #1260. Since upgrading the rate of packet drops and jitter is significantly higher at 30% and 1 ms.
iperf3 -s -A {1:13} -p 5112 -B 192.168.1.10 -i 0.1 --one-off --forceflush
iperf3 --client 192.168.1.10 -A {1:13} -u -i 0.1 -b 300m --pacing-timer 1 -O 10 --R --forceflush
Version 3.6 and
iperf 3.17.1 (cJSON 1.7.15)
Same hardware between the two tests, so unlikely to be a factor
4.19.0-26-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux
libraries, cross-compiling, etc.):
Bug Report
No change in performance between the two versions
Significant performance hit
In addition there was a significant increase in user level cpu usage % and decrease in kernel cpu usage. Previously it was about 10 % cpu and 90 % kernel, with the version change it moves to be about 50 % : 50 %
Was able to move between 3.6 and 3.17 and the same behaviour was demonstrated.
The text was updated successfully, but these errors were encountered: