Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Subject: Re: 21064A D-cache is 8KB under Linux
Date: 1999/03/12	[thread overview]
Message-ID: <7cbee1$kl4$1@news.tuwien.ac.at> (raw)
In-Reply-To: 7c8oqm$a9r$1@news.tuwien.ac.at

In article <7c8oqm$a9r$1@news.tuwien.ac.at>,
 anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> In article <7c6ps1$up3$1@prince.dataforce.net>,
>  Solar Designer <solar@cannabis.dataforce.net> writes:
> > Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> > > Would simply setting the DC_16K bit be enough?  I doubt it; OSs
> > > typically need special magic to deal with virtually-indexed caches.

Ok, I have tried to think up a case where the virtually indexed cache
could be a problem; I wrote a program to exercise this case
(http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/mapcheck.c), and
it turns out that everything works well.  I guess that the cache
consistency issues are handled in hardware. I just wonder why there is
an 8KB mode at all.

So, I think it is safe to switch the D-cache to 16K.  You are invited
to try it (all the material is available at
http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/), and report
results to me.

IMO this should go into the Linux startup code for EV45-based Alphas.
Does anyone know whom I should contact for these kernel patches (the
MAINTAINERS file does not list an Alpha maintainer).

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html



      parent reply	other threads:[~1999-03-12  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
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             ` Anton Ertl [this message]
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