Zero-copy networking
Zero-copy networking
Posted Jul 4, 2017 8:36 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)In reply to: Zero-copy networking by cladisch
Parent article: Zero-copy networking
Posted Jul 6, 2017 1:10 UTC (Thu)
by vomlehn (guest, #45588)
[Link] (1 responses)
By "new", I just mean new for Linux. There are candidate APIs out there that should be considered. The HPC guys are kind of nuts about shipping data, so they have at least one possibility, though I haven't used them. I've heard comments implying that their environment doesn't mandate the level of security a more general Linux deployment might need but this is, again, hearsay.
Posted Apr 25, 2018 14:48 UTC (Wed)
by mikemol (guest, #83507)
[Link]
You still use the ring buffer, but you only drain the buffer when there are read() calls on the socket. Send ACKs only for the packets whose data have been consumed by read() calls.
This further allows you to combat bufferbloat at the application layer.
Zero-copy networking
Zero-copy networking