Re: [Gems-users] About the L2 cache miss profiling


Date: Thu, 8 Apr 2010 11:24:15 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] About the L2 cache miss profiling
OLSX, desc="Owned with local sharers, chip is exclusive";
IFLOX, desc="Blocked, forwarded local GETS to local owner but chip is exclusive";

If an L1 issues a GETX to a line in state OLSX, the L2 is owning the line but there are other on-chip caches with a copy of the line (however, there aren't any off-chip copies of the line). However, since the L1 wants an /exclusive/ copy, the GETX cannot be directly serviced by the L2. The state transitions to IFLOX, while invalidations are sent to sharers (except the requestor, of course). The data is present in the L2, so it can be sent to the requestor (i.e., d_sendDataToL1GETX), bu the the requesting L1 does not have the block exclusively until ACKS are received from the other sharers.

In other words, the L2 can supply the data (the GET of the GETX), but not the exclusivity (the X of the GETX), so it is a 'miss'.

Regards,
Dan

On Thu, Apr 8, 2010 at 10:13 AM, Ma Dafan <dafan_ma@xxxxxxxxxxx> wrote:
 Hi, there,
Recently I check in the the file "MOESI_CMP_directory-L2cache.sm" and find something I can not understand.
In the code section cited below, a uu_profileMiss action is called when a L1_getx access actually hit in my opinion.
So I'm confused about the action "uu_profileMiss", can anyone help me?

 transition(OLSX, L1_GETX, IFLOX) {
    i_allocateTBE;
    s_recordGetXL1ID;
    // count number of INVs needed that doesn't include requestor
    h_countLocalSharersExceptRequestor;
    // issue INVs to everyone except requestor
    ee_issueLocalInvExceptL1Requestor;
    d_sendDataToL1GETX
    y_copyCacheStateToDir;
    r_setMRU;
    rr_deallocateL2CacheBlock;
    uu_profileMiss;                                      //why? why miss, is it a hit?
    o_popL1RequestQueue;
  }
_______________________________________________
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 [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]