Article 73YS3 Høiland-Jørgensen: The inner workings of TCP zero-copy

Høiland-Jørgensen: The inner workings of TCP zero-copy

by
corbet
from LWN.net on (#73YS3)
Toke Hoiland-Jorgensen has posted anoverview of how zero-copy networking works in the Linux kernel.

Since the memory is being copied directly from userspace to thenetwork device, the userspace application has to keep it aroundunmodified, until it has finished sending. The sendmsg()syscall itself is asynchronous, and will return without waiting forthis. Instead, once the memory buffers are no longer needed by thestack, the kernel will return a notification to userspace that thebuffers can be reused.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments