This commit is contained in:
joey 1997-11-27 17:42:23 +00:00
parent 8038fab39e
commit 1e89d84fb8
7 changed files with 269 additions and 0 deletions

View File

@ -0,0 +1,46 @@
# OpenBSD makefile for: lmbench
# Version required: 1.1
# Date created: Nov 27 1997
# Whom: ejovi
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/27 17:42:23 joey Exp $
#
DISTNAME= lmbench
PKGNAME= lmbench-1.1
CATEGORIES= benchmarks
MASTER_SITES= http://reality.sgi.com/lm_engr/lmbench/
EXTRACT_SUFX= .tar.Z
MAINTAINER= joey@OpenBSD.ORG
ALL_TARGET= build
MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
MAN1= bargraph.1 graph.1
MAN8= bw_file_rd.8 bw_mem_cp.8 bw_mem_rd.8 bw_mem_wr.8 \
bw_mmap_rd.8 bw_pipe.8 bw_tcp.8 lat_connect.8 lat_ctx.8 \
lat_fs.8 lat_mem_rd.8 lat_mmap.8 lat_pagefault.8 lat_pipe.8 \
lat_proc.8 lat_rpc.8 lat_syscall.8 lat_tcp.8 lat_udp.8 \
lmbench.8 lmdd.8 mhz.8
test: build
@(cd ${WRKSRC}; make results)
retest: build
@(cd ${WRKSRC}; make rerun)
pre-install:
[ -d ${PREFIX}/lib/lmbench ] || ${MKDIR} ${PREFIX}/lib/lmbench
do-install:
${CP} ${FILESDIR}/Makefile ${PREFIX}/lib/lmbench
tar -C ${WRKSRC} -cf - Results bin scripts | \
tar -C ${PREFIX}/lib/lmbench -xf -
.for man in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man1
.endfor
.for man in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man8
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
# A Makefile for the installed lmbench
BINDIR = ./bin/bsd
results:
@(cd scripts; ./config-run ../${BINDIR}/CONFIG)
@(cd scripts; ./results)
rerun:
@(if [ ! -f ${BINDIR}/CONFIG ]; then \
(cd scripts; ./config-run ../${BINDIR}/CONFIG); \
fi)
@(cd scripts; ./results)
see:
cd Results && make summary percent | more

View File

@ -0,0 +1 @@
MD5 (lmbench.tar.Z) = 3b81daa054e9999b6efb2b225468087c

View File

@ -0,0 +1,20 @@
--- src/Makefile.orig Wed May 28 01:21:10 1997
+++ src/Makefile Wed May 28 01:19:40 1997
@@ -93,7 +93,7 @@
$(MAKE) O=$O CC=cc CFLAGS="$(CFLAGS)" all
bsd:
- $(MAKE) O=$O CC=$(CC) CFLAGS="$(CFLAGS) -Duint='unsigned int'" all
+ $(MAKE) O=$O CC=$(CC) CFLAGS="$(CFLAGS)" all
Wall:
@$(MAKE) clean
@@ -131,7 +131,7 @@
$O/lat_pagefault: lat_pagefault.c timing.c bench.h
if [ $O = ../bin/linux -o $O = ../bin/bsd ]; \
- then cp /bin/true $O/lat_pagefault; \
+ then cp /usr/bin/true $O/lat_pagefault; \
else $(COMPILE) -o $O/lat_pagefault lat_pagefault.c $(LDLIBS); \
fi

View File

@ -0,0 +1 @@
A system performance measurement tool

View File

@ -0,0 +1,9 @@
This is lmbench-1.0, a system performance measurement tool. You can
go to /usr/local/lib/lmbench and do one of the followings:
make results (to run the benchmarks)
make rerun (to rerun the benchmarks)
make see (to see how you did)
- Satoshi
asami@cs.berkeley.edu

View File

