[comp.sys.amiga.tech] Amiga 2500 == 5000 drystones!!

dwi@manta.NOSC.MIL (Steve Stamper) (06/12/89)

The following always gets 5000 drystones/sec with an amiga
2500 w/ 4MB of 32 bit RAM.  I am using beta versions of lattice
5.03 but 5.02 did the same I think.  NO MORE IMPUNING THE INTEGRITY
OF THESE BENCHMARKS, I WILL UPLOAD THE SOURCE AND EXECUTABLE
IF YOU NEED IT.

1) make all prototypes of the functions in drystone.c and include
   them in the file

2) compile using lc -v -w -cf -L -m2 -O -rr -dREG=register drystn

3) Now edit the file drystn.lnk and replace the mention of
   amiga.lib with lcs.lib

4) Blink with Drystn.lnk

4) ChangeTaskPri to 120 or more

5) run drystn

Relax and enjoy 5000 drystones/sec! 

-Roger Uzun

dwi@manta.NOSC.MIL (Steve Stamper) (06/12/89)

One thing I also forgot to mention, you must include
<stdlib.h>, and <String.h> hmmm also I made an inline function
for the abs() call in my string.h this may help some too, I am
not sure if there is an integer abs() call in drystn.c but if
so this helped some.
-Roger

thad@cup.portal.com (Thad P Floryan) (06/13/89)

(Roger Uzun != Steve Stamper) ???

Claim is made to post the source code to Dhrystone; send it to Bob Page and
we'll settle this once and for all.

There are at least two (2) "official" versions of the Dhrystone benchmark
that I quickly found in my Usenet archives (from over the past 3-4 years), and
I have this nagging feeling there's yet another one.

Point being: claims were made that the earlier benchmarks were flawed by their
"higher" numbers.  I believe the most recently accepted "Dhrystone" was one
posted to comp.lang late last year; I can retrieve them from tape if you're
unable to post your copy(ies).

Since I now have both Lattice and Manx, I'm not trying to pick any nits ...
... just seeking the One True Number!  :-)   :-)


Thad Floryan [ thad@cup.portal.com (OR)  ..!sun!portal!cup.portal.com!thad ]

mlelstv@immd4.informatik.uni-erlangen.de (Michael van Elst ) (06/15/89)

dwi@manta.NOSC.MIL (Steve Stamper) writes:

>The following always gets 5000 drystones/sec with an amiga
>2500 w/ 4MB of 32 bit RAM.
Is this version differnt to the one you can find on one of the
first fish disks ?

>2) compile using lc -v -w -cf -L -m2 -O -rr -dREG=register drystn
>4) ChangeTaskPri to 120 or more
I just did that, with the fish disk version.

>Relax and enjoy 5000 drystones/sec! 

Or enjoy 7250 drystones/sec on my LUCAS board.

				Michael van Elst

E-mail: UUCP: ...uunet!unido!fauern!immd4!mlelstv