Re: [Gems-users] Ruby Tool Weird Behavior


Date: Thu, 4 Dec 2008 11:02:50 -0500 (EST)
From: gbyrd@xxxxxxxx
Subject: Re: [Gems-users] Ruby Tool Weird Behavior
But the coherence protocol is still running.  So, unless you have a
protocol that grants "E" access to the first reader, then you will
necessarily incur an upgrade miss from S to M.  You can argue that this is
inappropriate for a single-processor system, and I agree.  If you
specifically want to model a single-processor system, use a different
cache protocol.

...Greg


> Hi Dan,
> I understand what you say, but I am running it for Number_of_processors =
> 1
> i.e." -p 1". Coherence miss shouldn't occur for this right? because we
> have
> just 1 processor and coherence doesn't make sense here.
>
> regards,
> Ashwath
>
> On Wed, Dec 3, 2008 at 9:25 PM, Dan Gibson <degibson@xxxxxxxx> wrote:
>
>> Looks like a coherence miss to me. Satisfying a load will get the line
>> in S
>> -- satisfying the store requires the line in M. Hence, both miss.
>>
>> Regards,
>> Dan
>>
>> On Wed, Dec 3, 2008 at 7:39 PM, Ashwath Narasimhan
>> <nashwath@xxxxxxxxx>wrote:
>>
>>> Hi,
>>> I am unable to explain the behavior of RUBY for this scenario. When I
>>> Load
>>> an address say
>>> 0x040 and store data to the same address, the RUBY tool classifies it
>>> as a
>>> MISS. I am
>>> unable to explain why this is happening. This has nothing to do with my
>>> code changes,
>>> since the tool itself lists the total number of misses separately.
>>>
>>> Specs: Direct mapped cache,64 byte block size, 64KB L1D and 64KB L1 I
>>> cache. MOSI
>>> protocol, Number of processors = 16, 1st column indicates the
>>> processor.
>>> Tester trace used.
>>>
>>>
>>> 1 0x40000000 0 LD ---> Load 0xXXXXXX00 *****1
>>> 1 0x40000001 0 LD
>>> 1 0x40000002 0 LD
>>> 1 0x40000003 0 LD
>>> 1 0x40000064 0 LD
>>> 1 0x40000128 0 LD
>>> 1 0x40000256 0 LD
>>> 1 0x40000257 0 LD
>>> 1 0x40000512 0 LD
>>> 1 0x40000900 0 LD   -----> Load 0xXXXXXX900 *****2
>>> 1 0x40000870 0 IFETCH
>>> 1 0x40000000 0 ST    ----> Should be a HIT ****1
>>> 1 0x40000901 0 ST    ----> Should be a HIT ****2
>>> _______________________________________________
>>> 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.
>>>
>>>
>>>
>>
>>
>> --
>> http://www.cs.wisc.edu/~gibson
>> <http://www.cs.wisc.edu/%7Egibson>[esc]:wq!
>>
>> _______________________________________________
>> 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→]