head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.158 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.156 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.154 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.152 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.150 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.148 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.146 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.144 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.142 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.140 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.138 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.136 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.134 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.132 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.130 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.128 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.126 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.124 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.122 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.120 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.118 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.116 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.114 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.110 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.90 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.112 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.108 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.106 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.104 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.102 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.100 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.98 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.96 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.94 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.92 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.88 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.86 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.84 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.82 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.80 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.78 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.76 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.74 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.72 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.70 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.68 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.66 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.64 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.62 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.60 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.58 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.56 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.54 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.52 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.50 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.48 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.46 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.44 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.42 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.40 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.38 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.36 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.34 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.32 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.30 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.28 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.26 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.24 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.22 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.20 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.18 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.16 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.14 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.12 pkgsrc-2008Q1:1.5.0.10 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.8 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.6 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.4 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.34 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.32 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.30 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.28 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.26 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.24 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.22 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.20 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.18 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.16 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.14 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH002:1.2 FreeBSD-current-1998-02-26:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.5 date 2007.01.18.11.16.56; author rillig; state Exp; branches; next 1.4; 1.4 date 2001.07.16.22.50.48; author garbled; state Exp; branches; next 1.3; 1.3 date 98.08.07.10.36.25; author agc; state Exp; branches; next 1.2; 1.2 date 98.02.26.23.32.17; author tron; state Exp; branches; next 1.1; 1.1 date 98.02.26.21.27.49; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.02.26.21.27.49; author tron; state Exp; branches; next ; desc @@ 1.5 log @Fixed PKGMANDIR. @ text @$NetBSD: patch-aa,v 1.4 2001/07/16 22:50:48 garbled Exp $ --- Makefile.orig 1996-08-29 03:45:37.000000000 +0200 +++ Makefile 2007-01-18 12:14:33.000000000 +0100 @@@@ -1,11 +1,3 @@@@ -CFLAGS = -O $(SYSFLAGS) +PROG= bonnie -bsd: - @@echo 'Options are "make bsd" and "make SysV" - the default is "bsd".' - @@echo 'If you get messages about missing functions, try "make SysV."' - make Bonnie - -SysV: - make Bonnie 'SYSFLAGS=-DSysV' - -Bonnie: +.include @ 1.4 log @Update this pkg to 2.06. There doesn't seem to be any changelog, nor any obvious changes, other than the addition of a -html option to generate html tables for results. @ text @d1 5 a5 4 $NetBSD$ --- Makefile.orig Wed Aug 28 18:45:37 1996 +++ Makefile Mon Jul 16 15:45:20 2001 @@@@ -1,11 +1,8 @@@@ d7 1 a7 1 +PROG= bonnie d13 1 a13 3 +BINDIR=${PREFIX}/bin +MANDIR=${PREFIX}/man d16 1 a16 2 +MANINSTALL= maninstall catinstall @ 1.3 log @Add NetBSD RCS Ids. @ text @d2 19 a20 72 --- bonnie.1.orig Thu Feb 26 23:50:18 1998 +++ bonnie.1 Thu Feb 26 23:50:18 1998 @@@@ -0,0 +1,68 @@@@ +.\" The following requests are required for all man pages. +.Dd May 18, 1995 +.Os UNIX +.Dt BONNIE 1 +.Sh NAME +.Nm bonnie +.Nd Performance Test of Filesystem I/O +.Sh SYNOPSIS +.Nm bonnie +.Op Fl d Ar scratch-dir +.Op Fl s Ar size-in-MB +.Op Fl m Ar machine-label + +.Sh DESCRIPTION +.Nm Bonnie +tests the speed of file I/O from standard C library calls. +It reads and writes 8KB blocks to find the maximum sustained +data rate (usually limited by the drive or controller) and additionally +rewrites the file (better simulating normal operating conditions and +quite dependent on drive and OS optimisations). + +The per character read and write tests are generally limited by CPU speed +only on current generation hardware. It takes some 35 SPECint92 to read +or write a file at a rate of 1MB/s using getc() and putc(). + +The seek test results depend on the buffer cache size, since the fraction +of disk blocks that fits into the buffer cache will be found without any +disk operation and will contribute zero seek time samples. +(See +.Sx BUGS +below.) + +.Sh OPTIONS +.Bl -tag -width indent +.It Fl d Ar scratch-dir +Specify the directory where the test file gets written. The default +is the current directory. Make sure there is sufficient free space +available on the partition this directory resides in. +.It Fl s Ar size-in-MB +Specify the size of the test file in MByte. This much space must be +available for the tests to complete. +.It Fl m Ar machine-label +Specify a label to be written in the first column of the result table. +.El + +.Sh SEE ALSO +.Xr iozone 1 , +.Xr iostat 8 + +.Sh AUTHOR +.Nm Bonnie +was written by Tim Bray . + +.Sh BUGS +.Nm Bonnie +tries hard to measure disk performance and not the quality of the +buffer cache implementation. In merged buffer caches common today, +the buffer cache size is often only limited by total RAM on an otherwise +unloaded system. Be sure to use a file at least twice at large as +available RAM to protect against artificially high results. + +There is no way to keep the buffer cache from increasing the reported +seek rate. This is because the fraction of accesses corresponding to the +amount of the file cached, will be done without seeks. +If your buffer cache is half the size of the file used, then half the +requests will be satisfied immediately, and and the seek rate printed +will be twice the actual value. + @ 1.2 log @Adapt this package to NetBSD. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 71 a71 97 diff -C2 Makefile~ Makefile *** Makefile~ Wed Aug 21 17:19:11 1991 --- Makefile Thu May 18 20:27:19 1995 *************** *** 1,7 **** ! CC = cc ! CFLAGS = -O2 ! all: Bonnie ! ! Bonnie: --- 1,10 ---- + all: bonnie ! bonnie: ! $(CC) $(CFLAGS) -static -o bonnie Bonnie.c ! install: ! -@@mkdir -p ${PREFIX}/bin ! -@@mkdir -p ${PREFIX}/man/man1 ! ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bonnie ${PREFIX}/bin ! ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 bonnie.1 ${PREFIX}/man/man1 diff -C2 /dev/null bonnie.1 *** /dev/null Thu May 18 20:25:21 1995 --- bonnie.1 Thu May 18 20:26:47 1995 *************** *** 0 **** --- 1,68 ---- + .\" The following requests are required for all man pages. + .Dd May 18, 1995 + .Os UNIX + .Dt BONNIE 1 + .Sh NAME + .Nm bonnie + .Nd Performance Test of Filesystem I/O + .Sh SYNOPSIS + .Nm bonnie + .Op Fl d Ar scratch-dir + .Op Fl s Ar size-in-MB + .Op Fl m Ar machine-label + + .Sh DESCRIPTION + .Nm Bonnie + tests the speed of file I/O from standard C library calls. + It reads and writes 8KB blocks to find the maximum sustained + data rate (usually limited by the drive or controller) and additionally + rewrites the file (better simulating normal operating conditions and + quite dependent on drive and OS optimisations). + + The per character read and write tests are generally limited by CPU speed + only on current generation hardware. It takes some 35 SPECint92 to read + or write a file at a rate of 1MB/s using getc() and putc(). + + The seek test results depend on the buffer cache size, since the fraction + of disk blocks that fits into the buffer cache will be found without any + disk operation and will contribute zero seek time samples. + (See + .Sx BUGS + below.) + + .Sh OPTIONS + .Bl -tag -width indent + .It Fl d Ar scratch-dir + Specify the directory where the test file gets written. The default + is the current directory. Make sure there is sufficient free space + available on the partition this directory resides in. + .It Fl s Ar size-in-MB + Specify the size of the test file in MByte. This much space must be + available for the tests to complete. + .It Fl m Ar machine-label + Specify a label to be written in the first column of the result table. + .El + + .Sh SEE ALSO + .Xr iozone 1 , + .Xr iostat 8 + + .Sh AUTHOR + .Nm Bonnie + was written by Tim Bray . + + .Sh BUGS + .Nm Bonnie + tries hard to measure disk performance and not the quality of the + buffer cache implementation. In merged buffer caches common today, + the buffer cache size is often only limited by total RAM on an otherwise + unloaded system. Be sure to use a file at least twice at large as + available RAM to protect against artificially high results. + + There is no way to keep the buffer cache from increasing the reported + seek rate. This is because the fraction of accesses corresponding to the + amount of the file cached, will be done without seeks. + If your buffer cache is half the size of the file used, then half the + requests will be satisfied immediately, and and the seek rate printed + will be twice the actual value. + @ 1.1.1.1 log @Initial import of FreeBSD's "bonnie" port. @ text @@