Preferences

gpderetta parent
Pipes are zero copy only if you use splice or vmsplice. These linux specific syscalls are hard to use (particularly wmsplice) and the vast majority of programs and shell filters (with the notable exception of pv) don't use them and pay for the cost of copying in and out of kernel memory.

dilyevsky
If you’re using Go it will automatically splice your reader/writer when using io.Copy, etc
tucnak
re: https://go.dev/src/net/splice_linux.go

very interesting, I didn't know `io` was doing that on linux!

This item has no comments currently.