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?

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.

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.


Best wishes,

Paolo


--
====================================================
Ing. Paolo Grani
Dipartimento di Ingegneria dell'Informazione
via Roma 56, 53100 Siena, Italia
Laboratorio di Architettura dei Calcolatori ---> int. 223

mailto:gr...@dii.unisi.it
http://www.dii.unisi.it
====================================================
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to