Re: [Gems-users] The size of L2 Cache


Date: Sat, 4 Mar 2006 09:37:38 -0600 (CST)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] The size of L2 Cache
> Hi Min and Michelle,
>
>       Thanks for your help.
>       I want to get 2M bytes L2 cache. Becaue DATA_BLOCK_BITS=6 and
> L2_CACHE_ASSOC=4, L2_CACHE_NUM_SETS_BITS should be set to 13. Is that right?
>

2^13 sets * (4 blocks/set) * (64 bytes/block) = 2 MB

Yes, it is correct.

Note for CMP protocols, the L2 cache size is specified for the entire
chip (not per-bank which is what the stats will show)
[← Prev in Thread] Current Thread [Next in Thread→]