Berkin,
From your script, it seems that you have a target machine with 16 cores
and 512MB memory (your ruby parameters). How about your simics
configuration? By default, $megs_per_cpu is set to 256 if I remember
correctly. So either your $megs_per_cpu should be set to 512/16=32MB in
simics, or your memory should be set to 256*16=4GB in ruby.
In my case, my target machine has 2 cores and thus 512MB memory.
Here is my script, my benchmark is a mpeg2 encoder:
read-configuration sarek-2core.conf
cpu-switch-time 1
instruction-fetch-mode instruction-fetch-trace
istc-disable
dstc-disable
magic-break-enable
load-module ruby
ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam g_MEMORY_SIZE_BYTES 536870912
ruby0.setparam g_PROCS_PER_CHIP 2
ruby0.setparam g_NUM_MEMORIES 1
ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 6
ruby0.init
ruby0.load-caches warmcache.caches.gz
ruby0.clear-stats
load-module opal
opal0.init
@conf.con0.input = "cd ALP/MPGenc/verify\n";
@conf.con0.input = "./mpeg2encode NTSC.par NTSC.m2vB\n";
@conf.con0.input = "./magic_call\n";
opal0.sim-start "output_2core.opal"
opal0.sim-step 1000000000
ruby0.dump-stats state
Best regards,
Xuan Qi
On Thu, 10 Apr 2008, Berkin Ozisikyilmaz wrote:
Hi,
I am running gems 2.1 and simics 2.2.19.
I run the application using the following commands, and im getting the
errors further below.
Is the error related to the order that I execute stuff in my script?
Thanks
Berkin
read-configuration xstart
cpu-switch-time 1
instruction-fetch-mode instruction-fetch-trace
istc-disable
dstc-disable
con0.input "./example_fmodulo_sched -i ./color100 -o -d -p 16\n"
con0.break "Initial"
c
load-module ruby
ruby0.setparam g_NUM_PROCESSORS 16
ruby0.setparam g_MEMORY_SIZE_BYTES 536870912
ruby0.setparam g_PROCS_PER_CHIP 16
ruby0.setparam g_NUM_MEMORIES 1
ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 5
ruby0.init
load-module opal
opal0.init
opal0.sim-start "output_16core-fmodulo_sched.opal"
opal0.sim-step 100000000
memoryBits: 0 memorySizeBits: 29 Address: [0xff164000, line
0xff164000]error: limit exceeded. dataBlockBits: 6 memoryModuleBlocks:
8388608 index: 66869504
failed assertion 'index < RubyConfig::memoryModuleBlocks()' at fn integer_t
Address::memoryModuleIndex() const in common/Address.h:210
failed assertion 'index < RubyConfig::memoryModuleBlocks()' at fn integer_t
Address::memoryModuleIndex() const in common/Address.h:210
At this point you might want to attach a debug to the running and get to the
crash site; otherwise press enter to continue
PID: 22157
*** Simics getting shaky, switching to 'safe' mode.
*** Simics (main thread) received an abort signal, probably an assertion.
Starting command line. (May have skipped commands in script files.)
|