- cross-posted to:
- linux@lemmy.ml
- programming@programming.dev
- hackernews@derp.foo
- cross-posted to:
- linux@lemmy.ml
- programming@programming.dev
- hackernews@derp.foo
You must log in or register to comment.
Quality post, thanks for sharing!
We will proceed as follows:
- A first slow version of our pipe test bench;
- How pipes are implemented internally, and why writing and reading from them is slow;
- How the
vmsplice
andsplice
syscalls let us get around some (but not all!) of the slowness; - A description of Linux paging, leading up to a faster version using huge pages;
- The final optimization, replacing polling with busy looping;
- Some closing thoughts.