Re: MPE 64-bit bench



On Jun 25, 5:30 pm, m...@xxxxxx (Marcel Hendrix) wrote:
Here are the results for a slightly adapted MPE benchmark
(made 64 bit clean). The source code passed to the three
compilers is the same, the hardware is also equal.

Compilers:
----------
Gforth 0.6.9-20070604 (fast, 64bit, Linux)
eForth64 7.2 (64bit, Linux)
iForth 2.0 (32bit, Linux)

System:
-------
AMD X2 3 GHz (not tuned), 2 GB DDR2, Linux.
(BIOS does not recognize CPU).

Benchmark output:
-----------------

This system's primitives using no extensions
gForth eForth iForth
Test time excluding overhead ms ms ms
DO LOOP 3 2 2
+ 4 2 2
M+ 5 1 2
* 3 2 2
/ 29 2 16
M* 14 2 2
M/ 31 1 16
/MOD 29 2 16
*/ 37 1 17
ARRAY fill 11 2 3
Total: 166 17 78

This system's O/S interface using no extensions

Test time excluding overhead ms ms ms
Win32 API: SendMessage 0 0 0
Win32 API: GetTickCount 119 117 124
Total: 119 117 124

This system's application performance using no extensions

Test time excluding overhead ms ms ms
Eratosthenes sieve 1899 Primes 344 71 61
Fibonacci recursion ( 35 -> 9227465 ) 476 161 176
Hoare's quick sort (reverse order) 231 75 44
Generate random numbers (1024 kb array) 219 49 49
LZ77 Comp. (400 kb Random Data Mem>Mem) 463 96 81
Dhrystone (integer) 375 95 65
Total: 2108 547 476

About 15% difference between eForth and iForth. Maybe that is
just because handling 32 bits is faster than handling 64.

-marcel

Does this indicate that we should consider creating an optional
replacement kernel for gForth for intel machines?

Brian Fox

.



Relevant Pages

  • MPE 64-bit bench
    ... Gforth 0.6.9-20070604 (fast, 64bit, Linux) ... iForth 2.0 ... This system's O/S interface using no extensions ... About 15% difference between eForth and iForth. ...
    (comp.lang.forth)
  • Re: paste in gforth
    ... Coos Haak wrote: ... I get a lot of error messages. ... >> Have you tried reinstalling Linux and Gforth. ...
    (comp.lang.forth)
  • Re: paste in gforth
    ... >>I use gForth 0.6.0 both with SuSE 7.1 and Cygwin under XP. ... The same under Cygwin ... > Have you tried reinstalling Linux and Gforth. ... but on the developers of the news reader. ...
    (comp.lang.forth)
  • Re: paste in gforth
    ... I get a lot of error messages. ... Have you tried reinstalling Linux and Gforth. ... M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html ...
    (comp.lang.forth)
  • paste in gforth
    ... I use gForth 0.6.0 both with SuSE 7.1 and Cygwin under XP. ... Linux, I get a lot of error messages. ...
    (comp.lang.forth)