Skip to content

UDP performance #1

@splitice

Description

@splitice

Use recvmmsg instead of recvfrom for udp message receiving for improved performance.

I suggest using socket2 alongside the code in this issue rust-lang/socket2#493, replace the existing udp implementation for higher performance on linux. With the easiest way to be using this fork https://github.com/boris-n/socket2/tree/sendmmsg-recvmmsg

On operating systems where recvmmsg is not supported continue to use the current implementation.

See also:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions