Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Eric Smith <eric@goonsquad.spies.com>
Subject: Re: First Alpha machine
Date: Tue, 4 Jun 96 12:39 PDT	[thread overview]
Message-ID: <4ba8a742d14b4a3c2a9dec6273cecf0a.axp-list@archive.invalid> (raw)

I wrote:
> The reason for a hierarchy of cache is that it is impractical to make
> (and interconnect) a very large amount of very fast memory.

Vareck Bostrom <bostrov@teleport.com> wrote:
> No, you may want differing cache policies across differing cache levels.
> Perhaps a fully assocative small L1 cache, and a 4-way assocative L2 cache,
> and an even larger 2-way or direct mapped L3 cache. You don't want to spend
> a microsecond searching tag every time you want to see if somethings in your
> L1 cache. 

Ah, but the reason you want differing cache policies is (as you suggest in
your last sentence) *because* you can't build big, fast caches with the
policies you want.

No high-end microprocessors that I am familiar with implement fully associative
caches at any level, because they would take too many transistors and be
slower.  Even a set associative cache is inherently slower than a
direct-mapped.  Given a particular transistor budget, it may make more sense
to have separate I&D direct-mapped L1 caches and a unified 3-way
set-associative L2 cache (i.e., the 21164 approach).  The same transistors
could have instead been spent making the L1 cache bigger or making it
set-associative, but either approach would have increased the hit rate at the
cost of increasing the cycle time.

Cheers,
Eric

             reply	other threads:[~1996-06-04 19:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-04 19:39 Eric Smith [this message]
     [not found] <Pine.BSD/.3.91.960603211714.4690B-100000@nile.intac.com>
1996-06-04 18:53 ` First Alpha machine Roman Gollent
  -- strict thread matches above, loose matches on Subject: below --
1996-06-04  9:41 Vareck Bostrom
1996-06-04  7:30 Eric Smith
1996-06-04  4:30 Greg Morrison
1996-06-04  3:16 Donnie Barnes
1996-06-04  3:12 Vareck Bostrom
1996-06-04  2:56 Donnie Barnes
1996-06-04  0:39 Eric Smith
1996-06-03 23:33 Vareck Bostrom
1996-06-04  0:44 ` Berndt Josef Wulf
1996-06-04  1:24   ` Brian E.W. Wood
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