Comment by kevincox
3 years ago
> Because maybe the 50 bytes are latency sensitive and need to be at the recipient as soon as possible?
The difference in latency between a 50 byte and 1500 byte packet is miniscule. If you have the data available in the socket buffer I don't see why you wouldn't want to send it in a single packet.
The latency benefit of TCP_NODELAY should be that it isn't waiting for user space to write more data, not that it is sending short packets.
No comments yet
Contribute on Hacker News ↗