Not yet unfortunately. If you turn off the prefetcher, does it still happen? Can you use gdb to step through the entire call chain and see how the cache blocks itself?
Thanks, Ali On 20.06.2012 10:31, Nathanaël Prémillieu wrote: > Any new insights on what happens? > > Le 12/06/2012 16:20, Nathanaël Prémillieu a écrit : > >> Ok, my bad. The new trace: http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.deferredtime.gz [21]The code look like that now: // if we have a response packet waiting we have to start with that if (deferredPacketReady()) { // use the normal approach from the timing port trySendTiming(); DPRINTF(Cache, "Got deferred packet readyn"); } else { DPRINTF(Cache, "Deferred packet is not ready (time: %d)n", deferredPacketReadyTime()); // check for request packets (requests & writebacks) PacketPtr pkt = cache.getTimingPacket(); if (pkt == NULL) { // can happen if e.g. we attempt a writeback and fail, but // before the retry, the writeback is eliminated because // we snoop another cache's ReadEx. waitingOnRetry = false; DPRINTF(Cache, "Deferred packet is nulln"); Nathanaël Le 12/06/2012 14:22, Andreas Hansson a écrit : >> >>> Thanks. Actually I was thinking of the other branch, i.e. have the ReadyTime printed in the else part to find out if something is waiting but not ready. Andreas -----Original Message----- From: gem5-users-boun...@gem5.org [13] [mailto:gem5-users-boun...@gem5.org [14]] On Behalf Of Nathanaël Prémillieu Sent: 12 June 2012 12:50 To: gem5-users@gem5.org [15] Subject: Re: [gem5-users] Bpred: RAS maybe not getting correctly squashed (in some case) A new trace with the deferredPacketReadyTime() information: http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.withtime.gz [16]The DPRINTF is now DPRINTF(Cache, "Got deferred packet ready (time: %d)n", deferredPacketReadyTime()); Nathanaël Le 12/06/2012 10:49, Andreas Hansson a écrit : >>> >>>> It seems there is no response waiting (or at least not ready). Is there any chance you could also add a deferredPacketReadyTime() to the DPRINTF just to find out if there is actually something waiting (and just not ready)? Andreas -----Original Message----- From: gem5-users-boun...@gem5.org [5] [mailto:gem5-users-boun...@gem5.org [6]] On Behalf Of Nathanaël Prémillieu Sent: 11 June 2012 21:59 To: gem5-users@gem5.org [7] Subject: Re: [gem5-users] Bpred: RAS maybe not getting correctly squashed (in some case) Here is a new trace with more output before and after: http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.gz [8]The DPRINT statement is DPRINTF(Cache, "Got deferred packet readyn"); Nathanaël Le 11/06/2012 18:33, Nathanaël Prémillieu a écrit : >>>> >>>>> I use the arm_detailed cpu model with no modification to the cpu configuration. Here is the option I give to the se.py script: --cpu-type=arm_detailed --caches --l2cache --checkpoint-dir=/temp_dd/alf_2/npremill/spec2006/checkpoints/base/445.gobmk/cpt.gobmk.ref.score2 --checkpoint-restore=200875000000 --at-instruction -m 1000000 -W 25000000 --standard-switch -c /local/npremill/test_gen3.445.gobmk.score2.14.2009/gobmk_base.armv7_nothumb-gcc --input=score2.tst -o "--quiet --mode gtp" --output=score2.out --errout=score2.err The only modification I have made to the se.py script is to have a physical memory of 2048MB instead of 512MB. I have put the DPRINT statement in the code. I will send the trace output once the run is done. Le 11/06/2012 18:06, Ali Saidi a écrit : >>>>> >>>>>> Well, the good news is that it should'n be too hard to debug as it's just looping and not making any progress. The bad news is I can only make some guesses from the trace. It appears as though the L2 cache is blocked (out of MSHRs). At least some of these responses are coming from the L1 cache (responses to prefetcher requests that hit in the L1 icache). However, for reasons I'm not sure about the L1 seems to be sending a demand request and not the responses. That isn't supposed to happen. How many MSHRs does your L2 have? Can you put a DPRINT in the cache and see if you get into the deferredPacketReady if statement? if (deferredPacketReady()) { // use the normal approach from the timing port trySendTiming(); } else { Thanks, Ali On 11.06.2012 11:06, Nathanaël Prémillieu wrote: >>>>>> >>>>>>> The trace continues with the same lines again and again. I have waited for the simulator to finish for more than one day but it is in this infinite loop retrying to do the access. Nathanaël >>>>>> _______________________________________________ gem5-users mailing list gem5-users@gem5.org [1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2] >>>>> _______________________________________________ gem5-users mailing list gem5-users@gem5.org [3] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [4] >>>> _______________________________________________ gem5-users mailing list gem5-users@gem5.org [9] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [10] -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-users@gem5.org [11] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [12] >>> _______________________________________________ gem5-users mailing list gem5-users@gem5.org [17] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [18] -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-users@gem5.org [19] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [20] >> _______________________________________________ gem5-users mailing list gem5-users@gem5.org [22] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [23] > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users Links: ------ [1] mailto:gem5-users@gem5.org [2] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [3] mailto:gem5-users@gem5.org [4] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [5] mailto:gem5-users-boun...@gem5.org [6] mailto:gem5-users-boun...@gem5.org [7] mailto:gem5-users@gem5.org [8] http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.gz [9] mailto:gem5-users@gem5.org [10] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [11] mailto:gem5-users@gem5.org [12] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [13] mailto:gem5-users-boun...@gem5.org [14] mailto:gem5-users-boun...@gem5.org [15] mailto:gem5-users@gem5.org [16] http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.withtime.gz [17] mailto:gem5-users@gem5.org [18] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [19] mailto:gem5-users@gem5.org [20] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [21] http://www.irisa.fr/alf/downloads/premillieu/gem5/445.gobmk.score2.trace_All-Event.deferredtime.gz [22] mailto:gem5-users@gem5.org [23] 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