esnet / esnet/iperf

UDP throughput issue

Open
#873 5 comments 0 reactions 0 assignees Claimed by @davidBar-On View on GitHub
enhancement
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Have anybody tried to implement UDP throughput test using sendmmsg/recvmmsg on Linux?

Because currently iperf UDP performance test, tests more how fast particular CPU performs context switch from userspace to kernel and back (at least on a single core CPUs), than network throughput.

During TCP test Iperf sends 128K bytes buffer in a single call, so 1 userspace - kernel transition per 128K
During UDP test Iperf sends 1470 bytes bytes buffer in a single call, so nearly 100 - userspace - kernel transition per 128K

I believe using sendmmsg/recvmmsg would allow for UDP test to have performance comparable to TCP.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.