From owner-freebsd-ports Mon May 18 11:44:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06768 for freebsd-ports-outgoing; Mon, 18 May 1998 11:44:37 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06689 for ; Mon, 18 May 1998 11:44:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA20031; Mon, 18 May 1998 11:40:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05529 for ; Mon, 18 May 1998 11:35:27 -0700 (PDT) (envelope-from ghelmer@FreeBSD.org) Received: (from ghelmer@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA19983; Mon, 18 May 1998 11:31:10 -0700 (PDT) Message-Id: <199805181831.LAA19983@freefall.freebsd.org> Date: Mon, 18 May 1998 11:31:10 -0700 (PDT) From: Guy Helmer Reply-To: ghelmer@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6680: HINT benchmark port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6680 >Category: ports >Synopsis: submitted port of HINT benchmark >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 18 11:40:01 PDT 1998 >Last-Modified: >Originator: Guy Helmer >Organization: Ames Laboratory >Release: FreeBSD 2.2.5-STABLE i386 >Environment: Tested on FreeBSD-current as of May 14 1998 >Description: HINT is a scalable computer benchmark that determines speed over a computer's entire memory regime. It measures performance in terms of a mathematically rigorously defined measure called QUIPS as the size of the computed problem grows. A FreeBSD port for HINT is attached. >How-To-Repeat: >Fix: The HINT port for FreeBSD is attached. # 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: # # hint-port # hint-port/pkg # hint-port/pkg/DESCR # hint-port/pkg/COMMENT # hint-port/pkg/PLIST # hint-port/Makefile # hint-port/files # hint-port/files/md5 # hint-port/patches # hint-port/patches/patch-aa # echo c - hint-port mkdir -p hint-port > /dev/null 2>&1 echo c - hint-port/pkg mkdir -p hint-port/pkg > /dev/null 2>&1 echo x - hint-port/pkg/DESCR sed 's/^X//' >hint-port/pkg/DESCR << 'END-of-hint-port/pkg/DESCR' XHINT (Hierarchical INTegration) is a computer benchmarking tool Xdeveloped at the Scalable Computing Laboratory of the Ames Laboratory, Xa US Department of Energy laboratory. Unlike traditional benchmarks, XHINT neither fixes the size of the problem nor the calculation time. XInstead, it uses a rigorously defined measure called QUIPS (QUality XImprovements Per Second). X XThe output of HINT is data which can be plotted (the gnuplot graphics Xpackage is useful for plotting HINT output). The plot shows the speed Xof the computation as the size of the problem increases. The HINT Xgraph shows the peak processor speed and the effects of different Xlevels of cache and memory on processing speed. See Xhttp://www.scl.ameslab.gov/Projects/HINT/ for more information and Xan on-line database of HINT results. X XHINT also outputs a single number which is the integral of the HINT Xcurve. This number, called NetQUIPS, can be used for general Xcomparison between machines. X X- Guy Helmer Xghelmer@freebsd.org END-of-hint-port/pkg/DESCR echo x - hint-port/pkg/COMMENT sed 's/^X//' >hint-port/pkg/COMMENT << 'END-of-hint-port/pkg/COMMENT' XA scalable benchmark for testing CPU and memory performance. END-of-hint-port/pkg/COMMENT echo x - hint-port/pkg/PLIST sed 's/^X//' >hint-port/pkg/PLIST << 'END-of-hint-port/pkg/PLIST' Xbin/hint Xman/man1/hint.1.gz END-of-hint-port/pkg/PLIST echo x - hint-port/Makefile sed 's/^X//' >hint-port/Makefile << 'END-of-hint-port/Makefile' X# X# New ports collection makefile for: hint X# Version required: May 26 1995 (no version stamp) X# Date created: 18 May 1998 X# Whom: ghelmer X# X# $Id$ X# X XDISTNAME= hint.serial XPKGNAME= hint.serial-95.05.26 XCATEGORIES= benchmarks XMASTER_SITES= ftp://ftp.scl.ameslab.gov/pub/HINT/tar/ XEXTRACT_SUFX= .tar X XMAINTAINER= ghelmer@freebsd.org X XEXTRACT_BEFORE_ARGS=-xf XWRKSRC= ${WRKDIR} XALL_TARGET= targets XMAN1= hint.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/hint ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/hint.1 ${PREFIX}/man/man1 X X.include END-of-hint-port/Makefile echo c - hint-port/files mkdir -p hint-port/files > /dev/null 2>&1 echo x - hint-port/files/md5 sed 's/^X//' >hint-port/files/md5 << 'END-of-hint-port/files/md5' XMD5 (hint.serial.tar) = 5497d61a40e93ab89d19010394fce2db END-of-hint-port/files/md5 echo c - hint-port/patches mkdir -p hint-port/patches > /dev/null 2>&1 echo x - hint-port/patches/patch-aa sed 's/^X//' >hint-port/patches/patch-aa << 'END-of-hint-port/patches/patch-aa' X*** /dev/null Mon May 18 08:38:11 1998 X--- hint.1 Mon May 18 10:19:30 1998 X*************** X*** 0 **** X--- 1,112 ---- X+ .\" Copyright 1998 Iowa State University Research Foundation, Inc. X+ .\" X+ .\" This program is free software; you can redistribute it and/or modify X+ .\" it under the terms of the GNU General Public License as published by X+ .\" the Free Software Foundation. You should have received a copy of the X+ .\" GNU General Public License along with this program; if not, write to the X+ .\" Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. X+ .\" X+ .\" THIS SOFTWARE IS PROVIDED BY THE IOWA STATE UNIVERSITY RESEARCH X+ .\" FOUNDATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, X+ .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF X+ .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. X+ .\" IN NO EVENT SHALL THE IOWA STATE UNIVERSITY RESEARCH FOUNDATION BE X+ .\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, X+ .\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, X+ .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, X+ .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY X+ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT X+ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF X+ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. X+ .\" X+ .\" $Id$ X+ .\" X+ .Dd May 18, 1998 X+ .Dt HINT 1 X+ .Os X+ .Sh NAME X+ .Nm hint X+ .Nd scalable benchmark for CPU and memory X+ .Sh SYNOPSIS X+ .Nm hint X+ .Sh DESCRIPTION X+ The program X+ .Nm X+ reveals many aspects of computer performance: operation speed, X+ precision, memory bandwidth, and usable memory size. It is completely X+ unlike conventional computer benchmarks. HINT measures "QUIPS" X+ (QUality Improvement Per Second) as a function of time. "Net QUIPS" X+ is a single number that summarizes the QUIPS over time. X+ .Pp X+ As provided, X+ .Nm X+ uses double-precision floating point arithmetic. The original source X+ can be re-compiled to use other data types (such as long integers). X+ The original source should be available directly from X+ .Pa ftp://ftp.scl.ameslab.gov/pub/HINT/ . X+ See X+ .Pa http://www.scl.ameslab.gov/Projects/HINT/ X+ for more information on HINT, including technical reports and an X+ on-line database of HINT results. X+ .Pp X+ The output of X+ .Nm X+ is a file in the current directory named X+ .Pa DOUBLE X+ which contains five columns: X+ .Bl -enum X+ .It X+ Time X+ .It X+ QUIPS X+ .It X+ Quality X+ .It X+ Subintervals X+ .It X+ Memory Used X+ .El X+ .Pp X+ The first two columns are used to produce the QUIPS graph. The third X+ and fourth columns are Quality and subintervals. These columns can be X+ used to check for loss of quality due to insufficient precision and X+ poor choices of which rectangle to split. The fifth is useful for X+ finding the sizes of memory regimes, like where primary cache X+ saturates or where virtual memory is first invoked. X+ .Pp X+ The file is set up in a format suitable for X+ .Xr gnuplot 1 X+ or similar plotting packages. QUIPS graphs should be plotted on a X+ semi-log scale with log of time as the horizontal axis and QUIPS as X+ the vertical axis. The following gnuplot commands would be suitable to X+ display the QUIPS graph from the file X+ .Pa DOUBLE : X+ .nf X+ X+ set logscale x X+ plot "DOUBLE" X+ X+ .fi X+ QUIPS vs. memory use can also be plotted to reveal memory regime sizes, X+ by using the following X+ .Xr gnuplot 1 X+ command: X+ .nf X+ X+ plot "DOUBLE" using 5:2 X+ X+ .fi X+ X+ .Sh FILES X+ .Bl -tag -width DOUBLE -compact X+ .It Pa DOUBLE output file in current directory X+ .El X+ .Sh SEE ALSO X+ .Xr gnuplot 1 X+ .Sh AUTHOR X+ .Nm HINT X+ was developed by the Scalable Computing Laboratory (SCL) of Ames Laboratory, X+ a US Department of Energy laboratory. X+ .Sh BUGS X+ .Nm X+ only writes its output file in the current directory. END-of-hint-port/patches/patch-aa exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message