You need to use the SMP coherence protocols for modeling a private L2. It is the coherence protocol that determines whether the L2s are private/shared.
Cheers,
Niket
----- Original Message ----- From: David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx> Date: Monday, June 15, 2009 9:02 am Subject: [Gems-users] Private L2 in a CMP... To: gems-users@xxxxxxxxxxx
> Hi. > > I need to configure a CMP with a private L2 cache, and I would > like to know > which of these configs I should use: > > 1) > ruby0.setparam g_PROCS_PER_CHIP 1 > ruby0.setparam g_NUM_PROCESSORS 2 > > 2) > ruby0.setparam g_PROCS_PER_CHIP 2 > ruby0.setparam g_NUM_PROCESSORS 2 > ruby0.setparam_str g_CACHE_DESIGN PRIVATE_L2 > > 3) > ruby0.setparam g_PROCS_PER_CHIP 1 > ruby0.setparam g_NUM_PROCESSORS 2 > ruby0.setparam_str g_CACHE_DESIGN PRIVATE_L2 > > As I want to simulate a CMP, I guess I should use config number 2, > but I
> don't know if that is the right way to do what I want. > Does config number 1 (without the g_CACHE_DESIGN parameter) > provide a > private L2 cache?? > Or is any of them acceptable and the result will be the same?? > > Thanks!! >
|