Re: [Gems-users] simulation state corrupted


Date: Fri, 5 Jun 2009 13:41:28 +0800
From: "lenglihello" <lenglihello@xxxxxxx>
Subject: Re: [Gems-users] simulation state corrupted
I get what your meaning, but It works well when I do the job in the fallowing order before.
*********************
start simics without loading ruby
copy hello_world(no warm-up period) to the simulated machine, and test that ./hello_world works well
make a check point as check1.conf
restart simics and load ruby
run "./hello_world" in the yellow window 
finally, I get what I want.
*********************
 
I have heard about "warm-up", but I pay no attention to it, since my way works well.
I want to know does "warm-up" is must?
Is it the reason of my problem?
 
2009-06-05

lenglihello

发件人: Polina Dudnik
发送时间: 2009-06-05  12:07:52
收件人: Gems Users
抄送:
主题: Re: [Gems-users] simulation state corrupted
If your checkpoint already has a binary that is running, so if you have made your checkpoint when the binary was running, the something is wrong with that checkpoint. Make sure that when you make the checkpoint with a running binary, you have not yet loaded ruby because it won't work. So, start the binary, when it reaches an appropriate point (like warm-up period), don't load ruby, just make the checkpoint. Then you should be able to read-configuration from that checkpoint and then load ruby.

Polina

2009/6/5 Polina Dudnik <pdudnik@xxxxxxxxx>
Remember, you cannot load ruby before you started a workload. In general, what would happen is this: you read the configuration file with read-config, then a yellow window pops up. You copy your binary or what not into the simulated machine and start running it. So, say copy hello_world into the simulated machine and then do ./hello_world in the yellow window. Your hello world binary needs to have a magic call in it. When the simulation hits the point where the magic call is the simulation will be suspended and this is when you load ruby. You cannot load ruby unless you have a running workload.


Check out these links and see if you can find some useful information there:

http://pages.cs.wisc.edu/~david/courses/cs758/Fall2007/handouts/hw-logtm.html
http://pages.cs.wisc.edu/~markhill/cs757/Spring2008/handouts/hw3.html
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/TM_Workload_Setup

Polina



2009/6/4 lenglihello <lenglihello@xxxxxxx>
protocal: MESI_CMP_filter_directory
I start simics with "./simics -stall", and the error happens just after I input the fallowing order, before I can do anything with the target machine
**************************
istc-disable
dstc-disable
magic-break-disable
cpu-switch-time 1
magic-break-enable
read-configuration solaris_checkpoint_zc/solaris10_2p_gcc1.conf
 
load-module ruby

ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam g_MEMORY_SIZE_BYTES 2147483648
ruby0.setparam g_PROCS_PER_CHIP 2
ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 5
ruby0.setparam XACT_DEBUG_LEVEL 0
ruby0.setparam_str PROFILE_XACT true
ruby0.setparam_str XACT_MEMORY true
ruby0.setparam_str XACT_LAZY_VM true
ruby0.setparam_str XACT_EAGER_CD true

ruby0.setparam_str REMOVE_SINGLE_CYCLE_DCACHE_FAST_PATH true
ruby0.setparam_str XACT_CONFLICT_RES BASE
ruby0.setparam_str USER_MODE_DATA_ONLY true
ruby0.init
ruby0.debug-output-file /root/gems/simics_3_workspace/output_file/2p_output
c
**************************
 
 
2009-06-05

lenglihello

发件人: Polina Dudnik
发送时间: 2009-06-05  10:21:22
收件人: Gems Users
抄送:
主题: Re: [Gems-users] simulation state corrupted
What benchmark are you running?  Could you give us more output? What is the output before it tells you that the simulation state has been corrupted?

2009/6/4 lenglihello <lenglihello@xxxxxxx>
hi,
I encounter a problem with error: "The simulation state has been corrupted. Simulation cannot continue"
and my ruby configuration shows as fallowing:
*********************************
ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam g_MEMORY_SIZE_BYTES 2147483648
ruby0.setparam g_PROCS_PER_CHIP 2
ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 5
ruby0.setparam XACT_DEBUG_LEVEL 0
ruby0.setparam_str PROFILE_XACT true
ruby0.setparam_str XACT_MEMORY true
ruby0.setparam_str XACT_LAZY_VM true
ruby0.setparam_str XACT_EAGER_CD false
ruby0.setparam_str REMOVE_SINGLE_CYCLE_DCACHE_FAST_PATH true
ruby0.setparam_str XACT_CONFLICT_RES BASE
ruby0.setparam_str USER_MODE_DATA_ONLY true
#ruby0.setparam_str XACT_ISOLATION_CHECK true
*********************************
If I changed "XACT_EAGER_CD" to "true", everything goes well.
 
Is there any thing I can do if want to use the "XACT_EAGER_CD" as "fase"
 
Thanks for any help!
 
2009-06-05

lenglihello

_______________________________________________
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→]