From: Sven Severin (severin@kom.sietec.de)
Date: 09/03/93


From: severin@kom.sietec.de (Sven Severin)
Subject: Re: memtest.c (was Re: Specmarks for Linux ?)
Date: 3 Sep 1993 07:44:20 GMT

Matthew Hannigan (matth@extro.ucc.su.OZ.AU) wrote:
: austin@eecom.gatech.edu (Mark D. Austin) writes:

: >Greetings,

: >Of course it depends on the machine, but has anyone heard of
: >any benchmarks for Linux ? Someone was telling that with the
: >right hardware, it is almost as fast as a Sun Sparc II. Is this
: >right?

: Try much fast than a sparc2, for some things at least.

: I wrote a little program to test memory copies, which copies
: a 4Mb chunk 64 times. It takes 54s on a mildly loaded sparc2
: and about 10s on a very lightly loaded linux dx2/66.

: i.e. a $4000 machine way outperforming a $25000 machine :-)

It will take only 14.3s on a sparc10.

gtime ./memtest 4194304 64
14.3 real 12.8 user 0.7 sys
12.83user 0.76system 0:14.40elapsed 94%CPU (0text+16166data 8396max)k
0inputs+0outputs (0major+140minor)pagefaults 0swaps

: Of course, all benchmarks are lies and this program particularly
: so.

: Here's the source.
: Invoke as:
: time ./memtest 4194304 64

: Please email me comments on this program if any.
: It's from an idea of Piercarlo Grandi's;
: I've reproduced some mail from him on this subject: