News for hackers. Stuff that matters.

mxinden

Re:Fast UDP I/O for Firefox in Rust on Monday September 29, 2025 @07:05AM (#45412306)
Author here. Thanks for raising this. I posted a comment. Maybe you can help us reproduce.

https://bugzilla.mozilla.org/show_bug.cgi?id=1979683#c3

Re:Fast UDP I/O for Firefox in Rust on Sunday September 28, 2025 @08:38AM (#45403894)
Author here. You can find details on why we disable HTTP/3 on self-signed certs here: https://bugzilla.mozilla.org/show_bug.cgi?id=1985341#c7
Re:Fast UDP I/O for Firefox in Rust on Sunday September 28, 2025 @08:36AM (#45403886)
Fixed. Thank you!
Re:Fast UDP I/O for Firefox in Rust on Sunday September 28, 2025 @08:30AM (#45403857)
Author here.

QUIC does not depend on UDP datagrams to be delivered in order. Re-ordering happens on the QUIC layer. Thus, when receiving, the kernel passes a batch (i.e. segmented super datagram) of potentially out-of-order datagrams to the QUIC layer. QUIC reorders them.

Maybe https://blog.cloudflare.com/accelerating-udp-packet-transmis... brings some clarity.

Re:Fast UDP I/O for Firefox in Rust on Sunday September 28, 2025 @08:20AM (#45403806)
Note that I (author) made a mistake. We (Mozilla) recently raised the minimum Android version off of 5. See https://blog.mozilla.org/futurereleases/2025/09/15/raising-t... for details.
Re:Fast UDP I/O for Firefox in Rust on Sunday September 28, 2025 @08:17AM (#45403795)
_Author here_.

4 Gbit/s is on our rather dated benchmark machines. If you run the below command on a modern laptop, you likely reach higher throughput. (Consider disabling PMTUD to use a realistic Internet-like MTU. We do the same on our benchmark machines.)

https://github.com/mozilla/neqo

cargo bench --features bench --bench main -- "Download"