Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Solar Designer <solar@cannabis.dataforce.net>
Subject: Re: lmbench on Linux and DU, explanations welcome
Date: 1999/03/10	[thread overview]
Message-ID: <7c50a1$btd$1@prince.dataforce.net> (raw)
In-Reply-To: 7c36ao$fnm$1@news.tuwien.ac.at

Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> I have run lmbench 1.1 on the same motherboard (a Cabriolet with a
> 300MHz 21064a and 2MB L2 cache) under both Digital Unix and Linux.
> You can see the results at
> http://www.complang.tuwien.ac.at/anton/a2a3.ps.gz.  An HTML page about
> this is available at
> http://www.complang.tuwien.ac.at/anton/lmbench-linux-vs-du.html

Thanks for the interesting results.

> There are interesting differences between the results for the two OSs.
> I think the differences for the 128K-8M range can be explained by
> different page allocation algorithms.

> However, it seems unlikely to me that this is the explanation for the
> differences in the 8K-16K range. So, my questions are:

Isn't there a 50% chance of the two pages (or are there three, if the
array isn't page-aligned?) getting mapped onto physical addresses
corresponding to the same half of the cache?

> Or is there another explanation for this result?

While I don't have a good explanation, let me offer a simple benchmark
I did a while ago:

ftp://ftp.dataforce.net/pub/solar/membench.c

It has assembly code for Alpha, x86, and x86 with MMX, as well as a pure
C version. Requires GCC. The simple assembly loops should make it more
deterministic, which in turn should make analyzing its results easier.

P.S. Finally an opportunity to thank you for publishing the GCC "Labels
as Values" optimization for virtual machines that I've made use of. :-)
Thanks!

-- 
/sd



  reply	other threads:[~1999-03-10  5:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-09  5:00 lmbench on Linux and DU, explanations welcome Anton Ertl
1999-03-10  5:00 ` Solar Designer [this message]
1999-03-10  5:00   ` Anton Ertl
1999-03-10  5:00     ` Solar Designer
1999-03-10  5:00       ` Anton Ertl
1999-03-10  5:00         ` Solar Designer
1999-03-11  5:00           ` 21064A D-cache is *KB under Linux (was: lmbench on Linux and DU...) Anton Ertl
1999-03-12  5:00             ` Richard Rogers
1999-03-16  5:00               ` Anton Ertl
1999-03-23  5:00                 ` 21064A D-cache is 8KB " Anton Ertl
1999-03-12  5:00             ` 21064A D-cache is 8KB under Linux Anton Ertl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox