Zero-copy network transmission with io_uring
Zero-copy network transmission with io_uring
Posted Dec 31, 2021 22:07 UTC (Fri) by roc (subscriber, #30627)In reply to: Zero-copy network transmission with io_uring by Wol
Parent article: Zero-copy network transmission with io_uring
That's really expensive because when you make the page COW, you have to tell all CPUs that might have a TLB entry for that page to invalidate that TLB entry so that the next time they try to write to it, they get a fault. For a process with many threads using many CPUs, that is slow and scales poorly.