Hi All,

MOESI CMP directory in Ruby models the L2 controller with a L2 cache and a
Local Directory(modelled as PerfectCacheMemory).
MOESI_CMP_directory being a Non-Exclusive Protocol, stores the meta data
about the lines not present in L2 but present in one of the L1s, in the
Local Directory.

This Local Directory number of entries can grow to a number equal to the
number of entries in each L1 multiplied by number of L1s.
4core 64K I and D cache with 64Byte LineSize will have maximum 8kentries in
the Local Directory.

I was wondering, could anyone please guide me as to what kind of data
storage will be used for such a structure?
8k entries with address and meta data stored for each entry.

I think its not correctly modelled. There are no replacements from the data
structure(PerfectCacheMemory) which is a unordered_map like the tbe.
TBEs dont grow in size much and there is limit to that as well.
However Local Directory has no limit.

I wanted to know, how could we model such a structure in a real hardware?
The way its modelled, it looks like a large CAM/Fully Associative Cache
with no Data Array.
The access time to this cache is not accounted for as well. If we assume a
Fully Associative cache, the current model works as if L2 Cache and the
Fully Associative cache are accessed in parallel.

Am I correct in this interpretation?

Thanks,

-- 
Pushkar Nandkar
Graduate Student
Department of Electrical and Computer Engineering
University of Minnesota, Twin Cities
Minneapolis, MN - 55414
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to