You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system (and distribution, if any): Debian GNU/Linux 9 (stretch)
Bug Report
Expected Behavior
Zero copy should reduce kernel call to copy_user_enhanced_fast_string.
Actual Behavior
When zero copy is enabled during UDP benchmark. The kernel call copy_user_enhanced_fast_string takes up 51% of cpu time when perf record -g -e cpu-clock is used to benchmark.
However, when TCP is used, cpu time of copy_user_enhanced_fast_string is significantly reduced as expected.
Comment 3 in the above suggests using sendmmsg/recvmmsg for UDP. There is already an open PR #1034 with a suggested enhancement to add sendmmsg/recvmmsg support to iperf3.
Context
Version of iperf3: 3.10.1
Hardware: Intel(R) Atom(TM) Processor E3950 @ 1.60GHz
Operating system (and distribution, if any): Debian GNU/Linux 9 (stretch)
Bug Report
Expected Behavior
Zero copy should reduce kernel call to
copy_user_enhanced_fast_string
.Actual Behavior
When zero copy is enabled during UDP benchmark. The kernel call
copy_user_enhanced_fast_string
takes up 51% of cpu time whenperf record -g -e cpu-clock
is used to benchmark.However, when TCP is used, cpu time of
copy_user_enhanced_fast_string
is significantly reduced as expected.Steps to Reproduce
iperf3 -s
sudo perf record -g -e cpu-clock iperf3 -c 127.0.0.1 -Z -u -b 30g -l 64000
sudo perf report --call-graph --no-children
Possible Solution
The text was updated successfully, but these errors were encountered: