On Fri, 22 Jul 2011, Paolo Grani wrote:

No one...any clarification on this will be well-appreciated.

Paolo


Il 20/07/2011 13:02, Paolo Grani ha scritto:
Hi all,

i' m studying Ruby and the MOESI_CMP_directory coherence protocol with a Mesh topology of interconnection.
I' ve two quick questions.

1) To correctly run a simulation with a Mesh topology i need to set the number of L2 caches ( num-l2caches option ) and directories ( num-dirs option ) equal to the
    number of simulated cores. Is this ok?

Should be.


2) I know that the MOESI_CMP_directory models a two-level cache hierarchy but i would like to know if the L2 cache is shared between all cores or if is private for each
    core.
In the config.ini output file i can see that an L2 cache object is created for each core and the dimension of this cache is, by default, 2MB. In the gems web site i read that "CMP protocols assume each node consists of processors with their private L1 caches, and a banked, shared L2 cache."

2a) First i would like to know if the cache is private for each core or if it is shared between all cores.

The L2 cache is shared between the cores.


2b) If it is shared i would like to know if is shared and banked ( 2MB is the total size of this cache that is splitted in bank of 2MB / num_cpus each ) or if each bank is
          2MB and so the total L2 cache size is 2MB * num_cpus.

Each bank is 2MB.

--
Nilay
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to