home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
bench
/
BIS
/
README
< prev
next >
Wrap
Text File
|
1995-06-04
|
1KB
|
33 lines
bis.c is a floating point benchmark.
It generates an array of floating point numbers
and calculates a complex expression (known as
a bi-spectrum if you interpret the array as
a complex valued fourier transform of an image).
The program uses a dataset of more than 1 Megabyte
to defeat large caches. Unfortunately that's not
large enough for really fast machines (a big
Alpha has 1..4MB cache).
The test emphasizes speed of the floating point
hardware and scattered, non-linear access to a large
data set in memory. This is typical for many
scientific applications.
For compatibility with many operating systems the
program just measures the real time. On a multitasking
system you should reduce system load as much as possible
and shut down other processes.
A list of results for a large variety of machines can
be found in the results file. Note that the timings
in the results file are scaled down by a factor of ten.
The reason is that I just used 100 loops through the main
function. But very fast machines produce inaccurate
measurements as the time() function just resolves
wall-clock time to the second, so bis now uses 1000
iterations.
Michael van Elst