Re: [Gems-users] Number of instruction executed in GEMS for CMPs


Date: Sun, 2 May 2010 06:41:47 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Number of instruction executed in GEMS for CMPs
You might have noticed that set-param, dump-stats, etc., are all preceded by ruby0. Those are all Ruby commands.

c is a Simics command. It is short for continue, and is detailed in the Simics reference manual. You should have a PDF of it somewhere in your Simics installation.

The general form of commands in the Simics CLI is:
[objectName].[attributeName]

... except for global commands, like continue, which are just commands without an object specifier.

Regards,
Dan

On Sun, May 2, 2010 at 4:07 AM, Shoaib Altaf <shoaibbinalt@xxxxxxxx> wrote:
 
Dan,
 
I have one related question, how/where this command is defined (how it works)....
 
c (# of instructions)....
 
All the other simulation/ initialization functions (set_param, dump-stats etc)can be located in ruby.c/ command.py....... but I have no clue about "c"....
 
 
Shoaib

From: Dan Gibson
Sent: Friday, April 30, 2010 2:50 PM
Subject: Re: [Gems-users] Number of instruction executed in GEMS for CMPs

Be sure to search the list for advice on magic breakpoints. I and several others have gushed wisdom on that topic on several occasions.

Regards,
Dan

On Fri, Apr 30, 2010 at 2:46 PM, Muhammad Shoaib <shoaibbinalt@xxxxxxxx> wrote:

Thanks Dan.

Yeah each processor was roughly executing 350 M instructions.

I will look into magic breakpoints.


On 04/30/10, Dan Gibson  <degibson@xxxxxxxx> wrote:

> Check to see how many instructions each processor executes. I wonder if perhaps c X runs, e.g., Proc0 for X instructions?
>
> Also try cc instead of c -- I forget which one means 'instructions' and which one means 'Simics cycles'.
>
>
> In general, we don't use 'c X' directly to control the simulation. Instead, we insert magic breakpoints to stop simulation when the correct amount of work has been done. That helps us to get rid of artifacts from spin locks, etc., as well.
>
>
> Regards,
> Dan
>
>
> On Fri, Apr 30, 2010 at 12:03 AM, Shoaib Altaf <shoaibbinalt@xxxxxxxx <shoaibbinalt@xxxxxxxx>> wrote:
>
> >
> >
> >
> >
> >
> >
> >
> >
> > List,
> >
> >  
> >
> > I was comparing some results between a single
> > processor and a CMP (say 4 processors), and the criteria depends on the number
> > of cycles. I am running for 350 M instructions like this for both
> > cases
> >
> > c 350000000
> >
> >  
> >
> > Now on the output stat file I got these
> > results.....
> >
> >  
> >
> > 1 Processor:
> >
> >  
> >
> > instructions executed =350000000 
> >
> >
> > Ruby cycles= 1435639304
> >
> >  
> >
> >  
> >
> > 4 Processors:
> >
> >  
> >
> > instructions executed =1449213046 (roughly 1500
> > M)
> >
> > Ruby cycles = 1861225208
> >
> >  
> >
> >  
> >
> > So I have these questions :
> >
> >  
> >
> > 1) I was expecting the instructions executed
> > to be the same why they are different?? in the present scenario the
> > comparison will  not matter....so how should I make sure that the CMP will
> > also run for 350 M instructions
> >
> >  
> >
> > 2) I was also expecting that the ruby cycles will
> > also reduce in case of 4 processors, but they have increased since more
> > instructions are executed ..Why??
> >
> >  
> >
> > 3) My protocol is MSI_MOSI_CMP  and workload
> > is OLTP.
> >
> >  
> >
> > Shoaib
> >
> > _______________________________________________
> >
> > Gems-users mailing list
> >
> > Gems-users@xxxxxxxxxxx <Gems-users@xxxxxxxxxxx>
> >
> > https://lists.cs.wisc.edu/mailman/listinfo/gems-users (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/ (https://lists.cs.wisc.edu/archive/gems-users/)" to your search.
> >
> >
> >
> >
> >
>
>
>
> --
> http://www.cs.wisc.edu/~gibson (http://www.cs.wisc.edu/~gibson) [esc]:wq!
>
>
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users (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/ (https://lists.cs.wisc.edu/archive/gems-users/)" to your search.
>
>
>
--
Muhammad Shoaib Bin Altaf
ECE Graduate Student
UW Madison,WI

_______________________________________________
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.




--
http://www.cs.wisc.edu/~gibson [esc]:wq!


_______________________________________________
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.





--
http://www.cs.wisc.edu/~gibson [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]