Mazzoli: How fast are Linux pipes anyway?
Mazzoli: How fast are Linux pipes anyway?
Posted Jun 5, 2022 17:10 UTC (Sun) by Wol (subscriber, #4433)In reply to: Mazzoli: How fast are Linux pipes anyway? by atnot
Parent article: Mazzoli: How fast are Linux pipes anyway?
> write() takes the address of a buffer that the user owns. Because it can not make any assumptions about how long that data is going to remain valid after the syscall, it has no choice but to copy.
What about COW? (Might be tricky I know, but just COW the page containing the buffer.)
Cheers,
Wol
