tl;dr:"We'll explore how Unix pipes are implemented in Linux by iteratively optimizing a test program that writes and reads data through a pipe. We will begin with a simple program with a throughput of around 3.5GiB/s, and improve its performance twentyfold. The improvements will be informed by profiling the program using Linux’s perf tooling."