Skip to content

UDP throughput issue #873

@borkra

Description

@borkra

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions