Zero-copy networking
Zero-copy networking
Posted Jul 5, 2017 14:35 UTC (Wed) by clameter (subscriber, #17005)In reply to: Zero-copy networking by sorokin
Parent article: Zero-copy networking
Posted Jul 6, 2017 21:52 UTC (Thu)
by wtarreau (subscriber, #51152)
[Link] (1 responses)
Also it seems to me that this send(MSG_ZEROCOPY) is not much different from doing a vmsplice().
Posted Jul 11, 2017 0:00 UTC (Tue)
by klempner (subscriber, #69940)
[Link]
The fundamental problem with application to vmsplice pipe to TCP socket is that you don't know when the pages in question are done and can be freed/modified, and if you modify them you're liable to start, say, leaking crypto keys out to the network if that memory gets reused before the TCP stack is done with it.
Zero-copy networking
Zero-copy networking