Re: [Gems-users] Direct Mapped cache query


Date: Wed, 3 Dec 2008 16:48:42 -0600
From: "Derek Hower" <drh5@xxxxxxxxxxx>
Subject: Re: [Gems-users] Direct Mapped cache query
Or set g_REPLACEMENT_POLICY to LRU

On Wed, Dec 3, 2008 at 4:46 PM, Polina Dudnik <pdudnik@xxxxxxxxx> wrote:
> I suspect the assertion you are getting is in
> PseudoLRUPolicy::PseudoLRUPolicy(Index, Index)? The problem is that the
> replacement policy implemented requires set-associativity. So, what you can
> do is modify the code in PseudoLRUPolicy.h to say if associativity is one,
> then just replace. Does that make sense?
>
> On Wed, Dec 3, 2008 at 4:33 PM, Ashwath Narasimhan <nashwath@xxxxxxxxx>
> wrote:
>>
>> That is correct Polina. i am getting an assertion failure. I cannot
>> satisfy the assertion because I want to make it a direct mapped cache.Hence
>> the associativity has to be 1. And If I do this, it gives rise to assertion
>> failure. Ruby doesn't seem to allow associativity = 1. So how do configure
>> Direct Mapped cache in Ruby?
>>
>> On Wed, Dec 3, 2008 at 5:10 PM, Polina Dudnik <pdudnik@xxxxxxxxx> wrote:
>>>
>>> There are two assertions in RubyConfig.C, which performs bounds checking
>>> on parameters. Is an assertion failure the error you are getting? If so, you
>>> need to make sure that your parameters satisfy the assertion.
>>>
>>> Polina
>>>
>>> On Wed, Dec 3, 2008 at 3:51 PM, Ashwath Narasimhan <nashwath@xxxxxxxxx>
>>> wrote:
>>>>
>>>> Hi,
>>>> How can I configure RUBY as a direct mapped cache of size 64 KB? I get
>>>> an error when I declare associativity as 1 and num of set bits as 10 in
>>>> rubyconfig.defaults.
>>>>
>>>> Thank you,
>>>> regards,
>>>> Ashwath
>>>>
>>>> _______________________________________________
>>>> 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.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Polina Dudnik
>>> pdudnik@xxxxxxxxxxx
>>> http://pages.cs.wisc.edu/~pdudnik/
>>> Department of Computer Sciences
>>> University of Wisconsin-Madison
>>> 6376 Computer Sciences & Statistics Bldg
>>> 1210 West Dayton Street
>>> Madison, WI 53706-1685 USA
>>>
>>> _______________________________________________
>>> 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.
>>
>>
>
>
>
> --
> Polina Dudnik
> pdudnik@xxxxxxxxxxx
> http://pages.cs.wisc.edu/~pdudnik/
> Department of Computer Sciences
> University of Wisconsin-Madison
> 6376 Computer Sciences & Statistics Bldg
> 1210 West Dayton Street
> Madison, WI 53706-1685 USA
>
> _______________________________________________
> 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→]