summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2001-07-17 07:02:15 +0000
committergarbled <garbled@pkgsrc.org>2001-07-17 07:02:15 +0000
commitefa26782190df6b20efda18dc6df2507d4ae3a72 (patch)
tree7f5735d2b8dc9b736dbd8624075ccc16239ecea8 /benchmarks
parentb7cd07e7d78fb6f30334aa1fa916504250eb3924 (diff)
downloadpkgsrc-efa26782190df6b20efda18dc6df2507d4ae3a72.tar.gz
Update postmark to 1.5. Also, fix the benchmark target to provide a little
better benchmark without being too unreasonable on the disk requirements. Changelog: 1.14 - Automatically stop run if work files are depleted 1.5 - It was pointed out by many (most recently Michael Flaster) that the pseudo-random number generator was more pseudo than random. After a review of the literature and extensive benchmarking, I've replaced the previous PRNG with the Mersenne Twister. While an excellent PRNG, it retains much of the performance of the previous implementation. URL: http://www.math.keio.ac.jp/~matumoto/emt.html Also changed MB definition to 1024KB, tweaked show command
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/postmark/Makefile15
-rw-r--r--benchmarks/postmark/distinfo6
2 files changed, 11 insertions, 10 deletions
diff --git a/benchmarks/postmark/Makefile b/benchmarks/postmark/Makefile
index 41b21b0c0b3..a17671e5994 100644
--- a/benchmarks/postmark/Makefile
+++ b/benchmarks/postmark/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2001/04/09 11:45:39 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/07/17 07:02:15 garbled Exp $
# FreeBSD ID: ports/benchmarks/postmark/Makefile,v 1.2 1999/09/19 05:13:20 obrien Exp
#
-DISTNAME= postmark-1_13.c
-PKGNAME= postmark-1.13
+DISTNAME= postmark-1_5.c
+PKGNAME= postmark-1.5
CATEGORIES= benchmarks
-MASTER_SITES= http://www.netapp.com/ftp/ \
- http://www.taronga.com/~nick/files/
+MASTER_SITES= http://www.netapp.com/ftp/
EXTRACT_SUFX= #
-MAINTAINER= packages@netbsd.org
+MAINTAINER= root@garbled.net
HOMEPAGE= http://www.netapp.com/tech_library/3022.html
COMMENT= NetApps file system benchmark
@@ -26,7 +25,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/postmark ${PREFIX}/sbin
benchmark:
- @(cd ${WRKSRC}; ${ECHO} run | ./postmark | tee postmark.out)
+ @(cd ${WRKSRC}; (${ECHO} "set number 5000" ;\
+ ${ECHO} "set size 100 50000" ;\
+ ${ECHO} "run") | ./postmark | tee postmark.out)
results:
@${MKDIR} /tmp/benches/`domainname`
diff --git a/benchmarks/postmark/distinfo b/benchmarks/postmark/distinfo
index 08af05afae6..be7cea20799 100644
--- a/benchmarks/postmark/distinfo
+++ b/benchmarks/postmark/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 09:13:28 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/07/17 07:02:15 garbled Exp $
-SHA1 (postmark-1_13.c) = 1da74a45f96dabe6c6abd979a4a0a5ecdb942464
-Size (postmark-1_13.c) = 41143 bytes
+SHA1 (postmark-1_5.c) = 571ee5365b32cdb9f203f3d76753fa20e095d56a
+Size (postmark-1_5.c) = 46666 bytes