- cross-posted to:
- linux@lemmy.ml
- hackernews@derp.foo
- cross-posted to:
- linux@lemmy.ml
- hackernews@derp.foo
You must log in or # 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.