Re: [Gems-users] cache size calculation


Date: Sun, 12 Apr 2009 22:05:12 -0400
From: Abdullah Kayi <apokayi@xxxxxxxxxxxxxx>
Subject: Re: [Gems-users] cache size calculation
Shoaib Altaf wrote:
Hi, Are there any other parameters to be specified while designing the size of a cache other then the following LI_CACHE_ASSOC: 4
L1_CACHE_NUM_SETS_BITS :8
How these configurations make the size of the L1 cache to be 64 KB in the statistics below.
It should be something like this:

2^8 = 256 is the # of sets

Cache Size = (# of sets) * (# of blocks / set) * (# of bytes / block)
Cache Size = 256 * 4 (cache associativity) * 64 (or cache line size) = 64 KB

~ AK
num_cache_set: 256
cache_size_Kbytes: 64

Muhammad Shoaib
------------------------------------------------------------------------

_______________________________________________
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.


[← Prev in Thread] Current Thread [Next in Thread→]