Skip to content
Measures the speed of stdin/stdout communication. I would actually recommend 'pv' over this program. I put it on github in order to collect everything in one place.
C Roff Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



    By Thomas Habets <>

Measures the speed of stdin/stdout communication.

Example uses
Benchmark and show progress of backup:
# (cd /home/; tar cf - .) | pipebench | (cd /mnt/backup/; tar xf -)

A number to brag to your friends about:
$ dd if=/dev/zero bs=80k count=60k 2> /dev/null | ./pipebench -q > /dev/null

Just type 'make' to compile.

Type 'make install' to have pipebench be installed in /usr/local/bin

Q: It doesn't compile!

A: If you can fix it youself, do so and send me a patch.

   If you can't, mail me and say what kind of system you have and I'll fix it.
   I'll probably port it to anything anyone might want... except windows
   of course. But hey, maybe it works on windows out of the box.

It's GPL, see the LICENSE file.

Tested by me personally on
x86      Debian GNU/Linux 3.0
x86      FreeBSD 4.7
sparc    Debian GNU/Linux 3.0
sparc    Solaris 9
sparc64  OpenBSD 3.2
alpha    Debian GNU/Linux 3.0
alpha    NetBSD 1.5.2

Some benchmarks
The same command run on a few different systems. No tweaking has been done
on any of the boxen, except for custom kernel compiles on the Linux boxen.

Command run:
$ dd if=/dev/zero bs=80k count=[*]k 2>/dev/null | ./pipebench -q > /dev/null

[*] Number suitable for the benchmark to take 30-60 seconds.

Arch     Box              Mhz   OS                                   Speed
x86      Dual Athlon     1800   Slackware Linux 8.1 (2.4.19)        249.98 MBps
x86      P-II             400   Debian GNU/Linux 3.0 (2.4.19)       146.97 MBps
alpha    EV45             266   Debian GNU/Linux 3.0 (2.4.20)        53.05 MBps
x86      K6-2             500   FreeBSD 4.7                          37.29 MBps
sparc64  UltraSparc 5     270   OpenBSD 3.2                          27.47 MBps
sparc    SparcStation 4   110   Debian GNU/Linux 3.0 (2.4.18)        17.51 MBps
sparc    SparcStation 4   110   Solaris 9                             5.93 MBps
alpha    DEC 3000/300LX   125   NetBSD 1.5.2                          4.67 Mbps

Send questions/suggestions/patches/rants/money/alphas to
You can’t perform that action at this time.