FreeBSD Bugzilla – Attachment 9276 Details for
Bug 19049
new port: benchmarks/ubench
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.18 KB, created by
leeym
on 2000-06-06 08:10:03 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
leeym
Created:
2000-06-06 08:10:03 UTC
Size:
5.18 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ubench ># ubench/pkg ># ubench/pkg/COMMENT ># ubench/pkg/DESCR ># ubench/pkg/PLIST ># ubench/patches ># ubench/patches/patch-aa ># ubench/patches/patch-ac ># ubench/patches/patch-ad ># ubench/patches/patch-ab ># ubench/files ># ubench/files/md5 ># ubench/Makefile ># >echo c - ubench >mkdir -p ubench > /dev/null 2>&1 >echo c - ubench/pkg >mkdir -p ubench/pkg > /dev/null 2>&1 >echo x - ubench/pkg/COMMENT >sed 's/^X//' >ubench/pkg/COMMENT << 'END-of-ubench/pkg/COMMENT' >XUnix Benchmark Utility for CPU(s) and memory. >END-of-ubench/pkg/COMMENT >echo x - ubench/pkg/DESCR >sed 's/^X//' >ubench/pkg/DESCR << 'END-of-ubench/pkg/DESCR' >X The Unix Benchmark Utility "ubench" is an attempt to introduce >Xa single measure of perfomance among computer systems running >Xvarious flavors of Unix operation system. >X Disclaimer: ubench is distributed in the hope that it >Xwill be useful, but WITHOUT ANY WARRANTY; without even the >Ximplied warranty of MERCHANTABILITY or FITNESS FOR A >XPARTICULAR PURPOSE. >X >X The current development release tests only >XCPU(s) and memory. In the future releases >Xthere will be tests added for disk and TCP/IP. >XUbench is taking advantage of multiple CPUs on an SMP system >Xand the results will reflect that unless ubench has been >Xinvoked with '-s' flag. >XOther factors affecting ubench results include >Xquality of the C-compiler, C-library, kernel version, >XOS scalability, amount of RAM, presence of other >Xapplications running at the same time, etc. >X >X Ubench is executing rather senseless mathematical >Xinteger and floating-point calculations for 3 mins >Xconcurrently using several processes, and the result >XUbench CPU benchmark. The ratio of floating-point calculations >Xto integer is about 1:3. >X Ubench will spawn about 2 concurrent processes for each CPU >Xavailable on the system. This ensures all available >Xraw CPU horsepower is used. >X Ubench is executing rather senseless memory allocation and >Xmemory to memory copying operations for another 3 mins >Xconcurrently using several processes, and the result >XUbench MEM benchmark. >X >XSergei Viznyuk <sv@phystech.com> >END-of-ubench/pkg/DESCR >echo x - ubench/pkg/PLIST >sed 's/^X//' >ubench/pkg/PLIST << 'END-of-ubench/pkg/PLIST' >Xbin/ubench >END-of-ubench/pkg/PLIST >echo c - ubench/patches >mkdir -p ubench/patches > /dev/null 2>&1 >echo x - ubench/patches/patch-aa >sed 's/^X//' >ubench/patches/patch-aa << 'END-of-ubench/patches/patch-aa' >X--- configure.orig Mon May 29 09:46:09 2000 >X+++ configure Tue Jun 6 14:41:26 2000 >X@@ -13,6 +13,7 @@ >X >X #DEFINES=-DDEBUG >X INSTALLDIR= /usr/local/bin >X+MANDIR= /usr/local/man/man8 >X >X ! >X >X@@ -114,7 +115,7 @@ >X *) >X cat <<! >> Makefile >X CC = cc >X-CFLAGS = >X+CFLAGS = -D${SYSTEM} >X LDFLAGS = -lm >X INCLUDES = -I. >X >X@@ -134,10 +135,10 @@ >X %.o: %.c >X \$(CC) \$(CFLAGS) \$(INCLUDES) -c \$< >X >X-default: ubench >X+all: ubench >X >X install: ubench >X- mv -f \$(INSTALLDIR)/ubench \$(INSTALLDIR)/ubench.old >X+ install -c -m 0555 ubench.8 \$(MANDIR) >X install -c -m 0555 ubench \$(INSTALLDIR) >X >X utime: \$(utimeobjects) >END-of-ubench/patches/patch-aa >echo x - ubench/patches/patch-ac >sed 's/^X//' >ubench/patches/patch-ac << 'END-of-ubench/patches/patch-ac' >X--- membench.c.orig Tue Jun 6 14:33:33 2000 >X+++ membench.c Tue Jun 6 14:34:29 2000 >X@@ -41,7 +41,7 @@ >X #define sys_errlist _sys_errlist >X #endif >X >X-#ifdef SunOS >X+#if defined SunOS || defined FreeBSD >X extern sigjmp_buf env; >X #else >X extern jmp_buf env; >END-of-ubench/patches/patch-ac >echo x - ubench/patches/patch-ad >sed 's/^X//' >ubench/patches/patch-ad << 'END-of-ubench/patches/patch-ad' >X--- signals.c.orig Tue Jun 6 14:33:33 2000 >X+++ signals.c Tue Jun 6 14:35:08 2000 >X@@ -22,7 +22,7 @@ >X #include <signal.h> >X #include <setjmp.h> >X >X-#ifdef SunOS >X+#if defined SunOS || defined FreeBSD >X sigjmp_buf env; >X #else >X jmp_buf env; >END-of-ubench/patches/patch-ad >echo x - ubench/patches/patch-ab >sed 's/^X//' >ubench/patches/patch-ab << 'END-of-ubench/patches/patch-ab' >X--- cpubench.c.orig Tue Jun 6 14:33:33 2000 >X+++ cpubench.c Tue Jun 6 14:34:40 2000 >X@@ -41,7 +41,7 @@ >X #define sys_errlist _sys_errlist >X #endif >X >X-#ifdef SunOS >X+#if defined SunOS || defined FreeBSD >X extern sigjmp_buf env; >X #else >X extern jmp_buf env; >END-of-ubench/patches/patch-ab >echo c - ubench/files >mkdir -p ubench/files > /dev/null 2>&1 >echo x - ubench/files/md5 >sed 's/^X//' >ubench/files/md5 << 'END-of-ubench/files/md5' >XMD5 (ubench-0.31.tar.gz) = 1a6c5fec5922dda91dae38833e3caedd >END-of-ubench/files/md5 >echo x - ubench/Makefile >sed 's/^X//' >ubench/Makefile << 'END-of-ubench/Makefile' >X# New ports collection makefile for: ubench >X# Date created: June 6th 2000 >X# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ubench >XPORTVERSION= 0.31 >XCATEGORIES= benchmarks >XMASTER_SITES= ftp://metalab.unc.edu/pub/Linux/system/benchmark/ \ >X http://linuxberg.concepts.nl/files/console/system/ >X >XMAINTAINER= leeym@cae.ce.ntu.edu.tw >X >XGNU_CONFIGURE= yes >XMAN8= ubench.8 >X >X.include <bsd.port.mk> >END-of-ubench/Makefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 19049
: 9276