HNHacker News
TopNewBestAskShowJobs

wheezle

1 karma · joined September 27, 2024

submissionscomments
wheezle··on Fast UDP I/O for Firefox in Rust
You definitely see the coalesced datagram as an application. That is kind of the whole point: Passing a big buffer to the syscall and segment it in user-space to minimize the syscall overhead per packet.
wheezle··on Fast UDP I/O for Firefox in Rust
It will deliver two separate batches. One of U1 & U4 and a 2nd one of U3 & U2. `quinn-udp` in particular also uses recvmmsg and is thus able to receive up to 32 different permutations of src, dst and segment length with a single syscall (assuming the application provides enough buffers).