Hi, 
Thanks for the inputs. It is working with the normal LRU cache by making it FA. 
I am not sure what the issue with FALRU is?

Siddharth 

----- Original Message -----
From: "Korey Sewell" <[email protected]>
To: "M5 users mailing list" <[email protected]>
Sent: Friday, June 5, 2009 6:12:05 AM GMT -08:00 US/Canada Pacific
Subject: Re: [m5-users] Fully associative

I remember setting the cache to be FA associative in this manner in
the past, but I probably didnt do it for that large a # of blocks.

Anyway, my idea would be for that if the FALRU isnt working, why not
edit the cache_builder code to just use the regular LRU cache? That
code is updated and there should be know difference between using say
1 set with 8192 ways or 2 sets with 4098 ways.


On Thu, Jun 4, 2009 at 4:36 PM, Siddharth Gupta<[email protected]> wrote:
> Hi,
> When i set my associativity = l2 size/block size (in my case L2 is 512k and 
> block is 64 so assoc is 8192) I get segmentation fault.
> However assoc of 4096 works. So i am not able to make it fully associative.
>
> I don't think I specifically need to change anything else. numSets in the 
> builder code gets set to 1 according to the formula above.
>
> Siddharth
>
> ----- Original Message -----
> From: "nathan binkert" <[email protected]>
> To: "M5 users mailing list" <[email protected]>
> Sent: Thursday, June 4, 2009 10:25:37 AM GMT -08:00 US/Canada Pacific
> Subject: Re: [m5-users] Fully associative
>
> Just to be clear.  You have to set the associativity to the number of
> blocks *and* the number of sets to 1.  (Looking at the cache builder
> code  it's the numSets == 1 that selects the FALRU cache).
>
>  Nate
>
> On Thu, Jun 4, 2009 at 10:02 AM, Lisa Hsu <[email protected]> wrote:
>> You can set the associativity of the cache to = number of blocks in the
>> cache.
>> Lisa
>>
>> On Wed, Jun 3, 2009 at 4:46 PM, Siddharth Gupta <[email protected]>
>> wrote:
>>>
>>> Hi,
>>>
>>> How can I set the L2 cache to be fully associative?
>>>
>>> Thanks,
>>> Siddharth
>>> _______________________________________________
>>> m5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>>>
>>
>>
>> _______________________________________________
>> m5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>



-- 
- Korey
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to