Re: [Gems-users] cache values 0


Date: Fri, 01 Feb 2008 17:00:28 -0600
From: Dinagar Raghunathan <draghuna@xxxxxxx>
Subject: Re: [Gems-users] cache values 0

Hi Greg/Team,

 

Thanks for responses. Actually, I am getting the “getting shaky” message even while I was setting the “opal0.sim-step” value.

 

simics> opal0.sim-step 1

***  Simics getting shaky, switching to 'safe' mode.

Simics (main thread) received a segmentation fault. Will try to recuperate.

simics> opal0.sim-step 10000000000

***  Simics getting shaky, switching to 'safe' mode.

Simics (main thread) received a segmentation fault. Will try to recuperate.

 

You mentioned that you are not an Opal user. So whether it meant you don’t load or run the Opal module at all? Well, I tried to run only Ruby alone and executed the Simulation but again I got the same “getting shaky” error.

 

I even read few of the earlier mails regarding “getting shaky” issue in our GEMS mailing list and also in SIMICS. In Gems mailing list, one of the users was talking about facing this issue after he did some modification in his code. Well I am surprised here as I didn’t start coding/modifying the GEMS code yet and I am facing this issue. Can I know where there could be problem and root cause of Cache values being showed as 0 is only because of “getting shaky” issue????

 

For now, I want to run some experiments over the “Cache Misses” and its behaviors. So I am more worried about its values so I can start my work.

 

Thanks,

Dinagar

 

From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Greg Byrd
Sent: Thursday, January 31, 2008 9:53 PM
To: Gems Users
Subject: Re: [Gems-users] cache values 0

 

Sorry, I'm not an Opal user.  But I do know that the "getting shaky" message means something's very wrong in Simics.  You shouldn't set cpu-switch-time higher than one.  Does the same thing happen if you do opal0.sim-step 1?

...Greg


Dinagar Raghunathan wrote:

Hi Greg/Team,

 

In fact, Ruby Cycle is 0.

 

Profiler Stats

--------------

Elapsed_time_in_seconds: 514

…….

……

 

Ruby_current_time: 1

Ruby_start_time: 1

Ruby_cycles: 0

 

Can I know how to increase it? I also found the below variables have corresponding values. Also, I have tried by giving cpu-switch-time 1 to a higher number.

 

SIMICS_RUBY_MULTIPLIER                      :                          4

OPAL_RUBY_MULTIPLIER                        :                          1

L1CACHE_TRANSITIONS_PER_RUBY_CYCLE          :                         32

L2CACHE_TRANSITIONS_PER_RUBY_CYCLE          :                         32

DIRECTORY_TRANSITIONS_PER_RUBY_CYCLE        :                         32

 

I have one more quick question. From Quick Start Page I learned that “simics>c” after few steps, the simulation starts and it goes for a long time. I manually intercepted it by “Ctrl+C”. Is it usually takes a long time complete simulation and I have to wait till the Simics Stop?? Or manual interception after few minutes is right thing?

 

simics> opal0.sim-step 10000000000

***  Simics getting shaky, switching to 'safe' mode.

Simics (main thread) received a segmentation fault. Will try to recuperate.

simics> c

Warning: Interrupt key pressed more than once.

         Pressing it again will force Simics back to the command prompt.

         This may corrupt the running simulation.

         Try waiting for Simics to stop first.

USER INTERRUPT: Interrupt key pressed multiple times.

Returning to prompt.

simics>

 

Thanks,

Dinagar

 

From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Greg Byrd
Sent: Thursday, January 31, 2008 11:27 AM
To: Gems Users
Subject: Re: [Gems-users] cache values 0

 

Looks to me that you only stepped the simulation by one Ruby cycle.

Dinagar Raghunathan wrote:

Hi team,

 

I ran the ruby and opal as per GEMS wiki Quick Start page and I am finding the stat as below.

 

Total_misses: 0

total_misses: 0 [ 0 0 0 0 ]

user_misses: 0 [ 0 0 0 0 ]

supervisor_misses: 0 [ 0 0 0 0 ]

 

instruction_executed: 4 [ 1 1 1 1 ]

simics_cycles_executed: 8 [ 2 2 2 2 ]

cycles_per_instruction: 0 [ 0 0 0 0 ]

misses_per_thousand_instructions: 0 [ 0 0 0 0 ]

 

All L1 and L2 cache stats are displaying 0 and even the Load, Fetch and Store cycles.

 

L1D_cache cache stats:

  L1D_cache_total_misses: 0

  L1D_cache_total_demand_misses: 0

  L1D_cache_total_prefetches: 0

  L1D_cache_total_sw_prefetches: 0

  L1D_cache_total_hw_prefetches: 0

  L1D_cache_misses_per_transaction: 0

  L1D_cache_misses_per_instruction: 0

  L1D_cache_instructions_per_misses: NaN

 

  L1D_cache_request_size: [binsize: log2 max: 0 count: 0 average: NaN |standard deviation: NaN | 0 ]

 

[The above same result is been shown for L1I and L2.]

 

--- L1Cache ---

 - Event Counts -

Load  0

Ifetch  0

Store  0

L1_to_L2  0

L2_to_L1D  0

L2_to_L1I  0

L2_Replacement  0

 

As mentioned in the Quick start, I have ran the simulation for 1processor. Later after seeing this result, I started playing with processor count and other relative values but still I wasn’t able to increase the load. I know I am asking a basic question.

 

So should I got to execute Microbenchmarks or Tester over the GEMS to have the load over the simulator? If so, can I know how simulate with load?

 

Thanks,

Dinagar

 
 


 
 
  
 
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
 
  

 

 


 
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
 
  

 

[← Prev in Thread] Current Thread [Next in Thread→]