Re: [Gems-users] L2_CACHE_NUM_SET_BITS


Date: Tue, 18 Dec 2007 13:26:19 -0600
From: "Mike Marty" <mike.marty@xxxxxxxxx>
Subject: Re: [Gems-users] L2_CACHE_NUM_SET_BITS
it divides the specified L2 cache capacity by the number of banks.

if you want to specify it the other way, then just remove that line of code

--mike


On Dec 18, 2007 1:24 PM, Dave Z. < zhu_dave@xxxxxxxxx> wrote:
Hi,


I'm trying to configure a CMP system with L2_CACHE_ASSOC: 16 and L2_CACHE_NUM_SET_BITS:10. This should give me 1MB L2 caches, but due to the following operation, L2_CACHE_NUM_SET_BITS becomes 9 and hence the L2 cache size becomes 512KB.


L2_CACHE_NUM_SETS_BITS = L2_CACHE_NUM_SETS_BITS - log_int(g_NUM_L2_BANKS_PER_CHIP);


What is the reason of doing this operation? How can I set my L2 cache size to 1MB?


Thank you,


Dave



     ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.   http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
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→]