Re: [Gems-users] Inclusive L2 cache


Date: Wed, 13 May 2009 12:48:27 -0400
From: Greg Byrd <gbyrd@xxxxxxxx>
Subject: Re: [Gems-users] Inclusive L2 cache
For example, look at the in_port code for the mandatory queue in the cache.sm file.  In MOSI_SMP_bcast, you'll see comments like this when looking for a cache hit:

"We know it can't be in the L2 due to exclusion"

...Greg


Edward Lee wrote:
I looked at the protocols page before. There is no information on SMP protocols exclusivity there.

And I know it is a coherence level issue, that's why I am trying understand if there is a connection between single SLICC controller usage and exclusivity. I am not a GEMS expert and just started looking at the base code to be able to make some changes for a new protocol. So, I am sorry if I ask any naive question here.

So, should I check the cache.sm <http://cache.sm> and directory.sm <http://directory.sm> files to get my answers for any protocol? Any guidance on which specific parts of the protocol codes to look especially for the MOESI_SMP_directory protocol?

Regards,

~ Ed

On Wed, May 13, 2009 at 11:58 AM, Carole-Jean Wu <carolewu@xxxxxxxxxxxxx <mailto:carolewu@xxxxxxxxxxxxx>> wrote:

    Take a look at Take a look at
    http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Protocols

    -Carole


    On Wed, May 13, 2009 at 11:38 AM, Greg Byrd <gbyrd@xxxxxxxx
    <mailto:gbyrd@xxxxxxxx>> wrote:

        Unless things have changed, the combined L1/L2 controller use
        exclusive
        caches, not inclusive.

        ...Greg


        Derek Hower wrote:
         > Inclusivity/exclusivity is a coherence-level issue.  Thus, it is
         > determined solely by the behavior of the SLICC generated
        protocol.  To
         > the best of my knowledge, all released protocols in GEMS are
        inclusive.
         >
         > -Derek
         >
         > On Wed, May 13, 2009 at 10:22 AM, Edward Lee
        <edwl202@xxxxxxxxx <mailto:edwl202@xxxxxxxxx>
         > <mailto:edwl202@xxxxxxxxx <mailto:edwl202@xxxxxxxxx>>> wrote:
         >
         >     Hi all,
         >
         >     I am trying to add another cache besides L1/L2 to my
        target system
         >     like a victim cache or an RAC. So, I am wondering how to
        determine
         >     exclusivity of the caches in GEMS? For example,
         >     MOESI_SMP_directory protocol has a single SLICC
        controller for
         >     L1/L2, does this mean that the L2 is inclusive? Where in
        the GEMS
         >     code is this determied?
         >
         >     Thanks for any help.
         >
         >     Regards,
         >
         >     Ed
         >
         >     _______________________________________________
         >     Gems-users mailing list
         >     Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>
        <mailto:Gems-users@xxxxxxxxxxx <mailto: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.
         >
         >
         >
         >
        ------------------------------------------------------------------------
         >
         > _______________________________________________
         > Gems-users mailing list
         > Gems-users@xxxxxxxxxxx <mailto: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.
         >
         >

        _______________________________________________
        Gems-users mailing list
        Gems-users@xxxxxxxxxxx <mailto: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.



    _______________________________________________
    Gems-users mailing list
    Gems-users@xxxxxxxxxxx <mailto: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.




------------------------------------------------------------------------

_______________________________________________
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.



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