-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
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.
Reactions are currently unavailable