3b96407ba8
bonnie++ (1.03e) * Added the -D option to bonnie++ to use direct IO (O_DIRECT) for bulk IO. Thanks to Dave Murch from Violin Memory - http://violin-memory.com/ -- Russell Coker <russell@coker.com.au> Wed, 10 Dec 2008 09:08:00 +1100 bonnie++ (1.03d) * Made it compile with GCC 4.3. * Added the URL to the man pages. * Made zcav display the total time and average speed for a loop and also the time that each loop completed. * Made the zcav default block size 256M to cope with larger and faster disks. * Made the zcav output units be in MiB/s and GiB. * Improved the Bonnie++ man page in regard to the -y and -p options. * Use DH_COMPAT=4 and dh_installman. -- Russell Coker <russell@coker.com.au> Wed, 23 Jul 2008 10:54:24 +1000
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2010/04/01 06:34:14 obache Exp $
|
|
#
|
|
|
|
DISTNAME= bonnie++-1.03e
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://www.coker.com.au/bonnie++/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.coker.com.au/bonnie++/
|
|
COMMENT= Enhanced performance Test of Filesystem I/O
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gmake perl:run tee
|
|
REPLACE_PERL+= bon_csv2txt.in bon_csv2html.in
|
|
|
|
INSTALLATION_DIRS= bin share/doc/bonnie++ ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
|
|
|
|
# todo: patch bonnie++.8 to point to correct path to readme.html
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${PREFIX}/share/doc/bonnie++/
|
|
|
|
.PHONY: benchmark
|
|
benchmark: build
|
|
cd ${WRKSRC} && ./bonnie++ -u ${ROOT_USER}:${ROOT_GROUP} | ${TEE} bonnie.out
|
|
|
|
.PHONY: results
|
|
results: build
|
|
@${MKDIR} /tmp/benches/`domainname`
|
|
-@${CP} ${WRKSRC:Q}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|