🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.arch
Article #3010

Cache Size (was MC68030 Cache Organization)

#3010
From: josh
Date: Mon, 13 Oct 1986 23:07
33 lines
2665 bytes
In article <882@Shasta.STANFORD.EDU> simoni@Shasta.UUCP (Richard Simoni) writes:
>This doesn't necessarily follow.  Address translation is often done in
>parallel with cache access by using only the low-order bits of the virtual
>address (i.e., the bits that indicate the offset within the page) to address
>the cache.  This is possible because these offset bits do not change in
>the virtual-to-physical mapping.  When the cache access is complete, the
>tag (which is a physical page number) is compared with the result of the
>address translation (which happened in parallel with the cache access) to
>see if a hit occurred in the cache.
>
>The problem with this scheme is that it can be difficult to build a large
>cache since the page size limits the number of bits that can be used to
>address the cache.  The size of the cache can be increased by making the
>cache set-associative and/or by increasing the page size (thereby
>increasing the number of bits that can address the cache).  ...
 
The largest cache that can be implemented in this way is the product
of the degree of set associativity and the page size.  Larger caches
can be implemented but you will sometimes have to take some extra
cycles if you've "guessed" wrong (by using some of the virtual
address bits before translation) about where things are.  In the
IBM 3090, the page size is 4K, the degree of set associativity is
4 and the cache size is 64K.  Therefore the problem arises and
is addressed (oops, sorry 'bout that) by comparing all 16 (!) real
address tags and taking some small amount of extra time when the 
thing you want isn't exactly where you expected it to be.  See the
article on the 3090 in a recent issue of the IBM Systems Journal
by Stu Tucker (Vol. 25, No. 1, 1986, pp. 4-19 "The IBM 3090 System:
an Overview").
-- 

	Josh Knight, IBM T.J. Watson Research
 josh@ibm.com, josh@yktvmh.bitnet,  ...!philabs!polaris!josh
Technical Details
Message-ID: <744@polaris.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-spam!nike!ucbcad!ucbvax!decvax!decwrl!pyramid!prls!philabs!polaris!josh
References: <5100146@ccvaxa> <882@Shasta.STANFORD.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-spam!nike!ucbcad!ucbvax!decvax!decwrl!pyramid!prls!philabs!polaris!josh
From: josh@polaris.UUCP
Newsgroups: net.arch
Subject: Cache Size (was MC68030 Cache Organization)
Message-ID: <744@polaris.UUCP>
Date: Mon, 13-Oct-86 19:07:35 EDT
Article-I.D.: polaris.744
Posted: Mon Oct 13 19:07:35 1986
Date-Received: Wed, 15-Oct-86 20:16:55 EDT
References: <5100146@ccvaxa> <882@Shasta.STANFORD.EDU>
Reply-To: josh@polaris.UUCP (Josh Knight)
Organization: IBM Research, Yorktown Heights, N.Y.
Lines: 33
Keywords: page size, cache size, set associative
Summary: You can have a big cache and use it real-ly too