Open Bug 1901292 Opened 4 months ago Updated 2 months ago

[meta] Fast UDP for Firefox

Categories

(Core :: Networking, enhancement, P2)

Firefox 126
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: mail, Unassigned)

References

(Depends on 4 open bugs)

Details

(Keywords: meta, Whiteboard: [necko-triaged])

No description provided.
OS: Unspecified → All
Hardware: Unspecified → All

Taken from the corresponding Project Plan - Fast UDP for Firefox:

Goals

  • A Rust crate supporting the fastest current multi-packet UDP I/O path on at least current tier-1 platforms, with a fallback to sendmmsg/recvmmsg or single-packet I/O to support other tier platforms or older OS releases/hardware. Support for sending and receiving ancillary metadata, such as ECN and DSCP codepoints, IP TTL information, received ICMP errors for sent packets, etc. Developed following Rust best practices for test coverage, documentation, etc.
  • Modifications to the neqo QUIC stack to use the new UDP I/O crate, and a comprehensive analysis of the achievable performance improvements, identifying (and ideally fixing) other bottlenecks that limit achieving full performance.
  • A patch to Firefox that replaces current uses of PR_SendTo and PR_RecvFrom with the new Rust crate.
  • Modifications to the QUIC stack for in-place construction/parsing and encryption/decryption of batches of packets, using memory provided by the caller.
  • Optional/Stretch: Drop-in C/C++ replacement bindings for PR_SendTo and PR_RecvFrom that use the new crate, with an API that enables the calling code to easily move to multi-packet I/O.
Depends on: 1901295
Component: Untriaged → Networking
Product: Firefox → Core
Whiteboard: [necko-triaged]
Severity: -- → N/A
Priority: -- → P2
Depends on: 1902065
Depends on: 1902066
Depends on: 1902069
Depends on: 1902070
Depends on: 1902072
Depends on: 1910360
You need to log in before you can comment on or make changes to this bug.