Re: [Gems-users] What does the below error mean?


Date: Fri, 11 Apr 2008 10:09:26 -0500
From: "Berkin Ozisikyilmaz" <boz283@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] What does the below error mean?
Hi,

I had 2 versions of the script running (pasted below). The only difference
is where I issue the "cpu-switch-time 1" command. I have tried to delay it
because the interactivity of the command console decreases when the switch
time is set to 1. And I wanted to compare the statistics of the simulation
to see if both are the same. I don't know what is going on?

Also thank you for your memory comment. Is there someone from GEMS team that
they can confirm this?

Thanks
Berkin


Works fine
read-configuration xstart
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
cpu-switch-time 1
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 "utput_16core-fmodulo_sched.opal"
opal0.sim-step 100000000

Gives the error
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

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx]
On Behalf Of Xuan Qi
Sent: 2008-04-10 19:12
To: Gems Users
Subject: Re: [Gems-users] What does the below error mean?

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