summaryrefslogtreecommitdiff
path: root/benchmarks/hint/patches/patch-aa
blob: 6d179572df95112d09712b1666f1cd8a3a1c7634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
*** /dev/null	Fri Jun 12 13:20:02 1998
--- hint.1	Fri Jun 12 14:14:15 1998
***************
*** 0 ****
--- 1,115 ----
+ .\" Copyright 1998 Iowa State University Research Foundation, Inc.
+ .\"
+ .\" This program is free software; you can redistribute it and/or modify
+ .\" it under the terms of the GNU General Public License as published by
+ .\" the Free Software Foundation.  You should have received a copy of the
+ .\" GNU General Public License along with this program; if not, write to the
+ .\" Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ .\"
+ .\" THIS SOFTWARE IS PROVIDED BY THE IOWA STATE UNIVERSITY RESEARCH
+ .\" FOUNDATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ .\" IN NO EVENT SHALL THE IOWA STATE UNIVERSITY RESEARCH FOUNDATION BE
+ .\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ .\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ .\"
+ .\"	Id
+ .\"
+ .Dd May 18, 1998
+ .Dt HINT 1
+ .Os
+ .Sh NAME
+ .Nm hint
+ .Nd scalable benchmark for CPU and memory
+ .Sh SYNOPSIS
+ .Nm hint
+ .Sh DESCRIPTION
+ The program
+ .Nm
+ reveals many aspects of computer performance: operation speed,
+ precision, memory bandwidth, and usable memory size.  HINT measures
+ "QUIPS" (QUality Improvement Per Second) as a function of time.  "Net
+ QUIPS" is a single number that summarizes the QUIPS over time.
+ .Pp
+ As provided,
+ .Nm
+ tests double-precision floating point arithmetic.  The original source
+ can be re-compiled to test other data types (such as long integers).
+ The original source should be available directly from
+ .Pa ftp://ftp.scl.ameslab.gov/pub/HINT/ .
+ See
+ .Pa http://www.scl.ameslab.gov/Projects/HINT/
+ for more information on HINT, including technical reports and an
+ on-line database of HINT results.
+ .Pp
+ The output of
+ .Nm
+ is a file in the directory
+ .Pa data
+ named
+ .Pa DOUBLE
+ which contains five columns:
+ .Bl -enum
+ .It
+ Time
+ .It
+ QUIPS
+ .It
+ Quality
+ .It
+ Subintervals
+ .It
+ Memory Used
+ .El
+ .Pp
+ The first two columns are used to produce the QUIPS graph.  The third
+ and fourth columns are Quality and subintervals.  These columns can be
+ used to check for loss of quality due to insufficient precision and
+ poor choices of which rectangle to split. The fifth is useful for
+ finding the sizes of memory regimes, like where primary cache
+ saturates or where virtual memory is first invoked.
+ .Pp
+ The file is set up in a format suitable for
+ .Xr gnuplot 1
+ or similar plotting packages.  QUIPS graphs should be plotted on a
+ semi-log scale with log of time as the horizontal axis and QUIPS as
+ the vertical axis. The following gnuplot commands would be suitable to
+ display the QUIPS graph from the file
+ .Pa data/DOUBLE :
+ .nf
+ 
+         set logscale x
+         plot "data/DOUBLE"
+ 
+ .fi
+ QUIPS vs. memory use can also be plotted to reveal memory regime sizes,
+ by using the following
+ .Xr gnuplot 1
+ command:
+ .nf
+ 
+         plot "data/DOUBLE" using 5:2
+ 
+ .fi
+ 
+ .Sh FILES
+ .Bl -tag -width DOUBLE -compact
+ .It Pa DOUBLE	output file in the directory
+ .Pa data
+ .El
+ .Sh SEE ALSO
+ .Xr gnuplot 1
+ .Sh AUTHOR
+ .Nm HINT
+ was developed by the Scalable Computing Laboratory (SCL) of Ames Laboratory,
+ a US Department of Energy laboratory.
+ .Sh BUGS
+ .Nm
+ only writes its output file in the directory
+ .Pa data .