[gem5-users] Bypassing blocks to LLC

2019-05-02 Thread Richard Brown
Hello everyone,

I am PhD student and new with gem5, I have a multicore system with 2
private cache levels (DL1, IL1 and L2) and 1 shared L3/LLC. I am using
classic memory system, I know this model is non-inclusive, non-exclusive.

For my research I need to bypass some blocks from L3, I mean when some
blocks are read I want to write them to L1 and L2 and not write them in L3,
and when some blocks are evicted from L2, if they are dirty, I want to
write them to Main Memory and not to L3.

Is it possible to bypass some blocks from L3 reading the accesses messages?
I think I just need to change cache.cc, is it right?

I really apreciate your help, thanks in advance.
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Bypassing blocks to LLC

2019-05-10 Thread Abhishek Singh
Hi Richard,

What you can do is, wherever your desired block reaches at L3 level in the
form of a packet that is in “recvTimingReq” function, instead of writing in
L3. Create a write-back queue entry at L3 for that pkt and then it should
automatically go to Main memory.

On Thu, May 2, 2019 at 7:08 PM Richard Brown 
wrote:

> Hello everyone,
>
> I am PhD student and new with gem5, I have a multicore system with 2
> private cache levels (DL1, IL1 and L2) and 1 shared L3/LLC. I am using
> classic memory system, I know this model is non-inclusive, non-exclusive.
>
> For my research I need to bypass some blocks from L3, I mean when some
> blocks are read I want to write them to L1 and L2 and not write them in L3,
> and when some blocks are evicted from L2, if they are dirty, I want to
> write them to Main Memory and not to L3.
>
> Is it possible to bypass some blocks from L3 reading the accesses
> messages? I think I just need to change cache.cc, is it right?
>
> I really apreciate your help, thanks in advance.
>
> ___
> 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