Forgot to send to list.

---------- Forwarded message ----------
From: Paul Rosenfeld <[email protected]>
Date: Wed, Oct 2, 2013 at 1:41 PM
Subject: Re: [marss86-devel] marss.dramsim run_bench does not work correctly
To: Ardalan Pouyabahar <[email protected]>


Oh I see -- I guess that's a different error -- I got it confused with a
similar warning message that I think I removed.

How much memory are simulating in MARSS?

There are two places where this message occurs:
https://github.com/dramninjasUMD/marss.dramsim/blob/dramsim/ptlsim/sim/ptl-qemu.cpp#L814

Could you try to figure out which of the two cases you are hitting (either
by modifying one of the print statements or by putting a breakpoint in this
code in GDB)?

It's quite strange that you are encountering this message -- I've never
heard of anyone hitting this error message before.




On Wed, Oct 2, 2013 at 4:04 AM, Ardalan Pouyabahar
<[email protected]>wrote:

> ERROR : guest physical address 0xfffffff0 is out of bounds
>
>
> On Wed, Oct 2, 2013 at 11:33 AM, Ardalan Pouyabahar <
> [email protected]> wrote:
>
>> The problem is that the simulation stops because of the error. Is it
>> because of low RAM space? How can I solve it?
>>
>> Thanks
>>
>>
>> On Mon, Sep 30, 2013 at 7:52 PM, Paul Rosenfeld <[email protected]>wrote:
>>
>>> Don't worry about the out of bounds message, I actually need to remove
>>> that message since it doesn't affect the correctness of the simulation.
>>>
>>>
>>> On Sat, Sep 28, 2013 at 5:10 PM, Ardalan Pouyabahar <
>>> [email protected]> wrote:
>>>
>>>> It is running on virtual machine and the memory was 1 GB I changed it
>>>> to 2 GB and the error change to :
>>>> guest physical address 0xfffffff0 is out of bounds
>>>> How much memory is needed?
>>>>
>>>>
>>>> On Sun, Sep 29, 2013 at 12:26 AM, Paul Rosenfeld 
>>>> <[email protected]>wrote:
>>>>
>>>>> Given how deep inside of QEMU this error is (
>>>>> https://github.com/dramninjasUMD/marss.dramsim/blob/dramsim/qemu/exec.c#L523),
>>>>>  it is highly unlikely that it has anything to do with DRAMSim2. Are you
>>>>> sure you're not just running out of memory on the machine?
>>>>>
>>>>>
>>>>> On Sat, Sep 28, 2013 at 4:50 PM, Ardalan Pouyabahar <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Dear Majid,
>>>>>>
>>>>>> Yes I have it.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 29, 2013 at 12:17 AM, Ardalan Pouyabahar <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Dear Paul,
>>>>>>> I changed the path to absolute path but it gives the same result.
>>>>>>> There is a flag in run_bench,py named as "out_to_stdout", it's false by
>>>>>>> default and I changed it to true then it printed these in the console
>>>>>>> before finishing :
>>>>>>>
>>>>>>> Could not allocate dynamic translator buffer
>>>>>>> Writing to stdout completed
>>>>>>> Exception in thread Thread-4:
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>> __bootstrap_inner
>>>>>>>     self.run()
>>>>>>>   File "./util/run_bench.py", line 267, in run
>>>>>>>     out_dev_file = os.open(self.out_devname, os.O_RDONLY)
>>>>>>> TypeError: coercing to Unicode: need string or buffer, NoneType found
>>>>>>> -----------
>>>>>>> It has some problem with memory allocation!
>>>>>>> I will try to compile it with GDB and share the results.
>>>>>>>
>>>>>>> Thanks so much for your answer
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Sep 27, 2013 at 4:38 AM, Seyed Majid Zahedi <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Ardalan,
>>>>>>>>
>>>>>>>> Do you you have the system.ini file in your DRAMSim directory?
>>>>>>>> One option is to rename system.ini.example to system.ini.
>>>>>>>>
>>>>>>>> Seyed
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 26, 2013 at 7:18 AM, Ardalan Pouyabahar <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hello everyone,
>>>>>>>>>
>>>>>>>>> I installed marss.dramsim and I could run FFT in qemu correctly
>>>>>>>>> but when I try to run blackscholes in parsecROI with this command :
>>>>>>>>> "./util/run_bench.py -d run/parsec_res parsec-ooo" it generates core 
>>>>>>>>> and it
>>>>>>>>> dosen't generate dramsim.log nor yaml log file.
>>>>>>>>> My util.cfg file is:
>>>>>>>>> -------------------------------------
>>>>>>>>> [DEFAULT]
>>>>>>>>> marss_dir = /home/ardalan/marss.dramsim
>>>>>>>>> util_dir = /home/ardalan/marss.dramsim/util
>>>>>>>>> img_dir = /media/shared_folder
>>>>>>>>>
>>>>>>>>> qemu_bin = %(marss_dir)s/qemu/qemu-system-x86_64
>>>>>>>>>
>>>>>>>>> default_simconfig = -kill-after-run
>>>>>>>>>
>>>>>>>>> [suite parsec-2.1]
>>>>>>>>> checkpoints = blackscholes
>>>>>>>>>
>>>>>>>>> [run parsec-ooo]
>>>>>>>>> suite = parsec-2.1
>>>>>>>>> images = %(img_dir)s/parsecROI.img
>>>>>>>>> memory = 2G
>>>>>>>>> simconfig =
>>>>>>>>>   -run
>>>>>>>>>   -machine single_core
>>>>>>>>>   # -corefreq 2G
>>>>>>>>>   -logfile %(out_dir)s/%(bench)s.log
>>>>>>>>>   -stats %(out_dir)s/%(bench)s.yml
>>>>>>>>>   -dramsim-results-dir-name %(out_dir)s/%(bench)s.dramsim.log
>>>>>>>>>   -dramsim-device-ini-file ini/DDR3_micron_8M_8B_x16_sg15.ini
>>>>>>>>>   -consolelog %(out_dir)s/%(bench)s.log.console
>>>>>>>>>   %(default_simconfig)s
>>>>>>>>> ----------------------------------------------------
>>>>>>>>> And the blackscholes.log file is:
>>>>>>>>> ----------------------------------------------------
>>>>>>>>> //
>>>>>>>>> //  MARSS: Cycle Accurate Systems simulator for x86
>>>>>>>>> //  Copyright 1999-2007 Matt T. Yourst <[email protected]>
>>>>>>>>> //  Copyright 2009-2011 Avadh Patel <[email protected]>
>>>>>>>>> //
>>>>>>>>> //  Git branch 'dramsim' on date Thu Aug 22 11:58:39 2013 (HEAD:
>>>>>>>>> 33a897)
>>>>>>>>> //  Built Sep  3 2013 00:10:22 on BUILDHOST using gcc-4.6
>>>>>>>>> //  With 1 simulated cores
>>>>>>>>> //  Running on Ardalan-VirtualBox.(none)
>>>>>>>>> //
>>>>>>>>>
>>>>>>>>> Active parameters:
>>>>>>>>>   -help         disabled
>>>>>>>>>   -run          enabled
>>>>>>>>>   -stop         disabled
>>>>>>>>>   -kill         disabled
>>>>>>>>>   -flush        disabled
>>>>>>>>>   -quiet        disabled
>>>>>>>>>   -logfile
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.log
>>>>>>>>>   -loglevel     0
>>>>>>>>>   -startlog     0
>>>>>>>>>   -startlogrip  18446744073709551615
>>>>>>>>>   -consolelog   enabled
>>>>>>>>>   -logbufsize   524288
>>>>>>>>>   -logfilesize  67108864
>>>>>>>>>   -dump-state-now disabled
>>>>>>>>>   -screenshot
>>>>>>>>>   -log-user-only disabled
>>>>>>>>>   -dump-config-file
>>>>>>>>>   -stats
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.yml
>>>>>>>>>   -yamlstats
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.yml
>>>>>>>>>   -stats-format yaml
>>>>>>>>>   -snapshot-cycles infinity
>>>>>>>>>   -snapshot-now
>>>>>>>>>   -time-stats-logfile
>>>>>>>>>   -time-stats-period 10000
>>>>>>>>>   -startrip     18446744073709551615
>>>>>>>>>   -fast-fwd-insns 0
>>>>>>>>>   -fast-fwd-user-insns 0
>>>>>>>>>   -fast-fwd-checkpoint
>>>>>>>>>   -stopinsns    infinity
>>>>>>>>>   -stopcycle    infinity
>>>>>>>>>   -stopiter     infinity
>>>>>>>>>   -stoprip      18446744073709551615
>>>>>>>>>   -stop-at-marker infinity
>>>>>>>>>   -stop-at-marker-hits infinity
>>>>>>>>>   -stopinsns-rel infinity
>>>>>>>>>   -bbinsns      65536
>>>>>>>>>   -flushevery   infinity
>>>>>>>>>   -kill-after-run disabled
>>>>>>>>>   -event-record
>>>>>>>>>   -event-record-stop disabled
>>>>>>>>>   -event-replay
>>>>>>>>>   -corefreq     0
>>>>>>>>>   -enable-checker disabled
>>>>>>>>>   -checker-startrip 18446744073709551615
>>>>>>>>>   -perfect-cache disabled
>>>>>>>>>   -dumpcode     test.dat
>>>>>>>>>   -dump-at-end  disabled
>>>>>>>>>   -bbdump
>>>>>>>>>   -verify-cache disabled
>>>>>>>>>   -machine      single_core
>>>>>>>>>   -enable-mongo disabled
>>>>>>>>>   -mongo-server 127.0.0.1
>>>>>>>>>   -mongo-port   27017
>>>>>>>>>   -bench-name
>>>>>>>>>   -tags
>>>>>>>>>   -run-tests    disabled
>>>>>>>>>   -execute-after-kill
>>>>>>>>>   -sync         0
>>>>>>>>>   -simpoint
>>>>>>>>>   -simpoint-interval 10 M
>>>>>>>>>   -simpoint-chk-name simpoint
>>>>>>>>>   -dramsim-device-ini-file ini/DDR3_micron_8M_8B_x16_sg15.ini
>>>>>>>>>   -dramsim-pwd  ../DRAMSim2
>>>>>>>>>   -dramsim-system-ini-file system.ini
>>>>>>>>>   -dramsim-results-dir-name
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.dramsim.log
>>>>>>>>> ----------------------------------------
>>>>>>>>> The console output is:
>>>>>>>>> ----------------------------------------
>>>>>>>>> Reading config file /home/ardalan/marss.dramsim/util/util.cfg
>>>>>>>>> Checkpoints: ['blackscholes']
>>>>>>>>> simconfig:
>>>>>>>>> -run
>>>>>>>>> -machine single_core
>>>>>>>>> # -corefreq 2G
>>>>>>>>> -logfile %(out_dir)s/%(bench)s.log
>>>>>>>>> -stats %(out_dir)s/%(bench)s.yml
>>>>>>>>> -dramsim-results-dir-name %(out_dir)s/%(bench)s.dramsim.log
>>>>>>>>> -dramsim-device-ini-file ini/DDR3_micron_8M_8B_x16_sg15.ini
>>>>>>>>> -consolelog %(out_dir)s/%(bench)s.log.console
>>>>>>>>> %(default_simconfig)s
>>>>>>>>> Total run configurations: 1
>>>>>>>>> 1 parallel simulation instances will be run.
>>>>>>>>> All files will be saved in: run/parsec_res
>>>>>>>>> All Threads are started
>>>>>>>>> Checkpoint blackscholes
>>>>>>>>> simconfig:
>>>>>>>>> -run
>>>>>>>>> -machine single_core
>>>>>>>>> # -corefreq 2G
>>>>>>>>> -logfile
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.log
>>>>>>>>> -stats /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.yml
>>>>>>>>> -dramsim-results-dir-name
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.dramsim.log
>>>>>>>>> -dramsim-device-ini-file ini/DDR3_micron_8M_8B_x16_sg15.ini
>>>>>>>>> -consolelog
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.log.console
>>>>>>>>> -kill-after-run
>>>>>>>>> Config file written
>>>>>>>>> Starting Checkpoint: blackscholes
>>>>>>>>> Command:  /home/ardalan/marss.dramsim/qemu/qemu-system-x86_64 -m
>>>>>>>>> 2G -serial pty -nographic -drive
>>>>>>>>> cache=unsafe,file=/media/shared_folder/parsecROI.img -simconfig
>>>>>>>>> /home/ardalan/marss.dramsim/run/parsec_res/blackscholes.simcfg -loadvm
>>>>>>>>> blackscholes  -snapshot
>>>>>>>>> char device redirected to /dev/pts/5
>>>>>>>>> Writing to stdout completed
>>>>>>>>> Writing to output file completed
>>>>>>>>> Completed all simulation runs.
>>>>>>>>>
>>>>>>>>> ----------------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> http://www.marss86.org
>>>>>>>>> Marss86-Devel mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> http://www.marss86.org
>>>>>> Marss86-Devel mailing list
>>>>>> [email protected]
>>>>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to