SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Politics : Formerly About Advanced Micro Devices -- Ignore unavailable to you. Want to Upgrade?


To: Joe NYC who wrote (108620)5/1/2000 1:25:00 PM
From: pgerassi  Read Replies (1) | Respond to of 1571272
 
Dear Jozef:

A quick way to add associativity in exclusive caches is as follows:

1) Take the size of L1 (instruction or data) and divide by the number of sets. In this case, 64K / 2 sets equals 32K per set or each set covers 512th of the memory (you need to divide the line size or 64 bytes).

2) Do the same to L2. In this case, 256K / 16 sets equals 16K per set. (or each set covers 256th of the memory)

3) Now multiply the sets in L1 till you get the size per set the same as L2. In this case, 64K / 4 sets equals 16K per set or 256th of the memory.

4) Now add the number of sets from step 3 to the number of sets in L2. In this case you get 20 way set associative equivalent. If L2 size is smaller, change the caches in step three (multiply L2 to get L1).

I hope this answers your question.

Pete



To: Joe NYC who wrote (108620)5/1/2000 1:45:00 PM
From: Ali Chen  Respond to of 1571272
 
<Cache Associativity 101>

The general introduction can be found here:

pcguide.com

Have fun.