Dear friends,
I ran the bzip2 benchmark in GEM5 with RISCV and there are few messages related 
to the size of physical memory and stack as you can see below. I checked the 
pagePtr in the /GEM5_RISCV/gem5/src/sim/system.cc which is caused the "Out of 
memory, please increase size of physical memory" message. Also I increased the 
device size in /GEM5_RISCV/gem5/src/mem/DRAMCtrl.py to change the size of 
physical memory file, but the result was the same. I want to know how should I 
do exactly  in order to solve the problem. It should be note that the stats.txt 
is empty after running the run_gem5_riscv_spec06_benchmark.sh in Gem5 with 
RISCV.
It would be perfect if you guide me.

aries@aries-HP-Z600-Workstation:~/GEM5_RISCV/gem5$ 
./run_gem5_riscv_spec06_benchmark.sh bzip2 
/home/aries/GEM5_RISCV/gem5/output_dir
Command line:
./run_gem5_riscv_spec06_benchmark.sh bzip2 
/home/aries/GEM5_RISCV/gem5/output_dir
================= Hardcoded directories ==================
GEM5_DIR:                                     /home/aries/GEM5_RISCV/gem5
SPEC_DIR:                                     /home/aries/cpu2006
==================== Script inputs =======================
BENCHMARK:                                    bzip2
OUTPUT_DIR:                                   
/home/aries/GEM5_RISCV/gem5/output_dir
==========================================================

Changing to SPEC benchmark runtime directory: 
/home/aries/cpu2006/benchspec/CPU2006/401.bzip2/run/run_base_ref_riscv.0000


--------- Here goes nothing! Starting gem5! ------------


warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jul 28 2017 11:14:51
gem5 started Jul 28 2017 11:15:11
gem5 executing on aries-HP-Z600-Workstation, pid 22450
command line: /home/aries/GEM5_RISCV/gem5/build/RISCV/gem5.opt 
--outdir=/home/aries/GEM5_RISCV/gem5/output_dir 
/home/aries/GEM5_RISCV/gem5/configs/example/spec06_config.py --benchmark=bzip2 
--benchmark_stdout=/home/aries/GEM5_RISCV/gem5/output_dir/bzip2.out 
--benchmark_stderr=/home/aries/GEM5_RISCV/gem5/output_dir/bzip2.err

Selected SPEC_CPU2006 benchmark
--> bzip2
Process stdout file: /home/aries/GEM5_RISCV/gem5/output_dir/bzip2.out
Process stderr file: /home/aries/GEM5_RISCV/gem5/output_dir/bzip2.err
['/home/aries/GEM5_RISCV/binaries_riscv/benchspec/CPU2006/401.bzip2/exe/bzip2_base.riscv',
 'input.source', '280']
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
info: Entering event queue @ 0.  Starting simulation...
**** REAL SIMULATION ****
warn: readlink() called on '/proc/self/exe' may yield unexpected results in 
various settings.
      Returning 
'/home/aries/GEM5_RISCV/binaries_riscv/benchspec/CPU2006/401.bzip2/exe/bzip2_base.riscv'
info: Increasing stack size by one page.
fatal: Out of memory, please increase size of physical memory.
Memory Usage: 644128 KBytes


Sincerely,
Artemis


[1484656507333_OutlookEmoji-1484656219114_image001.png.png]
Zeynab (Artemis) Mohseni
Researcher / PhD Candidate

ARIES RESEARCH CENTER
h<http://www.nebrija.es/aries>ttp://www.nebrija.es/aries<http://www.nebrija.es/aries>

La Dehesa de La Villa Campus
55, Prineos Street, Madrid, 28040
Spain

(+34) 91 452 11 00 (ext. 2807)
[email protected]<mailto:[email protected]>
www.nebrija.com<http://www.nebrija.com/>


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to