diff options
Diffstat (limited to 'benchmarks/bonnie/Makefile')
-rw-r--r-- | benchmarks/bonnie/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile index aedd1cc6a55..28e3a35a9e2 100644 --- a/benchmarks/bonnie/Makefile +++ b/benchmarks/bonnie/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.21 2004/07/30 15:50:37 minskim Exp $ +# $NetBSD: Makefile,v 1.22 2005/03/03 08:58:27 garbled Exp $ # FreeBSD Id: Makefile,v 1.5 1997/11/26 23:09:14 jseger Exp # DISTNAME= bonnie PKGNAME= bonnie-2.06 +PKGREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= http://www.textuality.com/bonnie/ MAINTAINER= root@garbled.net HOMEPAGE= http://www.textuality.com/bonnie/index.html -COMMENT= Performance Test of Filesystem I/O +COMMENT= Performance Test of Sequential Filesystem I/O and STDIO PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -23,11 +24,13 @@ INSTALLATION_DIRS= bin man/cat1 man/man1 post-extract: ${MV} ${WRKSRC}/Bonnie.c ${WRKSRC}/bonnie.c +SYSCTL?= /sbin/sysctl + benchmark: - @(cd ${WRKSRC}; ./bonnie | tee bonnie.out) + @(cd ${WRKSRC}; ./bonnie -m nb$$(uname -r) -s $$(${EXPR} 4 \* $$(${SYSCTL} -n hw.physmem) / 1024 / 1024) | tee bonnie.out) results: - @${MKDIR} /tmp/benches/`domainname` - -@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie.`uname`-`uname -m`-`uname -r`.`hostname` + @${MKDIR} /tmp/benches/$$(domainname) + -@${CP} ${WRKSRC}/bonnie.out /tmp/benches/$$(domainname)/bonnie.$$(uname)-$$(uname -m)-$$(uname -r).$$(hostname) .include "../../mk/bsd.pkg.mk" |