Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 6 is looking pretty good



On 17/10/12 11:10 AM, David Brownlee wrote:
On 17 October 2012 13:34, Toby Thain<toby%telegraphics.com.au@localhost>  wrote:
On 17/10/12 6:41 AM, John Klos wrote:
...
When I ran dhrystone on netbsd-5 earlier this year, though, I got 2164
which is almost 1.25 times faster. What's also interesting is that the
standard number given for dhrystones per second for the VAX 11/780 is
exactly 1757, too. Does this mean that the inefficiencies of new
toolchains has brought a 25 MHz 1991 machine down to the speed of a 5
MHz 1977 machine?


That said, I have a 5 MHz MicroVAX II here running NetBSD 1.4.1 if you
wanted to confirm the latter number. :-)

Might be interesting to see the results from a staticly linked binary
- ideally also a staticly linked NetBSD 1.4.1 binary run on 1.4.1 and
later versions :)


Here are some figures from runs I made just now of version 2.1 (default dynamic linkage):

git://github.com/Keith-S-Thompson/dhrystone.git

v2.1

Running on MicroVAX II (KA630)

$ uname -a
NetBSD mvii 1.4.1 NetBSD 1.4.1 (GENERIC) #13: Fri Aug 13 05:35:08 PDT 1999 root@futplex:/usr/src/sys/arch/vax/compile/GENERIC vax
$ cc -v
Using builtin specs.
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)


$ make
cc dhrystone.c -o dhrystone
Running dhrystone (Level 1 optimization, without registers)
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1260 dhrystones/second
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1259 dhrystones/second
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1261 dhrystones/second

cc -DREG=register dhrystone.c -o dhrystoneR
Running dhrystone (Level 1 optimization, with registers)
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1342 dhrystones/second
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1343 dhrystones/second
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1341 dhrystones/second

cc -O dhrystone.c -o dhrystoneO
Running dhrystone (Level 2 optimization, without registers)
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1873 dhrystones/second
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1872 dhrystones/second

cc -O -DREG=register dhrystone.c -o dhrystoneRO
Running dhrystone (Level 2 optimization, with registers)
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1873 dhrystones/second
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second

https://gist.github.com/3916054


Home | Main Index | Thread Index | Old Index