Good point... the blocks do get inserted in the intermediate caches on the
way up.  Not enough coffee before answering.  Perhaps Roberto is checking
insertions in the wrong place?

Steve


On Fri, Jun 21, 2013 at 8:11 AM, biswabandan panda <biswa....@gmail.com>wrote:

> @Roberto - you could use the ContextId to distinguish the writebacks from
> the demand misses. Writebacks have contextId -1.
>
> @Steve - gem5 hierarchy is non-inclusive but the explanation you gave was
> for exclusive cache hierarchy. In a non-inclusive cache demand responses go
> through all the levels of cache.
>
> You can refer Achieving Non-Inclusive Cache Performance With Inclusive
> Caches -- Temporal Locality Aware (TLA) Cache Management 
> Policies"<http://www.jaleels.org/ajaleel/publications/micro2010-tla.pdf>,
> for clarification
>
>
> On Fri, Jun 21, 2013 at 8:10 PM, Steve Reinhardt <ste...@gmail.com> wrote:
>
>> In the classic (non-Ruby) memory system, the cache hierarchy is
>> non-inclusive, so demand misses go straight to the L1 cache.  Blocks only
>> get inserted in levels other than the L1 due to writebacks (and possibly
>> prefetches, if you have a prefetcher associated with that level of cache).
>>
>> Steve
>>
>>
>> On Fri, Jun 21, 2013 at 6:03 AM, Roberto Rodríguez-Rodríguez <
>> roba...@gmail.com> wrote:
>>
>>> Hello everyone,
>>>
>>> I am working with cache replacement policies, in the LLC I need to
>>> distinguish between an insertion because of a writeback or because of a
>>> miss in all cache levels.
>>>
>>> I thought it could be done using the packet command type (pkt->cmd ==
>>> MemCmd::Writeback). I did it but all the insertions are writebacks,
>>> there is not an insertion because of a miss in all levels, I tested it with
>>> 1 billion instructions of the spec2006.
>>>
>>>
>>> Best Regards
>>>
>>>              Roberto
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
>
> *thanks&regards
> *
> *BISWABANDAN*
> http://www.cse.iitm.ac.in/~biswa/
>
> “We might fall down, but we will never lay down. We might not be the best,
> but we will beat the best! We might not be at the top, but we will rise.”
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to