Re: [Gems-users] Cache sizes in CMP


Date: Fri, 23 Mar 2007 17:49:52 +0100
From: "Daniel Sánchez Pedreño" <sanatox@xxxxxxxxx>
Subject: Re: [Gems-users] Cache sizes in CMP
ok, perfect.

Thanks Mike!!!!

On 3/23/07, Mike Marty <mikem@xxxxxxxxxxx> wrote:

>
> L2Cache_L2cacheMemory numberPerChip: 4
> Cache config: L2Cache_0_L2
>  cache_associativity: 4
>  num_cache_sets_bits: 9
>  num_cache_sets: 512
>  cache_set_size_bytes: 32768
>  cache_set_size_Kbytes: 32
>  cache_set_size_Mbytes: 0.03125
>  cache_size_bytes: 131072
>  cache_size_Kbytes: 128
>  cache_size_Mbytes: 0.125
>
>
> i'm simulating a CMP with 4 cores per chip. My question is, what is the
> total cache size? 128 KB or 128 KB per core (512 KB in total)?
>

The way it is currently coded, we specify the total cache size with the
L2_CACHE_NUM_SETS_BITS (and associativity), but in RubyConfig.C , this is
divided by the number of L2 banks per chip.

  L2_CACHE_NUM_SETS_BITS = L2_CACHE_NUM_SETS_BITS -
log_int(g_NUM_L2_BANKS_PER_CHIP);

Thus you should be simulating 512 KB total


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.




--
http://sanatox.es
[← Prev in Thread] Current Thread [Next in Thread→]