diff options
Diffstat (limited to 'benchmarks')
33 files changed, 0 insertions, 823 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile deleted file mode 100644 index ed75357898e2..000000000000 --- a/benchmarks/httperf/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# New ports collection makefile for: httperf -# Date created: 28 Jul 1999 -# Whom: Will Andrews <andrews@technologist.com> -# -# $FreeBSD$ -# - -PORTNAME= httperf -PORTVERSION= 0.6 -CATEGORIES= www -MASTER_SITES= ftp://ftp.hpl.hp.com/pub/httperf/ - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${PKGNAME} -USE_GMAKE= yes -MAN1= httperf.1 - -# there is no "install" target in the Makefile. -# chmod'ing httperf as it could be exploited by normal users to overload -# a webserver, instead of for its actual purpose. - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/httperf ${PREFIX}/bin - ${CHMOD} 750 ${PREFIX}/bin/httperf - @${INSTALL_MAN} ${WRKSRC}/httperf.man ${PREFIX}/man/man1/httperf.1 - @${MKDIR} ${PREFIX}/share/doc/httperf - @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/httperf - @${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/httperf - @${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/httperf - @${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/httperf - @${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/httperf - -.include <bsd.port.mk> diff --git a/benchmarks/httperf/distinfo b/benchmarks/httperf/distinfo deleted file mode 100644 index 6822e18e34b6..000000000000 --- a/benchmarks/httperf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (httperf-0.6.tar.gz) = d67ee49eb06e14d0bf8dbf5bce954c5b diff --git a/benchmarks/httperf/pkg-comment b/benchmarks/httperf/pkg-comment deleted file mode 100644 index 6adc47fad0e8..000000000000 --- a/benchmarks/httperf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A tool for measuring webserver performance diff --git a/benchmarks/httperf/pkg-descr b/benchmarks/httperf/pkg-descr deleted file mode 100644 index 3aee471c8cbf..000000000000 --- a/benchmarks/httperf/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -Quoted from the website below: - - "This paper describes httperf, a tool for measuring web server -performance. It provides a flexible facility for generating various -HTTP workloads and for measuring server performance. The focus of httperf -is not on implementing one particular benchmark but on providing a robust, -high-performance tool that facilitates the construction of both micro- -and macro-level benchmarks. The three distinguishing characteristics of -httperf are its robustness, which includes the ability to generate and -sustain server overload, support for the HTTP/1.1 protocol, and its -extensibility to new workload generators and performance measurements. -In addition to reporting on the design and implementation of httperf this -paper also discusses some of the experiences and insights gained while -realizing this tool." - -"This paper" refers to the paper that was written on this program. I don't -think I could possibly summarize it better than the above paragraph. - -WWW: http://www.hpl.hp.com/personal/David_Mosberger/httperf.html - -- Will <andrews@technologist.com> diff --git a/benchmarks/httperf/pkg-plist b/benchmarks/httperf/pkg-plist deleted file mode 100644 index 3499d90afdba..000000000000 --- a/benchmarks/httperf/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/httperf -share/doc/httperf/COPYRIGHT -share/doc/httperf/ChangeLog -share/doc/httperf/NEWS -share/doc/httperf/README -share/doc/httperf/TODO -@dirrm share/doc/httperf diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile deleted file mode 100644 index 55eba90eabbd..000000000000 --- a/benchmarks/nttcp/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# New ports collection makefile for: nttcp -# Date created: 11 Nov 1998 -# Whom: Bill Fumerola <billf@chc-chimes.com> -# -# $FreeBSD$ -# - -PORTNAME= nttcp -PORTVERSION= 1.45 -CATEGORIES= net benchmarks -MASTER_SITES= http://users.leo.org/~bartel/nttcp/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= billf - -MAINTAINER= billf@FreeBSD.org - -ALL_TARGET= nttcp -MAN1= nttcp.1 -USE_GMAKE= yes -MAKE_ENV+= OPT="${CFLAGS}" - -do-install: - - ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${PREFIX}/man/man1/ - -.include <bsd.port.mk> diff --git a/benchmarks/nttcp/distinfo b/benchmarks/nttcp/distinfo deleted file mode 100644 index f567ec229e25..000000000000 --- a/benchmarks/nttcp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (nttcp-1.45.tar.gz) = d172737dbfda224cd42d09cf7cbb3b15 diff --git a/benchmarks/nttcp/files/Makefile b/benchmarks/nttcp/files/Makefile deleted file mode 100644 index 4b727c8ac528..000000000000 --- a/benchmarks/nttcp/files/Makefile +++ /dev/null @@ -1,184 +0,0 @@ -# This code was written and is copyrighted 1996,1998 by -# -# Elmar Bartel -# Institut fuer Informatik -# Technische Universitaet Muenchen -# bartel@informatik.tu-muenchen.de -# -# Permission to use, copy, modify and distribute this software -# and its documentation for any purpose, except making money, is -# herby granted, provided that the above copyright notice and -# this permission appears in all places, where this code is -# referenced or used literally. - -# uncomment the settings for your system and type make. -# if there is no setting available, simply try to use -# the most closest settings. -# Finally let me know what you used, to get it running. - - -## For System V4.1 (AT&T) either cc or gcc -## And for SINIX V4.1 (either mips or intel). -#ARCH= -#LIB= -lsocket -lnsl -#CC= cc -#OPT= -O -#DBG= -g -#INC= - -## For DEC (Mips)ULTRIX 4.1 -#ARCH= -Dultrix -#LIB= -#CC= gcc -#OPT= -O2 -#DBG= -#INC= - -## For HPUX 9.* with gcc -#ARCH= -Dhpux9 -#LIB= -#CC= gcc -#OPT= -O2 -#DBG= -g -#INC= - -## For HPUX 9.* with cc -#ARCH= -Ae -Dhpux9 -#LIB= -#CC= cc -#OPT= -O -#DBG= -g -#INC= - - -## For HPUX 10.* with gcc -#ARCH= -Dhpux -#LIB= -#CC= gcc -#OPT= -O2 -#DBG= -g -#INC= - -## For HPUX 10.* with cc -#ARCH= -Ae -Dhpux -#LIB= -#CC= cc -#OPT= -O -#DBG= -g -#INC= - -## For SunOS 4.1 with clcc -#ARCH=-DSunOS4 -#LIB= -#OPT= -O2 -#CC= clcc -#DBG= -#INC= - -## For SunOS 4.1 with gcc -#ARCH=-DSunOS4 -#LIB= -#OPT= -O2 -#CC= gcc -#DBG= -#INC= - -## For SunOS 5.3 with gcc -#ARCH=-DSunOS53 -#LIB= -lsocket -lnsl -lucb -#OPT= -O2 -#CC= gcc -#DBG= -#INC= - -## For SunOS 5.[456] with cc from SunSoft -#ARCH=-DSunOS54 -#LIB= -lsocket -lnsl -#OPT= -O -#CC= /usr/ccs/bin/cc -#CC= /opt/SUNWspro/bin/cc -#DBG= -g -#INC= - -## For SunOS 5.[456] with gcc -#ARCH=-DSunOS54 -#LIB= -lsocket -lnsl -#OPT= -O2 -#CC= gcc -#DBG= -Wall -g -#INC= - -## For FreeBSD -ARCH= -DFreeBSD -LIB= -OPT= -O2 -CC= cc -DBG= -INC= - -## For SGI IRIX 5.3, 6.2 (cc or gcc) -#ARCH= -#LIB= -#OPT= -O -#CC= cc -#DBG= -#INC= - -## For IBM AIX 2.3 -#ARCH= -Daix -#LIB= -#OPT= -O -#CC= cc -#DBG= -#INC= - -## For OSF/1 10.41 -#ARCH= -#LIB= -#OPT= -O -Olimit 700 -#CC= cc -#DBG= -#INC= - -## For Linux with gcc -#ARCH= -#LIB= -#OPT= -O2 -#CC= gcc -#DBG= -#INC= - -VERSION= 1.4 -prefix= /usr/local/dist/DIR/nttcp-$(VERSION) -#prefix= /usr/local -#CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\" -CFLAGS = $(ARCH) $(CFLG) -DVERSION=\"$(VERSION)\" -LFLAGS = $(DBG) - -nttcp: nttcp.o support.o - $(CC) $(LFLAGS) nttcp.o -o nttcp support.o $(LIB) - -support.o: support.c support.h - -dist: - if [ -d nttcp-$(VERSION) ]; then \ - rm -f nttcp-$(VERSION)/*; \ - else \ - mkdir nttcp-$(VERSION); \ - fi - ln nttcp.c nttcp.1 support.c support.h \ - README Makefile nttcp-$(VERSION) - tar cvf - nttcp-$(VERSION) | gzip > /tmp/nttcp-$(VERSION).tar.gz; \ - zip -lgr /tmp/nttcp`echo $(VERSION)|tr -d .`.zip nttcp-$(VERSION) - -install: nttcp - -mkdir -p $(prefix)/bin - -mkdir -p $(prefix)/man/man1 - cp nttcp $(prefix)/bin - cp nttcp.1 $(prefix)/man/man1 - -clean: - rm -f *.o - -clobber: clean - rm -rf core nttcp nttcp-$(VERSION) diff --git a/benchmarks/nttcp/files/patch-aa b/benchmarks/nttcp/files/patch-aa deleted file mode 100644 index f91b484f465f..000000000000 --- a/benchmarks/nttcp/files/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.orig Tue Sep 28 12:02:26 1999 -+++ Makefile Fri Dec 24 22:29:00 1999 -@@ -109,12 +109,12 @@ - #INC= - - ## For FreeBSD --#ARCH= -DFreeBSD --#LIB= -+ARCH= -DFreeBSD -+LIB= - #OPT= -O2 --#CC= cc --#DBG= --#INC= -+CC= cc -+DBG= -+INC= - - ## For SGI IRIX 5.3, 6.2 (cc or gcc) - #ARCH= diff --git a/benchmarks/nttcp/pkg-comment b/benchmarks/nttcp/pkg-comment deleted file mode 100644 index 24a2539e003c..000000000000 --- a/benchmarks/nttcp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A client/server program for testing network performance diff --git a/benchmarks/nttcp/pkg-descr b/benchmarks/nttcp/pkg-descr deleted file mode 100644 index 8f018711ffa3..000000000000 --- a/benchmarks/nttcp/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This program is a much more convient version of the ttcp program. -It uses inetd (or simulates its behaviour) to start off the remote -side program which will send/receive data. Both sides measure the time -and number of bytes transfered. The local side will print the measures. -The format of the output can be specified on the commandline. - -Bill Fumerola <billf@chc-chimes.com> diff --git a/benchmarks/nttcp/pkg-plist b/benchmarks/nttcp/pkg-plist deleted file mode 100644 index e64420d1b349..000000000000 --- a/benchmarks/nttcp/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/nttcp diff --git a/benchmarks/polygraph31/Makefile b/benchmarks/polygraph31/Makefile deleted file mode 100644 index 6b9c9cfa3fe5..000000000000 --- a/benchmarks/polygraph31/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: polygraph -# Date created: 3 March 1999 -# Whom: Dima Sivachenko <dima@chg.ru> -# -# $FreeBSD$ -# - -PORTNAME= polygraph -PORTVERSION= 2.2.7 -CATEGORIES= benchmarks www -MASTER_SITES= http://polygraph.ircache.net/sources/tars/ \ - http://www.chg.ru/~dima/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-src - -MAINTAINER= dima@Chg.RU - -WRKSRC= ${WRKDIR}/polygraph - -GNU_CONFIGURE= YES - -post-patch: - @ ${MV} ${WRKSRC}/src/exprep.pl ${WRKSRC}/src/exprep.pl.pre_sed - @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \ - ${WRKSRC}/src/exprep.pl.pre_sed > ${WRKSRC}/src/exprep.pl - @ ${MV} ${WRKSRC}/tools/BB/bb.pl ${WRKSRC}/tools/BB/bb.pl.pre_sed - @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \ - -e 's#/usr/people/bakeoff/BB#${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph#' \ - ${WRKSRC}/tools/BB/bb.pl.pre_sed> ${WRKSRC}/tools/BB/bb.pl - -do-install: - -.for file in polyclt polysrv lr lx distr_test pop_test rng_test aka piper polymon - @ ${INSTALL_PROGRAM} ${WRKSRC}/src/$(file) ${PREFIX}/bin -.endfor - @ ${INSTALL_PROGRAM} ${WRKSRC}/src/udp2tcpd ${PREFIX}/sbin - @ ${INSTALL_SCRIPT} ${WRKSRC}/src/exprep.pl ${PREFIX}/bin/exprep - @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/bb.pl ${PREFIX}/bin - @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph -.for file in Blob.pm Executer.pm Tools.pm Command.pm Logger.pm - @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/$(file) \ - ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph -.endfor - -.include <bsd.port.mk> diff --git a/benchmarks/polygraph31/distinfo b/benchmarks/polygraph31/distinfo deleted file mode 100644 index e2eec64ca173..000000000000 --- a/benchmarks/polygraph31/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (polygraph-2.2.7-src.tar.gz) = 3c7451c35ccff4ef67ab2896030870e4 diff --git a/benchmarks/polygraph31/pkg-comment b/benchmarks/polygraph31/pkg-comment deleted file mode 100644 index 5ad3561e2ca7..000000000000 --- a/benchmarks/polygraph31/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A benchmarking tool for Web proxies diff --git a/benchmarks/polygraph31/pkg-descr b/benchmarks/polygraph31/pkg-descr deleted file mode 100644 index fa4578f0cf1e..000000000000 --- a/benchmarks/polygraph31/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -Web Polygraph is a benchmarking tool for Web proxies. Polygraph -distribution includes a high-performance client and server simulators. -The simulators create a stream of HTTP requests that can be routed through -a Web proxy. Studying proxy performance under various [stress] conditions is -essential for performance tuning, evaluation of new algorithms, analysis of -hardware configurations, and comparing available proxy products. - -Documentation can be found at http://polygraph.ircache.net/doc/ - -WWW: http://polygraph.ircache.net/ - ---Dima -dima@chg.ru diff --git a/benchmarks/polygraph31/pkg-plist b/benchmarks/polygraph31/pkg-plist deleted file mode 100644 index 61341d561c09..000000000000 --- a/benchmarks/polygraph31/pkg-plist +++ /dev/null @@ -1,19 +0,0 @@ -bin/polyclt -bin/polysrv -bin/lr -bin/lx -bin/distr_test -bin/pop_test -bin/rng_test -bin/aka -bin/piper -bin/polymon -sbin/udp2tcpd -bin/exprep -bin/bb.pl -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Blob.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Executer.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Tools.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Command.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Logger.pm -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile deleted file mode 100644 index 9557a832240e..000000000000 --- a/benchmarks/ttcp/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# New ports collection makefile for: ttcp -# Date created: Tue Jun 1 22:58:13 PDT 1999 -# Whom: mharo@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= ttcp -PORTVERSION= 1.12 -CATEGORIES= net -MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/ -DISTFILES= ttcp.c ttcp.1 README - -MAINTAINER= mharo@FreeBSD.org - -EXTRACT_ONLY= #none -NO_WRKSUBDIR= yes -MAN1= ttcp.1 - -post-extract: - ${CP} ${DISTDIR}/ttcp.c ${WRKSRC}/ - ${CP} ${DISTDIR}/ttcp.1 ${WRKSRC}/ - ${CP} ${DISTDIR}/README ${WRKSRC}/ - -do-build: - ${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/share/doc/ttcp - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp/ - -.include <bsd.port.mk> diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo deleted file mode 100644 index 980bbb75dedb..000000000000 --- a/benchmarks/ttcp/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (ttcp.c) = 3d1b75f6116cc246a4def9788ce58c26 -MD5 (ttcp.1) = 01d3a511a05dc8a0669f30c15ebaae82 -MD5 (README) = 6b1e5ff6247a9f284f3b58eb651b37a9 diff --git a/benchmarks/ttcp/pkg-comment b/benchmarks/ttcp/pkg-comment deleted file mode 100644 index 764ed03d460c..000000000000 --- a/benchmarks/ttcp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Benchmarking tool for analysing TCP and UDP performance diff --git a/benchmarks/ttcp/pkg-descr b/benchmarks/ttcp/pkg-descr deleted file mode 100644 index a90ba3f06dd1..000000000000 --- a/benchmarks/ttcp/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -TTCP is a benchmarking tool for determining TCP and UDP performance -between 2 systems. - -The program was created at the US Army Ballistics Research Lab (BRL) -and is in the public domain. Feel free to distribute this program -but please do leave the credit notices in the source and man page intact. - -How to get TCP performance numbers: - - receiver sender - -host1% ttcp -r -s host2% ttcp -t -s host1 - --n and -l options change the number and size of the buffers. diff --git a/benchmarks/ttcp/pkg-plist b/benchmarks/ttcp/pkg-plist deleted file mode 100644 index 5d2266f36ebd..000000000000 --- a/benchmarks/ttcp/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/ttcp -share/doc/ttcp/README -@dirrm share/doc/ttcp diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile deleted file mode 100644 index e21e2682a8f7..000000000000 --- a/benchmarks/unixbench/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: bytebench -# Date created: 28 December 1995 -# Whom: se -# -# $FreeBSD$ -# - -PORTNAME= bytebench -PORTVERSION= 3.1 -CATEGORIES= benchmarks -MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/ -EXTRACT_SUFX= .tar.Z - -MAINTAINER= se@FreeBSD.org - -do-install: - -${MKDIR} $(PREFIX)/lib/bytebench - for f in Makefile README Run doc pgms results testdir; \ - do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done - ${ECHO} "#!/bin/sh" > $(PREFIX)/bin/bytebench - ${ECHO} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench - ${ECHO} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench - ${ECHO} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench - ${ECHO} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench - ${ECHO} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench - ${CHMOD} 755 $(PREFIX)/bin/bytebench - ${CHMOD} 644 $(PREFIX)/lib/bytebench/Makefile - ${CHMOD} 644 $(PREFIX)/lib/bytebench/README - ${CHMOD} 755 $(PREFIX)/lib/bytebench/Run - ${CHMOD} 755 $(PREFIX)/lib/bytebench/doc - ${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms - ${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms/* - ${CHMOD} 755 $(PREFIX)/lib/bytebench/results - ${CHMOD} 755 $(PREFIX)/lib/bytebench/testdir - @${RM} -f ${PREFIX}/lib/bytebench/pgms/*.orig - -.include <bsd.port.mk> diff --git a/benchmarks/unixbench/distinfo b/benchmarks/unixbench/distinfo deleted file mode 100644 index 23a74ac768ae..000000000000 --- a/benchmarks/unixbench/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (bytebench-3.1.tar.Z) = 93c718fee38d27c050edcb3a50530b2e diff --git a/benchmarks/unixbench/files/patch-aa b/benchmarks/unixbench/files/patch-aa deleted file mode 100644 index 011f1cc85f71..000000000000 --- a/benchmarks/unixbench/files/patch-aa +++ /dev/null @@ -1,96 +0,0 @@ ---- Makefile.orig Wed Feb 5 02:08:43 1992 -+++ Makefile Fri Feb 4 21:15:26 2000 -@@ -24,18 +24,19 @@ - ############################################################################## - ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15"; - SHELL = /bin/sh --#HZ = ???? #(read from environment) --CFLAGS = -DTIME --OPTON = -O #optimization on (give it your best shot) -- # -- check your compiler man --OPTOFF = -Od #optimization off -- check your compiler man -+HZ = 128 -+CFLAGS ?= -O -finline-functions -funroll-loops -fomit-frame-pointer -+CFLAGS+=-DTIME -+ #optimization on (give it your best shot) -+ # -- check your compiler man -+OPTOFF = -O0 -static #optimization off -- check your compiler man - # local directories - PROGDIR = ./pgms - SRCDIR = ./src - DOCDIR = ./doc - TESTDIR = ./testdir --RESULTDIR = ./results --TMPDIR = ./tmp -+# RESULTDIR = ./results -+# TMPDIR = /var/tmp - # other directories - INCLDIR = /usr/include - LIBDIR = /lib -@@ -128,45 +129,45 @@ - - # Individual programs - $(PROGDIR)/arithoh: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/arithoh ${CFLAGS} ${OPTON} -Darithoh $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/arithoh ${CFLAGS} ${OPTON} -Darithoh $(SRCDIR)/arith.c - $(PROGDIR)/register: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/register ${CFLAGS} ${OPTON} -Ddatum=register $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/register ${CFLAGS} ${OPTON} -Ddatum=register $(SRCDIR)/arith.c - $(PROGDIR)/short: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/short ${CFLAGS} ${OPTON} -Ddatum=short $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/short ${CFLAGS} ${OPTON} -Ddatum=short $(SRCDIR)/arith.c - $(PROGDIR)/int: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/int ${CFLAGS} ${OPTON} -Ddatum=int $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/int ${CFLAGS} ${OPTON} -Ddatum=int $(SRCDIR)/arith.c - $(PROGDIR)/long: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/long ${CFLAGS} ${OPTON} -Ddatum=long $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/long ${CFLAGS} ${OPTON} -Ddatum=long $(SRCDIR)/arith.c - $(PROGDIR)/float: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/float ${CFLAGS} ${OPTON} -Ddatum=float $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/float ${CFLAGS} ${OPTON} -Ddatum=float $(SRCDIR)/arith.c - $(PROGDIR)/double: $(SRCDIR)/arith.c -- cc -o $(PROGDIR)/double ${CFLAGS} ${OPTON} -Ddatum=double $(SRCDIR)/arith.c -+ $(CC) -o $(PROGDIR)/double ${CFLAGS} ${OPTON} -Ddatum=double $(SRCDIR)/arith.c - $(PROGDIR)/hanoi: $(SRCDIR)/hanoi.c -- cc -o $(PROGDIR)/hanoi ${CFLAGS} ${OPTON} $(SRCDIR)/hanoi.c -+ $(CC) -o $(PROGDIR)/hanoi ${CFLAGS} ${OPTON} $(SRCDIR)/hanoi.c - $(PROGDIR)/fstime: $(SRCDIR)/fstime.c -- cc -o $(PROGDIR)/fstime ${CFLAGS} ${OPTON} -Dawk=1 $(SRCDIR)/fstime.c -+ $(CC) -o $(PROGDIR)/fstime ${CFLAGS} ${OPTON} -Dawk=1 $(SRCDIR)/fstime.c - $(PROGDIR)/syscall: $(SRCDIR)/syscall.c -- cc -o $(PROGDIR)/syscall ${CFLAGS} ${OPTON} $(SRCDIR)/syscall.c -+ $(CC) -o $(PROGDIR)/syscall ${CFLAGS} ${OPTON} $(SRCDIR)/syscall.c - $(PROGDIR)/context1: $(SRCDIR)/context1.c -- cc -o $(PROGDIR)/context1 ${CFLAGS} ${OPTON} $(SRCDIR)/context1.c -+ $(CC) -o $(PROGDIR)/context1 ${CFLAGS} ${OPTON} $(SRCDIR)/context1.c - $(PROGDIR)/pipe: $(SRCDIR)/pipe.c -- cc -o $(PROGDIR)/pipe ${CFLAGS} ${OPTON} $(SRCDIR)/pipe.c -+ $(CC) -o $(PROGDIR)/pipe ${CFLAGS} ${OPTON} $(SRCDIR)/pipe.c - $(PROGDIR)/spawn: $(SRCDIR)/spawn.c -- cc -o $(PROGDIR)/spawn ${CFLAGS} ${OPTON} $(SRCDIR)/spawn.c -+ $(CC) -o $(PROGDIR)/spawn ${CFLAGS} ${OPTON} $(SRCDIR)/spawn.c - $(PROGDIR)/execl: $(SRCDIR)/execl.c $(SRCDIR)/big.c -- cc -o $(PROGDIR)/execl ${CFLAGS} ${OPTON} $(SRCDIR)/execl.c -+ $(CC) -o $(PROGDIR)/execl ${CFLAGS} ${OPTON} $(SRCDIR)/execl.c - $(PROGDIR)/dhry2: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h -- cd $(SRCDIR); cc -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_1.c -- cd $(SRCDIR); cc -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_2.c -- cc -o $(PROGDIR)/dhry2 ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o -+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_1.c -+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DHZ=${HZ} ${OPTON} dhry_2.c -+ $(CC) -o $(PROGDIR)/dhry2 ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o - cd $(SRCDIR); rm -f dhry_1.o dhry_2.o - $(PROGDIR)/dhry2reg: $(SRCDIR)/dhry_1.c $(SRCDIR)/dhry_2.c $(SRCDIR)/dhry.h -- cd $(SRCDIR); cc -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c -- cd $(SRCDIR); cc -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c -- cc -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o -+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_1.c -+ cd $(SRCDIR); $(CC) -c ${CFLAGS} -DREG=register -DHZ=${HZ} ${OPTON} dhry_2.c -+ $(CC) -o $(PROGDIR)/dhry2reg ${CFLAGS} ${OPTON} $(SRCDIR)/dhry_1.o $(SRCDIR)/dhry_2.o - cd $(SRCDIR); rm -f dhry_1.o dhry_2.o - $(PROGDIR)/looper: $(SRCDIR)/looper.c -- cc -o $(PROGDIR)/looper ${CFLAGS} ${OPTON} $(SRCDIR)/looper.c -+ $(CC) -o $(PROGDIR)/looper ${CFLAGS} ${OPTON} $(SRCDIR)/looper.c - - # Run the benchmarks and create the reports - run: diff --git a/benchmarks/unixbench/files/patch-ab b/benchmarks/unixbench/files/patch-ab deleted file mode 100644 index 062decfb4f86..000000000000 --- a/benchmarks/unixbench/files/patch-ab +++ /dev/null @@ -1,129 +0,0 @@ -*** Run.orig Wed Feb 5 11:08:46 1992 ---- Run Fri Dec 18 22:48:52 1998 -*************** -*** 41,45 **** - # awk cat cc chmod comm cp date dc df echo ed expr - # kill ls make mkdir rm sed test time touch tty umask who -! # AND /bin/time - # to generate result indexes, you will also need ... - # join ---- 41,45 ---- - # awk cat cc chmod comm cp date dc df echo ed expr - # kill ls make mkdir rm sed test time touch tty umask who -! # AND /usr/bin/time - # to generate result indexes, you will also need ... - # join -*************** -*** 51,55 **** - then - # determine flavor of UNIX from number of lines generated by /bin/tim -! Fcount=`/bin/time date 2>&1 | wc -l | sed 's/ //g'` - case "$Fcount" - in ---- 51,55 ---- - then - # determine flavor of UNIX from number of lines generated by /bin/tim -! Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'` - case "$Fcount" - in -*************** -*** 68,75 **** - export FLAVOR - # check that the required files are in the proper places -! if make check -! then : -! else make all -! fi - # - # ---- 68,75 ---- - export FLAVOR - # check that the required files are in the proper places -! #if make check -! # then : -! # else make all -! #fi - # - # -*************** -*** 93,97 **** - cd $PWD - -! TMPDIR=${HOMEDIR}/tmp - cd $TMPDIR - TMPDIR=`pwd` ---- 93,97 ---- - cd $PWD - -! TMPDIR=${TMPDIR-${HOMEDIR}/tmp} - cd $TMPDIR - TMPDIR=`pwd` -*************** -*** 304,312 **** - C) - logmsg="C Compiler Test" -! prog="looper ${looper-60} cc cctest.c" - stdout=/dev/null - repeat="$shortloop" - cleanopt="-m $TMPTIMES" -! rm -f ${TESTDIR}/cctest.o ${TESTDIR}/a.out - ;; - ---- 304,312 ---- - C) - logmsg="C Compiler Test" -! prog="looper ${looper-60} cc cctest.c -o ${TMPDIR}/a.out" - stdout=/dev/null - repeat="$shortloop" - cleanopt="-m $TMPTIMES" -! rm -f ${TESTDIR}/cctest.o ${TMPDIR}/a.out - ;; - -*************** -*** 324,329 **** - dc) - logmsg="Dc: sqrt(2) to 99 decimal places" -! prog="looper ${looper-60} dc" -! stdin=dc.dat - stdout=/dev/null - cleanopt="-m $TMPTIMES" ---- 324,329 ---- - dc) - logmsg="Dc: sqrt(2) to 99 decimal places" -! prog="looper ${looper-60} \"dc < ${TESTDIR}/dc.dat\"" -! stdin= - stdout=/dev/null - cleanopt="-m $TMPTIMES" -*************** -*** 418,426 **** - if test "$stdin" = "" - then # without redirected stdin -! /bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout - else # with redirected stdin -! /bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout - fi -- /bin/time $benchcmd - ############################################### - cd $pwd # move back home ---- 418,425 ---- - if test "$stdin" = "" - then # without redirected stdin -! /usr/bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout - else # with redirected stdin -! /usr/bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout - fi - ############################################### - cd $pwd # move back home -*************** -*** 451,455 **** - in - C) -! rm -f ${TESTDIR}/cctest.o ${TESTDIR}/a.out - ;; - ---- 451,455 ---- - in - C) -! rm -f ${TESTDIR}/cctest.o ${TMPDIR}/a.out - ;; - diff --git a/benchmarks/unixbench/files/patch-ac b/benchmarks/unixbench/files/patch-ac deleted file mode 100644 index 7cab0456099b..000000000000 --- a/benchmarks/unixbench/files/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -*** pgms/tst.sh.orig Wed Feb 5 11:08:39 1992 ---- pgms/tst.sh Fri Dec 18 23:10:07 1998 -*************** -*** 15,19 **** - ############################################################################### - ID="@(#)tst.sh:3.4 -- 5/15/91 19:30:24"; -! sort >sort.$$ <sort.src - od sort.$$ | sort -n +1 > od.$$ - grep the sort.$$ | tee grep.$$ | wc > wc.$$ ---- 15,19 ---- - ############################################################################### - ID="@(#)tst.sh:3.4 -- 5/15/91 19:30:24"; -! sort >sort.$$ < ${TESTDIR}/sort.src - od sort.$$ | sort -n +1 > od.$$ - grep the sort.$$ | tee grep.$$ | wc > wc.$$ diff --git a/benchmarks/unixbench/files/patch-ad b/benchmarks/unixbench/files/patch-ad deleted file mode 100644 index 12de4faa1333..000000000000 --- a/benchmarks/unixbench/files/patch-ad +++ /dev/null @@ -1,17 +0,0 @@ -*** pgms/cleanup.sh.orig Wed Feb 5 11:08:37 1992 ---- pgms/cleanup.sh Wed Jan 3 19:27:21 1996 -*************** -*** 87,92 **** - - -r) : reason for failure -! echo $1 -! echo $1 >>$LOGFILE - shift - ;; ---- 87,92 ---- - - -r) : reason for failure -! echo -e $1 -! echo -e $1 >>$LOGFILE - shift - ;; diff --git a/benchmarks/unixbench/files/patch-ae b/benchmarks/unixbench/files/patch-ae deleted file mode 100644 index 40131bbafc83..000000000000 --- a/benchmarks/unixbench/files/patch-ae +++ /dev/null @@ -1,10 +0,0 @@ -*** pgms/multi.sh.orig Thu Jan 4 15:16:20 1996 ---- pgms/multi.sh Thu Jan 4 15:17:26 1996 -*************** -*** 15,18 **** ---- 15,19 ---- - ############################################################################### - ID="@(#)multi.sh:3.4 -- 5/15/91 19:30:24"; -+ cd $TMPDIR - for i - do diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af deleted file mode 100644 index bf25a7610d17..000000000000 --- a/benchmarks/unixbench/files/patch-af +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000 -+++ src/dhry_1.c Thu Jan 27 21:24:08 2000 -@@ -78,7 +78,7 @@ - /* Measurements should last at least about 2 seconds */ - #endif - #ifdef TIME --extern long time(); -+extern time_t time(); - /* see library function "time" */ - #define Too_Small_Time 2 - /* Measurements should last at least 2 seconds */ diff --git a/benchmarks/unixbench/pkg-comment b/benchmarks/unixbench/pkg-comment deleted file mode 100644 index 4b271f82ad70..000000000000 --- a/benchmarks/unixbench/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The BYTE magazine benchmark suite diff --git a/benchmarks/unixbench/pkg-descr b/benchmarks/unixbench/pkg-descr deleted file mode 100644 index 8693a1581db4..000000000000 --- a/benchmarks/unixbench/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -The BYTE benchmark suite tests several aspects of system performance. - -An article which describes the concepts and helps understand the results -can be found in the doc directory (/usr/local/lib/bytebench/doc usually.) - -This benchmark is quite prominent among Linux users, and there is a patched -version available from some web suite from where results are made available, -too. -Since they offer some results of non-Linux systems for comparison, they might -be interested in FreeBSD reports, too ;-) - -Quoting from "README.submittal" of the Linux version of this benchmark suite: -% Please e-mail test results along with platform info to: -% results@silkroad.com -% -% Included CPU info, speed, RAM, and host adapter and bus -% info as well as any special compilation flags. -% -% See TEMPLATE Below.... -% results will be included in the URL: -% http://www.silkroad.com/bass/linux/bm.html -% Thanks, -% -% Tim Bass (bass@silkroad.com) diff --git a/benchmarks/unixbench/pkg-plist b/benchmarks/unixbench/pkg-plist deleted file mode 100644 index 32c956709dd4..000000000000 --- a/benchmarks/unixbench/pkg-plist +++ /dev/null @@ -1,44 +0,0 @@ -bin/bytebench -lib/bytebench/Run -lib/bytebench/pgms/looper -lib/bytebench/pgms/cleanup.sh -lib/bytebench/pgms/fs.awk -lib/bytebench/pgms/index.awk -lib/bytebench/pgms/index.base -lib/bytebench/pgms/index.sh -lib/bytebench/pgms/loopm.awk -lib/bytebench/pgms/loops.awk -lib/bytebench/pgms/multi.sh -lib/bytebench/pgms/report.awk -lib/bytebench/pgms/report.sh -lib/bytebench/pgms/tst.sh -lib/bytebench/pgms/arithoh -lib/bytebench/pgms/register -lib/bytebench/pgms/short -lib/bytebench/pgms/int -lib/bytebench/pgms/long -lib/bytebench/pgms/float -lib/bytebench/pgms/double -lib/bytebench/pgms/hanoi -lib/bytebench/pgms/fstime -lib/bytebench/pgms/syscall -lib/bytebench/pgms/context1 -lib/bytebench/pgms/pipe -lib/bytebench/pgms/spawn -lib/bytebench/pgms/execl -lib/bytebench/pgms/dhry2 -lib/bytebench/pgms/dhry2reg -lib/bytebench/pgms/byte.logo -lib/bytebench/Makefile -lib/bytebench/README -lib/bytebench/doc/bench3.doc -lib/bytebench/doc/bench.doc -lib/bytebench/results/reports.shar -lib/bytebench/testdir/dc.dat -lib/bytebench/testdir/cctest.c -lib/bytebench/testdir/sort.src -@dirrm lib/bytebench/doc -@dirrm lib/bytebench/results -@dirrm lib/bytebench/pgms -@dirrm lib/bytebench/testdir -@dirrm lib/bytebench |