Re: [Gems-users] L2 sharing in CMP


Date: Thu, 15 Apr 2010 13:17:33 -0500
From: sparsh mittal ISU <sparsh@xxxxxxxxxxx>
Subject: Re: [Gems-users] L2 sharing in CMP
I found the following command in Profiler.C

 m_perProcTotalMisses.setSize(RubyConfig::numberOfProcessors());

This sets the vector  m_perProcTotalMisses to have size=2.

So, how should I set the parameter that L2 can be shared?
Thanks
Sparsh

On Thu, Apr 15, 2010 at 1:01 PM, sparsh mittal ISU <sparsh@xxxxxxxxxxx> wrote:
Hello All
I am trying to simulate with MOESI_CMP_directory protocol.
I gave the following command

load-module ruby
ruby0.setparam g_NUM_CHIPS 1
ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam g_PROCS_PER_CHIP 2
ruby0.setparam g_NUM_L2_BANKS 1
ruby0.init

To ensure that there is one L2 shared on the chip. However, when I see the stats file, I find:
Total_misses: 25857
total_misses: 25857 [ 25209 648 ]

I was thinking that if there is just one L2, then why should the total misses in L2 be composed of two components?
Any suggestion is appreciated.
--
Thanks and Regards
Sparsh Mittal
Graduate Student
Electrical and Computer Engineering
Iowa State University, Iowa, USA



--
Thanks and Regards
Sparsh Mittal
Graduate Student
Electrical and Computer Engineering
Iowa State University, Iowa, USA
[← Prev in Thread] Current Thread [Next in Thread→]