diff options
author | garbled <garbled@pkgsrc.org> | 2001-07-16 23:20:43 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 2001-07-16 23:20:43 +0000 |
commit | 99a34ec6ffb15c91b1bfa9eb3e42a936933e8e77 (patch) | |
tree | 89ef4eb532cf25177c1ae364bda2911164b12288 /benchmarks | |
parent | e5ed120f4a35bb545553f6a3143878513d57943b (diff) | |
download | pkgsrc-99a34ec6ffb15c91b1bfa9eb3e42a936933e8e77.tar.gz |
Add new pkg for bonnie++ 1.01. This is an enhanced version of bonnie
based on the original.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bonnie++/Makefile | 22 | ||||
-rw-r--r-- | benchmarks/bonnie++/distinfo | 6 | ||||
-rw-r--r-- | benchmarks/bonnie++/patches/patch-aa | 13 | ||||
-rw-r--r-- | benchmarks/bonnie++/patches/patch-ab | 12 | ||||
-rw-r--r-- | benchmarks/bonnie++/pkg/DESCR | 17 | ||||
-rw-r--r-- | benchmarks/bonnie++/pkg/PLIST | 9 |
6 files changed, 79 insertions, 0 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile new file mode 100644 index 00000000000..4a54c3239fb --- /dev/null +++ b/benchmarks/bonnie++/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $ +# + +DISTNAME= bonnie++-1.01 +CATEGORIES= benchmarks +MASTER_SITES= http://www.coker.com.au/bonnie++/ +EXTRACT_SUFX= .tgz + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.coker.com.au/bonnie++/ +COMMENT= Enhanced performance Test of Filesystem I/O + +GNU_CONFIGURE= yes + +benchmark: + @(cd ${WRKSRC}; ./bonnie++ -u 0:0 | tee bonnie.out) + +results: + @${MKDIR} /tmp/benches/`domainname` + -@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname` + +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/bonnie++/distinfo b/benchmarks/bonnie++/distinfo new file mode 100644 index 00000000000..84ecfae3a4a --- /dev/null +++ b/benchmarks/bonnie++/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $ + +SHA1 (bonnie++-1.01.tgz) = a5ff92438a940c5a9b7b5cea75a644ee22ea8f7a +Size (bonnie++-1.01.tgz) = 54102 bytes +SHA1 (patch-aa) = f0219d3509934b4cec89befe63f55aaab3d81b57 +SHA1 (patch-ab) = 843b4b024124ae9efd1361d190b51bd77c8fc12b diff --git a/benchmarks/bonnie++/patches/patch-aa b/benchmarks/bonnie++/patches/patch-aa new file mode 100644 index 00000000000..ac141ee3956 --- /dev/null +++ b/benchmarks/bonnie++/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $ +--- bonnie++.cpp.orig Mon Jul 16 16:07:22 2001 ++++ bonnie++.cpp Mon Jul 16 16:07:42 2001 +@@ -145,7 +145,9 @@ + exitNow = false; + + struct sigaction sa; ++#ifndef __NetBSD__ + sa.sa_sigaction = NULL; ++#endif + sa.sa_handler = ctrl_c_handler; + sa.sa_flags = SA_RESETHAND; + if(sigaction(SIGINT, &sa, NULL) diff --git a/benchmarks/bonnie++/patches/patch-ab b/benchmarks/bonnie++/patches/patch-ab new file mode 100644 index 00000000000..d2d2c164602 --- /dev/null +++ b/benchmarks/bonnie++/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $ +--- Makefile.in.orig Mon Jul 16 16:10:10 2001 ++++ Makefile.in Mon Jul 16 16:11:01 2001 +@@ -34,7 +34,7 @@ + install-bin: $(EXES) + mkdir -p $(eprefix)/bin $(eprefix)/sbin + @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin +- @INSTALL_PROGRAM@ $(SCRIPTS) $(eprefix)/bin ++ @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin + + install: install-bin + mkdir -p @mandir@/man1 @mandir@/man8 diff --git a/benchmarks/bonnie++/pkg/DESCR b/benchmarks/bonnie++/pkg/DESCR new file mode 100644 index 00000000000..9cec6b294b1 --- /dev/null +++ b/benchmarks/bonnie++/pkg/DESCR @@ -0,0 +1,17 @@ +Bonnie: Filesystem Benchmark Program + +Bonnie++ is a benchmark suite that is aimed at performing a number of +simple tests of hard drive and file system performance. Then you can +decide which test is important and decide how to compare different systems +after running it. I have no plans to ever have it produce a single number, +because I don't think that a single number can be useful when comparing +such things. The main program tests database type access to a single file +(or a set of files if you wish to test more than 1G of storage), and it +tests creation, reading, and deleting of small files which can simulate +the usage of programs such as Squid, INN, or Maildir format email. The +ZCAV program which I initially released as a seperate package tests the +performance of different zones of a hard drive. It does not write any data +(so you can use it on full file systems). It can show why comparing the +speed of Windows at the start of a hard drive to Linux at the end of the +hard drive (typical dual-boot scenario) isn't a valid comparison. Bonnie++ +was based on the code for Bonnie by Tim Bray. diff --git a/benchmarks/bonnie++/pkg/PLIST b/benchmarks/bonnie++/pkg/PLIST new file mode 100644 index 00000000000..d9b81131e14 --- /dev/null +++ b/benchmarks/bonnie++/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $ +sbin/bonnie++ +sbin/zcav +man/man1/bon_csv2html.1 +man/man1/bon_csv2txt.1 +man/man8/bonnie++.8 +man/man8/zcav.8 +bin/bon_csv2html +bin/bon_csv2txt |