README
1$Id: README,v 1.10 2003/04/20 16:49:22 marvin Exp $
2
3 Pipebench
4
5 By Thomas Habets <thomas@habets.pp.se>
6
7
8Introduction
9------------
10Measures the speed of stdin/stdout communication.
11
12
13Example uses
14------------
15Benchmark and show progress of backup:
16# (cd /home/; tar cf - .) | pipebench | (cd /mnt/backup/; tar xf -)
17
18A number to brag to your friends about:
19$ dd if=/dev/zero bs=80k count=60k 2> /dev/null | ./pipebench -q > /dev/null
20
21
22Compiling
23---------
24Just type 'make' to compile.
25
26Type 'make install' to have pipebench be installed in /usr/local/bin
27
28
29FAQ
30---
31Q: It doesn't compile!
32
33A: If you can fix it youself, do so and send me a patch.
34
35 If you can't, mail me and say what kind of system you have and I'll fix it.
36 I'll probably port it to anything anyone might want... except windows
37 of course. But hey, maybe it works on windows out of the box.
38
39
40License
41-------
42It's GPL, see the LICENSE file.
43
44Tested by me personally on
45--------------------------
46x86 Debian GNU/Linux 3.0
47x86 FreeBSD 4.7
48sparc Debian GNU/Linux 3.0
49sparc Solaris 9
50sparc64 OpenBSD 3.2
51alpha Debian GNU/Linux 3.0
52alpha NetBSD 1.5.2
53
54Some benchmarks
55---------------
56The same command run on a few different systems. No tweaking has been done
57on any of the boxen, except for custom kernel compiles on the Linux boxen.
58
59Command run:
60$ dd if=/dev/zero bs=80k count=[*]k 2>/dev/null | ./pipebench -q > /dev/null
61
62[*] Number suitable for the benchmark to take 30-60 seconds.
63
64Arch Box Mhz OS Speed
65-------------------------------------------------------------------------------
66x86 Dual Athlon 1800 Slackware Linux 8.1 (2.4.19) 249.98 MBps
67x86 P-II 400 Debian GNU/Linux 3.0 (2.4.19) 146.97 MBps
68alpha EV45 266 Debian GNU/Linux 3.0 (2.4.20) 53.05 MBps
69x86 K6-2 500 FreeBSD 4.7 37.29 MBps
70sparc64 UltraSparc 5 270 OpenBSD 3.2 27.47 MBps
71sparc SparcStation 4 110 Debian GNU/Linux 3.0 (2.4.18) 17.51 MBps
72sparc SparcStation 4 110 Solaris 9 5.93 MBps
73alpha DEC 3000/300LX 125 NetBSD 1.5.2 4.67 Mbps
74
75----------------------------------------------------------------------------
76Send questions/suggestions/patches/rants/money/alphas to thomas@habets.pp.se
77