From: Matthew Hannigan (matth@extro.ucc.su.OZ.AU)
Date: 09/14/93


From: matth@extro.ucc.su.OZ.AU (Matthew Hannigan)
Subject: Re: memtest.c (was Re: Specmarks for Linux ?)
Date: Tue, 14 Sep 1993 07:58:42 GMT

root@umibox.hanse.de (Bernd Meyer) writes:
>matth@extro.ucc.su.OZ.AU (Matthew Hannigan) writes:
>>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.

>Linux seems to be cheating somehow - this took only 14 seconds on my
>machine, without accessing swap. And my machine only has 8MB of Ram, so
>there is no way to have both arrays in at the same time. Maybe linux just
>shares the pages with "copy on write"?

I think if this was the case, it would be even faster.
Maybe the performance comes from the large cache on many
PCs. (256k on mine).

I haven't tried it with the cache turned off.

-Matt