Re: [Gems-users] why I can not get the result


Date: Tue, 15 Jul 2008 09:25:12 -0500
From: "Dan Gibson" <degibson@xxxxxxxx>
Subject: Re: [Gems-users] why I can not get the result
Your program will not run automatically. When running the simulation, Simics will provide /an entire simulated machine/, so you will have to instruct the target OS to launch your job, just as though you were running it on a real solaris box. Most people find it convenient to start their program, have it break using a special magic instruction, and then start loading ruby and opal, to speed things up. See this thread on how to use a magic instruction in this manner:
https://lists.cs.wisc.edu/archive/gems-users/2006-September/msg00105.shtml

Alternatively, perhaps to get started it would be simplest just to start your job and hit CTRL+C, then start loading ruby and opal, the simulate for the desired instruction count using opal0.sim-step N.

Regards,
Dan


2008/7/15 <llccdd1985@xxxxxxx>:
 
 thanks,
   But I want to know the simulated program which in simics,If I use the sim-step X to simulate,but It take a long time,but I don't run the program in the simics,how I get the program's statistic,does it run automatically?or I first execute the program,then I enter c to stall the simics,the last step is use sim-step to get the statistic! 
 
 

在2008-07-15,"Dan Gibson" <degibson@xxxxxxxx> 写道:

On Tue, Jul 15, 2008 at 6:53 AM, <llccdd1985@xxxxxxx> wrote:

thanks your reply,OK,maybe I can not descript the problem,now I will descript again about my situation,I have a program which want to statistic the every level cache miss,I want to use opal and ruby,because if  I only use ruby,I can get some simulate time ...

Ruby is a cache simulator, Opal simulates an out-of-order processor. You can get all the cache statistics you like using only Ruby, though they will approximate the timings of a simple blocking in-order core.

and  don't another attributes,but according your reply,how could run my program?can you give me a process to simulate? plus I have compile the program in the checkpoint file,so when I read the checkpoint,I also have the program,any suggestion are appreciated!

It sounds like your program is already in the checkpoint file -- simulating it is pretty straightforward. Follow the instructions on the GEMS Wiki (http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/QuickStart) and be sure to use 'opal0.sim-step X' instead of 'c' to start simulations that use Opal.
 




渊波阔宅 湖景人生
_______________________________________________
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.





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