|
|
Log in / Subscribe / Register

Zero-copy network transmission with io_uring

Zero-copy network transmission with io_uring

Posted Dec 31, 2021 9:02 UTC (Fri) by jorgegv (subscriber, #60484)
In reply to: Zero-copy network transmission with io_uring by andresfreund
Parent article: Zero-copy network transmission with io_uring

I have always understood zero-copy as not copying the buffers around (i.e. userspace to kernel and back), and instead using always the same copy of the data in memory by playing tricks vía the MMU.

Copying around data in memory can be expensive and thrashes the caches...


to post comments

Zero-copy network transmission with io_uring

Posted Jan 3, 2022 16:39 UTC (Mon) by schuyler_t (guest, #91921) [Link]

The overall bandwidth matters a lot too. With high bandwidth (handwave at >10 gbps), it's extremely easy to begin running into CPU<->memory bandwidth limitations, especially for non-server class big metal CPUs. With a dummy NIC it's hard to tell, like you said. But once you run into that cliff, ZC is pretty much the only way around it.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds