Re: [Gems-users] question about LX_CACHE_NUM_SETS_BITS parameter


Date: Mon, 21 Apr 2008 10:01:38 -0500
From: "Mike Marty" <mike.marty@xxxxxxxxx>
Subject: Re: [Gems-users] question about LX_CACHE_NUM_SETS_BITS parameter
RubyConfig.C will take the specified L2 parameters and divide it by the number of banks per chip.  So right now, the L2 size is specified for the entire chip (spanning several shared banks).  If you prefer specifying the L2 size per bank, comment out the single line of code in RubyConfig.C.  In retrospect, doing it this way was probably a bad decision and leads to confusion.

--mike


On Sun, Apr 20, 2008 at 9:22 PM, Konstantinos Aisopos <kaisopos@xxxxxxxxx> wrote:
thanks Mike. does the same happen with L2? If yes, isn't the default
value huge?? 16MB L2 per core?

L2_CACHE_ASSOC 4
L2_CACHE_NUM_SETS_BITS 16
=> L2 size = 2^16 * 4 * 64 = 16MB

thanks,
Kostas

On Sun, Apr 20, 2008 at 10:10 PM, Mike Marty <mike.marty@xxxxxxxxx> wrote:
> If L1_CACHE_ASSOC is 4 and L1_CACHE_NUM_SETS_BITS is 8, then each L1 cache
> instance is 2^8 * 4 * 64 bytes
>
>
>
>
> On Sun, Apr 20, 2008 at 1:26 PM, Konstantinos Aisopos <kaisopos@xxxxxxxxx>
> wrote:
> >
> >
> >
> > hi all,
> >
> > I have a quick question about some configuration parameters. I
> > simulate a MESI_SCMP protocol with 64 cores on one single chip.
> >
> > my question is: if LX is L1 or L2 and we have these parameters:
> > LX_CACHE_ASSOC 4
> > LX_CACHE_NUM_SETS_BITS 8
> > do these parameters represent the "total LX cache capacity" or the
> > "per core LX cache capacity"?
> >
> > in other words is the size of LX *per core*..
> >       4 * 2^16 = 256K entries => 256K * 64bytes/line = 16MB???
> > or.. (4 * 2^16) / 64 = 4K entries  => 4K * 64bytes/line = 256KB???
> >
> > thanks,
> > -Kostas
> > _______________________________________________
> > 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.
> >
> >
>
>
> _______________________________________________
> 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.
>
>
>
_______________________________________________
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→]