@ -0,0 +1,177 @@
lib/lmbench/Makefile
lib/lmbench/Results/EXAMPLE
lib/lmbench/Results/EXAMPLE2
lib/lmbench/Results/FreeBSD/i586
lib/lmbench/Results/FreeBSD/i586.1
lib/lmbench/Results/FreeBSD/i586.2
lib/lmbench/Results/FreeBSD/i586.3
lib/lmbench/Results/FreeBSD/i586.4
lib/lmbench/Results/GS/gs_init.ps
lib/lmbench/Results/GS/gs_statd.ps
lib/lmbench/Results/LIST-
lib/lmbench/Results/Makefile
lib/lmbench/Results/OUT
lib/lmbench/Results/PAPER
lib/lmbench/Results/RCS/Makefile,v
lib/lmbench/Results/aix/6000-990
lib/lmbench/Results/aix/powerpc.2
lib/lmbench/Results/dgux/AViiON
lib/lmbench/Results/hpux/735
lib/lmbench/Results/hpux/cello
lib/lmbench/Results/hpux/hamsky2
lib/lmbench/Results/hpux/k200
lib/lmbench/Results/hpux/snake
lib/lmbench/Results/hpux/wk4
lib/lmbench/Results/hpux/wk4.4
lib/lmbench/Results/hpux/wk4.5
lib/lmbench/Results/i686.predicted
lib/lmbench/Results/irix/IP19
lib/lmbench/Results/irix/IP19+
lib/lmbench/Results/irix/IP19-5.3
lib/lmbench/Results/irix/IP19-newsched
lib/lmbench/Results/irix/IP21
lib/lmbench/Results/irix/IP22
lib/lmbench/Results/irix/IP22+
lib/lmbench/Results/irix/IP26
lib/lmbench/Results/irix/cedar3
lib/lmbench/Results/linux/aurora.4
lib/lmbench/Results/linux/i586
lib/lmbench/Results/linux/i586.1
lib/lmbench/Results/linux/i586.120
lib/lmbench/Results/linux/i586.2
lib/lmbench/Results/linux/i586.3
lib/lmbench/Results/linux/i586.4
lib/lmbench/Results/linux/linux
lib/lmbench/Results/linux/linux.1
lib/lmbench/Results/linux/pc64
lib/lmbench/Results/linux/pc64.1
lib/lmbench/Results/osf1/8400-32.psc.edu
lib/lmbench/Results/osf1/alpha
lib/lmbench/Results/osf1/alpha.1
lib/lmbench/Results/osf1/alpha.2
lib/lmbench/Results/osf1/alpha.3
lib/lmbench/Results/osf1/alpha.4
lib/lmbench/Results/osf1/gauss
lib/lmbench/Results/osf1/nobozo
lib/lmbench/Results/solaris/sc1000
lib/lmbench/Results/solaris/sc2000
lib/lmbench/Results/solaris/sc2000.1
lib/lmbench/Results/solaris/ss20.50
lib/lmbench/Results/solaris/ss20.61
lib/lmbench/Results/solaris/sun4m
lib/lmbench/Results/solaris/ultrasparc.10
lib/lmbench/Results/unixware/alder.2
lib/lmbench/bin/bsd/bw_file_rd
lib/lmbench/bin/bsd/bw_mem_cp
lib/lmbench/bin/bsd/bw_mem_rd
lib/lmbench/bin/bsd/bw_mem_wr
lib/lmbench/bin/bsd/bw_mmap_rd
lib/lmbench/bin/bsd/bw_pipe
lib/lmbench/bin/bsd/bw_tcp
lib/lmbench/bin/bsd/hello
lib/lmbench/bin/bsd/lat_connect
lib/lmbench/bin/bsd/lat_ctx
lib/lmbench/bin/bsd/lat_fs
lib/lmbench/bin/bsd/lat_mem_rd
lib/lmbench/bin/bsd/lat_mmap
lib/lmbench/bin/bsd/lat_pagefault
lib/lmbench/bin/bsd/lat_pipe
lib/lmbench/bin/bsd/lat_proc
lib/lmbench/bin/bsd/lat_rpc
lib/lmbench/bin/bsd/lat_sig
lib/lmbench/bin/bsd/lat_syscall
lib/lmbench/bin/bsd/lat_tcp
lib/lmbench/bin/bsd/lat_udp
lib/lmbench/bin/bsd/lmdd
lib/lmbench/bin/bsd/memsize
lib/lmbench/bin/bsd/mhz
lib/lmbench/scripts/Makefile
lib/lmbench/scripts/README
lib/lmbench/scripts/allctx
lib/lmbench/scripts/allmem
lib/lmbench/scripts/bargraph
lib/lmbench/scripts/bghtml
lib/lmbench/scripts/config-run
lib/lmbench/scripts/depend
lib/lmbench/scripts/getbg
lib/lmbench/scripts/getctx
lib/lmbench/scripts/getlist
lib/lmbench/scripts/getmax
lib/lmbench/scripts/getmem
lib/lmbench/scripts/getpercent
lib/lmbench/scripts/getsummary
lib/lmbench/scripts/gifs
lib/lmbench/scripts/graph
lib/lmbench/scripts/html-list
lib/lmbench/scripts/html-man
lib/lmbench/scripts/lmbench
lib/lmbench/scripts/man2html
lib/lmbench/scripts/os
lib/lmbench/scripts/rccs
lib/lmbench/scripts/results
lib/lmbench/scripts/save
lib/lmbench/scripts/xroff
lib/lmbench/scripts/RCS/rccs,v
lib/lmbench/scripts/RCS/bargraph,v
lib/lmbench/scripts/RCS/depend,v
lib/lmbench/scripts/RCS/getbg,v
lib/lmbench/scripts/RCS/getctx,v
lib/lmbench/scripts/RCS/getlist,v
lib/lmbench/scripts/RCS/getmax,v
lib/lmbench/scripts/RCS/getmem,v
lib/lmbench/scripts/RCS/graph,v
lib/lmbench/scripts/RCS/getpercent,v
lib/lmbench/scripts/RCS/getsummary,v
lib/lmbench/scripts/RCS/lmbench,v
lib/lmbench/scripts/RCS/os,v
lib/lmbench/scripts/RCS/save,v
lib/lmbench/scripts/RCS/xroff,v
lib/lmbench/scripts/RCS/README,v
lib/lmbench/scripts/RCS/Makefile,v
lib/lmbench/scripts/RCS/results,v
lib/lmbench/scripts/RCS/config-run,v
lib/lmbench/scripts/RCS/allmem,v
lib/lmbench/scripts/RCS/allctx,v
@dirrm lib/lmbench/Results/FreeBSD
@dirrm lib/lmbench/Results/GS
@dirrm lib/lmbench/Results/PS
@dirrm lib/lmbench/Results/RCS
@dirrm lib/lmbench/Results/aix
@dirrm lib/lmbench/Results/dgux
@dirrm lib/lmbench/Results/hpux
@dirrm lib/lmbench/Results/irix
@dirrm lib/lmbench/Results/linux
@dirrm lib/lmbench/Results/osf1
@dirrm lib/lmbench/Results/solaris
@dirrm lib/lmbench/Results/tmp
@dirrm lib/lmbench/Results/unixware
@dirrm lib/lmbench/Results
@dirrm lib/lmbench/bin/bsd
@dirrm lib/lmbench/bin
@dirrm lib/lmbench/scripts/RCS
@dirrm lib/lmbench/scripts
@dirrm lib/lmbench
man/man1/bargraph.1.gz
man/man1/graph.1.gz
man/man8/bw_file_rd.8.gz
man/man8/bw_mem_cp.8.gz
man/man8/bw_mem_rd.8.gz
man/man8/bw_mem_wr.8.gz
man/man8/bw_mmap_rd.8.gz
man/man8/bw_pipe.8.gz
man/man8/bw_tcp.8.gz
man/man8/lat_connect.8.gz
man/man8/lat_ctx.8.gz
man/man8/lat_fs.8.gz
man/man8/lat_mem_rd.8.gz
man/man8/lat_mmap.8.gz
man/man8/lat_pagefault.8.gz
man/man8/lat_pipe.8.gz
man/man8/lat_proc.8.gz
man/man8/lat_rpc.8.gz
man/man8/lat_syscall.8.gz
man/man8/lat_tcp.8.gz
man/man8/lat_udp.8.gz
man/man8/lmbench.8.gz
man/man8/lmdd.8.gz
man/man8/mhz.8.gz