BW_UNIX(8)
bw_unix(8) π
okay bestie, this is the LMBENCH manual page for bw_unix, and it is literally about how fast a UNIX pipe can move bytes. section 8, system-adjacent chaos, we love her π
β¨ NAME β¨
bw_unix β UNIX pipe bandwidth π«Ά
π¦ SYNOPSIS π¦
bw_unix [ -P <parallelism> ] [ -W <warmups> ] [ -N <repetitions> ] size
πΈ DESCRIPTION πΈ
so bw_unix creates a pipe and then forks a child process that just... keeps writing data into that pipe as fast as it possibly can π₯. main character energy fr.
the benchmark then measures how fast the parent process can read the data, in size-byte chunks, straight out of the pipe. that's it. that's the whole vibe.
and here's the iconic part: nothing is done with the data β not in the parent (the reader) and not in the child (the writer). neither process. they just move bytes and feel nothing. π
the size spec can end with k or m to mean kilobytes (* 1024) or megabytes (* 1024 * 1024). lowkey convenient, no cap.
π OUTPUT π
the output format is literally "%0.2f %.2f\n", and the two numbers are megabytes and megabytes_per_second. like, for example:
8.00 25.33
slay. that's the whole output. two little numbers, one big flex β¨
π MEMORY UTILIZATION π
this benchmark should move approximately the reported amount of memory. so like, the number is not lying to you, bestie, the memory really did go on that journey π§
π ACKNOWLEDGEMENT π
funding for the development of this tool was provided by Sun Microsystems Computer Corporation. we stan a sponsor π
π₯ SEE ALSO π₯
π AUTHOR π
Carl Staelin and Larry McVoy
and fr fr, comments, suggestions, and bug reports are always welcome β they literally said so π«Ά
okay that's the whole page, go forth and measure some pipes, i believe in you π
Β©1994β2000 Larry McVoy and Carl... β and yeah the date field is literally sitting there as $Date$ in the footer, iconic honestly β signed off from BW_UNIX(8), LMBENCH edition πΈ
π¦ where this page comes from
- debian bookworm: lmbench 3.0-a9+debian.1-6
- debian trixie: lmbench 3.0-a9+debian.1-9
- ubuntu jammy: lmbench 3.0-a9+debian.1-6
- ubuntu noble: lmbench 3.0-a9+debian.1-6build3
- ubuntu questing: lmbench 3.0-a9+debian.1-9
- ubuntu resolute: lmbench 3.0-a9+debian.1-10
- ubuntu stonking: lmbench 3.0-a9+debian.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms