placeholder

How fast are Linux pipes anyway?

Pipes are ubiquitous in Unix --- but how fast can they go on Linux? In this post we'll iteratively improve a simple pipe-writing benchmark from 3.5GiB/s to 65GiB/s, guided by Linux `perf`.

Click to view the original at mazzo.li

Hasnain says:

Great post. Revised some virtual memory knowledge, learnt a lot more about kernel internals and performance optimizations.

“In our case, this concludes our optimization journey for our little synthetic benchmark, from 3.5GiB/s to 65GiB/s.”

Posted on 2023-10-09T06:21:57+0000