Skip to content

performance: UDP recvmmsg instead of recvfrom #12452

@splitice

Description

@splitice

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Particularly when running in VMs with mitigations (e.g those CPUs used at many popular cloud vendors...) syscalls can be rather expensive.

Attempted Solutions

N/A

Proposal

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

With some of our applications pushing 100k messages at peak per log message performance is very important.

References

Relates to my performance drive in #12451

Version

0.21.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: socketAnything `socket` source relatedtype: featureA value-adding code addition that introduce new functionality.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions