Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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
* 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

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-12-04 12:18 BYTEmark benchmark Uncle George
  -- strict thread matches above, loose matches on Subject: below --
1997-11-28 17:00 Ronny Ranerup
1997-11-28 17:09 ` Thomas Leitner
1997-11-29  0:19 ` Volker Barthelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox