Re: [Gems-users] Invalidate directory entry


Date: Wed, 10 Jan 2007 21:25:30 -0600
From: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Invalidate directory entry
So after a replacement in L2 how does it notify the global directory? In my configuration I have 4 processors, each on a single chip. After a processor evicts a line from its L2, it has to invalidate the global directory to change the state of this entry from S/M to I, right? I guess this was the question I intended to ask in the first post, sorry for the confusion.

Thanks,
Lei
----- Original Message ----- From: "Mike Marty" <mikem@xxxxxxxxxxx>
To: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>
Cc: <Gems-users@xxxxxxxxxxx>
Sent: Wednesday, January 10, 2007 5:24 PM
Subject: Re: [Gems-users] Invalidate directory entry


The L2 controller handles intra-CMP coherence.  Then there is a global
directory implemented in MSI_MOSI_CMP_directory-dir.sm to track coherence
between CMP chips.  This directory is assumed to be stored in DRAM.

Mike, Thanks for your prompt reply. So there is actually no directory stored
on each chip to keep the state of a memory address?

Lei
----- Original Message -----
From: "Mike Marty" <mikem@xxxxxxxxxxx>
To: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>; "Gems Users"
<gems-users@xxxxxxxxxxx>
Sent: Wednesday, January 10, 2007 4:59 PM
Subject: Re: [Gems-users] Invalidate directory entry


> This protocol stores the directory state in the L2 cache tag.  The
> L2_Replacement will eventually cause the L2 controller to deallocate > the > L2 cache tag. When both the TBE (for handling the replacement of > shared > or dirty data) and the L2 tag is deallocated, then the Directory state > is
> gone and considered NP (Not Present), equivalent to I.
>
> For example, replacing M will deallocate L2 tag immediately but > allocate a
> TBE (to handle the demand miss causing the replacement in parallel).
> Eventually this transition occurs, which will actually result in state > NP > (Not Present) even though the target transition state is L2_I. If > there
> is nothing to hold the state L2_I, then the state is L2_NP
>
>  transition(L2_MIN, Dir_WB_ack, L2_I) {
>    s_deallocateTBE;
>    l_popForwardedRequestQueue;
>  }
>
>
> That was a confusing explanation.
>
> --Mike
>
>
> > Hi list, >
>> I'm looking at MSI_MOSI_CMP_directory-L2cache.sm file and I'm >> wondering
>> after a L2_Replacement, where/how did the protocol change the state of
>> the corresponding directory entry to invalidate that? Please advise.
>>
>> Thanks,
>> Lei
>
>






[← Prev in Thread] Current Thread [Next in Thread→]