* BYTEmark benchmark
@ 1997-11-28 17:00 Ronny Ranerup
1997-11-28 17:09 ` Thomas Leitner
1997-11-29 0:19 ` Volker Barthelmann
0 siblings, 2 replies; 4+ messages in thread
From: Ronny Ranerup @ 1997-11-28 17:00 UTC (permalink / raw)
Has anyone managed to compile and run the Byte Unix Benchmarks?
There is a Linux version available at http://math.vanderbilt.edu/~mayer/linux/bmark.html
but I cannot get it to run all the way through. I get a floating point error
after a while.
Could someone with a nice, new, patched gcc give it a go, and perhaps mail me the binary?
This is how far I got,
PC164LX 533Mhz
BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT : Iterations/sec.: 253.11 Index: 6.49
STRING SORT : Iterations/sec.: 27.36 Index: 12.23
BITFIELD : Iterations/sec.: 56328857.56 Index: 9.66
FP EMULATION : Iterations/sec.: 12.84 Index: 6.16
FOURIER : Iterations/sec.: 2250.55 Index: 2.56
ASSIGNMENT : Iterations/sec.: 2.50 Index: 9.51
IDEA : Iterations/sec.: 524.95 Index: 8.03
-------------------------------------------------------------------
And here are the times to beat,
Sun Enterprise 450, 300Mhz. Very satisfying to know that this one cost
us six times more than the Alpha. :)
BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT : Iterations/sec.: 135.56 Index: 3.48
STRING SORT : Iterations/sec.: 5.03 Index: 2.25
BITFIELD : Iterations/sec.: 29377088.66 Index: 5.04
FP EMULATION : Iterations/sec.: 16.21 Index: 7.78
FOURIER : Iterations/sec.: 2651.23 Index: 3.02
ASSIGNMENT : Iterations/sec.: 1.30 Index: 4.96
IDEA : Iterations/sec.: 107.80 Index: 1.65
HUFFMAN : Iterations/sec.: 150.72 Index: 4.18
NEURAL NET : Iterations/sec.: 2.35 Index: 3.77
LU DECOMPOSITION: Iterations/sec.: 75.12 Index: 3.89
...done...
===========OVERALL=============
INTEGER INDEX: 3.752
FLOATING-POINT INDEX: 3.537
(90 MHz Dell Pentium = 1.000)
===============================
-------------------------------------------------------------------
Pentium-II 300Mhz
BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
NUMERIC SORT : Iterations/sec.: 134.97 Index: 3.46
STRING SORT : Iterations/sec.: 11.52 Index: 5.15
BITFIELD : Iterations/sec.: 33971666.99 Index: 5.83
FP EMULATION : Iterations/sec.: 7.87 Index: 3.78
FOURIER : Iterations/sec.: 2843.15 Index: 3.23
ASSIGNMENT : Iterations/sec.: 1.80 Index: 6.86
IDEA : Iterations/sec.: 274.39 Index: 4.20
HUFFMAN : Iterations/sec.: 126.59 Index: 3.51
NEURAL NET : Iterations/sec.: 2.74 Index: 4.40
LU DECOMPOSITION: Iterations/sec.: 84.72 Index: 4.39
...done...
===========OVERALL=============
INTEGER INDEX: 4.537
FLOATING-POINT INDEX: 3.969
(90 MHz Dell Pentium = 1.000)
===============================
/ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BYTEmark benchmark
1997-11-28 17:00 BYTEmark benchmark Ronny Ranerup
@ 1997-11-28 17:09 ` Thomas Leitner
1997-11-29 0:19 ` Volker Barthelmann
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Leitner @ 1997-11-28 17:09 UTC (permalink / raw)
Ronny,
This is the same system, running Digital Unix 4.0b (for testing). It
beats the Sun easily and so does yours. Note that the higher numbers
are the better numbers here. My FP index is more than twice as high
as both, the Sun and the Pentium II indexes !!
cc options were: -O4 -fast -non_shared -DUNIX
Tom
--------------------------------------------------------------------
xxxxxxx: ALPHA PC164LX - Alpha 21164, 533MHz
NUMERIC SORT: Iterations/sec.: 246.388593 Index: 6.367453
STRING SORT: Iterations/sec.: 27.714822 Index: 12.182339
BITFIELD: Iterations/sec.: 61917467.684428 Index: 10.620805
FP EMULATION: Iterations/sec.: 11.779043 Index: 5.663001
FOURIER: Iterations/sec.: 12575.187393 Index: 14.238855
ASSIGNMENT: Iterations/sec.: 2.544161 Index: 9.693151
IDEA: Iterations/sec.: 511.834580 Index: 7.831006
HUFFMAN: Iterations/sec.: 301.522689 Index: 8.379122
NEURAL NET: Iterations/sec.: 3.944989 Index: 6.675108
LU DECOMPOSITION: Iterations/sec.: 170.797530 Index: 10.083689
...done...
===========OVERALL============
INTEGER INDEX: 8.406690
FLOATING-POINT INDEX: 9.859185
(90 MHz Dell Pentium = 1.00)
==============================
--------------------------------------------------------------------
On Fri, 28 Nov 1997, Ronny Ranerup wrote:
> Has anyone managed to compile and run the Byte Unix Benchmarks?
>
> There is a Linux version available at http://math.vanderbilt.edu/~mayer/linux/bmark.html
> but I cannot get it to run all the way through. I get a floating point error
> after a while.
>
> Could someone with a nice, new, patched gcc give it a go, and perhaps mail me the binary?
>
> This is how far I got,
>
> PC164LX 533Mhz
>
> BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
> NUMERIC SORT : Iterations/sec.: 253.11 Index: 6.49
> STRING SORT : Iterations/sec.: 27.36 Index: 12.23
> BITFIELD : Iterations/sec.: 56328857.56 Index: 9.66
> FP EMULATION : Iterations/sec.: 12.84 Index: 6.16
> FOURIER : Iterations/sec.: 2250.55 Index: 2.56
> ASSIGNMENT : Iterations/sec.: 2.50 Index: 9.51
> IDEA : Iterations/sec.: 524.95 Index: 8.03
>
> -------------------------------------------------------------------
>
> And here are the times to beat,
>
> Sun Enterprise 450, 300Mhz. Very satisfying to know that this one cost
> us six times more than the Alpha. :)
>
> BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
> NUMERIC SORT : Iterations/sec.: 135.56 Index: 3.48
> STRING SORT : Iterations/sec.: 5.03 Index: 2.25
> BITFIELD : Iterations/sec.: 29377088.66 Index: 5.04
> FP EMULATION : Iterations/sec.: 16.21 Index: 7.78
> FOURIER : Iterations/sec.: 2651.23 Index: 3.02
> ASSIGNMENT : Iterations/sec.: 1.30 Index: 4.96
> IDEA : Iterations/sec.: 107.80 Index: 1.65
> HUFFMAN : Iterations/sec.: 150.72 Index: 4.18
> NEURAL NET : Iterations/sec.: 2.35 Index: 3.77
> LU DECOMPOSITION: Iterations/sec.: 75.12 Index: 3.89
> ...done...
> ===========OVERALL=============
> INTEGER INDEX: 3.752
> FLOATING-POINT INDEX: 3.537
> (90 MHz Dell Pentium = 1.000)
> ===============================
>
> -------------------------------------------------------------------
>
> Pentium-II 300Mhz
>
> BYTEmark (tm) Native Mode Benchmark ver. 2 (10/95)
> NUMERIC SORT : Iterations/sec.: 134.97 Index: 3.46
> STRING SORT : Iterations/sec.: 11.52 Index: 5.15
> BITFIELD : Iterations/sec.: 33971666.99 Index: 5.83
> FP EMULATION : Iterations/sec.: 7.87 Index: 3.78
> FOURIER : Iterations/sec.: 2843.15 Index: 3.23
> ASSIGNMENT : Iterations/sec.: 1.80 Index: 6.86
> IDEA : Iterations/sec.: 274.39 Index: 4.20
> HUFFMAN : Iterations/sec.: 126.59 Index: 3.51
> NEURAL NET : Iterations/sec.: 2.74 Index: 4.40
> LU DECOMPOSITION: Iterations/sec.: 84.72 Index: 4.39
> ...done...
> ===========OVERALL=============
> INTEGER INDEX: 4.537
> FLOATING-POINT INDEX: 3.969
> (90 MHz Dell Pentium = 1.000)
> ===============================
>
> /ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
Before we have the paperless office, we have the paperless toilet!
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: BYTEmark benchmark
1997-11-28 17:00 BYTEmark benchmark Ronny Ranerup
1997-11-28 17:09 ` Thomas Leitner
@ 1997-11-29 0:19 ` Volker Barthelmann
1 sibling, 0 replies; 4+ messages in thread
From: Volker Barthelmann @ 1997-11-29 0:19 UTC (permalink / raw)
On Fri, 28 Nov 1997, Ronny Ranerup wrote:
> Has anyone managed to compile and run the Byte Unix Benchmarks?
Yes.
> There is a Linux version available at http://math.vanderbilt.edu/~mayer/linux/bmark.html
> but I cannot get it to run all the way through. I get a floating point error
> after a while.
Look at the following code from the beginning of DoHuffIteration in
nbench1.c:
/*
** Calculate the frequency of each byte value. Store the
** results in what will become the "leaves" of the
** Huffman tree. Interior nodes will be built in those
** nodes greater than node #255.
*/
for(i=0;i<256;i++)
{
hufftree[i].freq=(float)0.0;
hufftree[i].c=(unsigned char)i;
}
for(j=0;j<arraysize;j++)
hufftree[plaintext[j]].freq+=(float)1.0;
for(i=0;i<256;i++)
if(hufftree[i].freq != (float)0.0)
hufftree[i].freq/=(float)arraysize;
/*
** Build the huffman tree. First clear all the parent
** pointers and left/right pointers. Also, discard all
** nodes that have a frequency of true 0.
*/
for(i=0;i<512;i++)
{ if(hufftree[i].freq==(float)0.0)
hufftree[i].parent=EXCLUDED;
else
hufftree[i].parent=hufftree[i].left=hufftree[i].right=-1;
}
Only the first 256 entries are set to 0.0, but the first 512 entries are
tested. Replacing the 256 in the first loop by 512 should fix that
problem.
As the uninitialized values are not only read and ignored but even affect
further calculations the results probably can't be trusted - even on
systems that don't trap reading of uninitialized data.
Comparing the results on Linux with the results on NT or DU with DEC's
compilers yields much worse floating-point-performance - at least for
bytemarks.
Volker
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BYTEmark benchmark
@ 1997-12-04 12:18 Uncle George
0 siblings, 0 replies; 4+ messages in thread
From: Uncle George @ 1997-12-04 12:18 UTC (permalink / raw)
u gonna let byte know? gee a whole new set of tests
Volker Barthelmann wrote:
> On Fri, 28 Nov 1997, Ronny Ranerup wrote:
>
> > Has anyone managed to compile and run the Byte Unix Benchmarks?
>
> Yes.
>
> > There is a Linux version available at http://math.vanderbilt.edu/~mayer/linux/bmark.html
> > but I cannot get it to run all the way through. I get a floating point error
> > after a while.
>
> Look at the following code from the beginning of DoHuffIteration in
> nbench1.c:
>
> /*
> ** Calculate the frequency of each byte value. Store the
> ** results in what will become the "leaves" of the
> ** Huffman tree. Interior nodes will be built in those
> ** nodes greater than node #255.
> */
> for(i=0;i<256;i++)
> {
> hufftree[i].freq=(float)0.0;
> hufftree[i].c=(unsigned char)i;
> }
>
> for(j=0;j<arraysize;j++)
> hufftree[plaintext[j]].freq+=(float)1.0;
>
> for(i=0;i<256;i++)
> if(hufftree[i].freq != (float)0.0)
> hufftree[i].freq/=(float)arraysize;
>
> /*
> ** Build the huffman tree. First clear all the parent
> ** pointers and left/right pointers. Also, discard all
> ** nodes that have a frequency of true 0.
> */
> for(i=0;i<512;i++)
> { if(hufftree[i].freq==(float)0.0)
> hufftree[i].parent=EXCLUDED;
> else
> hufftree[i].parent=hufftree[i].left=hufftree[i].right=-1;
> }
>
> Only the first 256 entries are set to 0.0, but the first 512 entries are
> tested. Replacing the 256 in the first loop by 512 should fix that
> problem.
>
> As the uninitialized values are not only read and ignored but even affect
> further calculations the results probably can't be trusted - even on
> systems that don't trap reading of uninitialized data.
>
> Comparing the results on Linux with the results on NT or DU with DEC's
> compilers yields much worse floating-point-performance - at least for
> bytemarks.
>
> Volker
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-12-04 12:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-28 17:00 BYTEmark benchmark Ronny Ranerup
1997-11-28 17:09 ` Thomas Leitner
1997-11-29 0:19 ` Volker Barthelmann
-- strict thread matches above, loose matches on Subject: below --
1997-12-04 12:18 Uncle George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox