Hi:
Recently, I have tried to use gem5 with the --cpu-type=TraceCPU.
However,it can not simulate enough isntructions. Here are the messages:
./build/ARM/gem5.opt --outdir=./TraceCPU configs/example/fs.py
--kernel=vmlinux-gem5-android
--disk-image=ARMv7a-ICS-Android.SMP.Asimbench-v3.img --os-type=android-ics
--machine-type=VExpress_EMM --cpu-typ=O3_ARM_v7a_3 --script=k9mai
--data-trace-file=data.gz --inst-trace-file=inst.gz --caches --l1i_size=16kB
--l1i_assoc=4 --l1d_assoc=4 --l1d_size=em-size=512MB --mem-type=SimpleMemory
--frame-capture --dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb -n
1
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 20 2017 13:41:30
gem5 started Oct 26 2017 14:47:26
gem5 executing on 302c, pid 30063
command line: ./build/ARM/gem5.opt --outdir=./TraceCPU configs/example/fs.py
--kernel=vmlinux-gem5-android --disk-image=Aimbench-v3.img
--os-type=android-ics --machine-type=VExpress_EMM --cpu-typ=O3_ARM_v7a_3
--script=k9mail.rcS --elastic-tradata.gz --inst-trace-file=inst.gz --caches
--l1i_size=16kB --l1i_assoc=4 --l1d_assoc=4 --l1d_size=16kB --cacheline=64
--m=SimpleMemory --frame-capture
--dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb -n 1 -r 1
For elastic trace, over-riding Simple Memory latency to 1ns.
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/home/crown/gem5/workloads/binaries/vmlinux-gem5-android
Listening for system connection on port 5900
Listening for system connection on port 3456
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7001
info: @0: regProbeListeners() called, startTraceInst = 0
info: @0: No. of instructions committed = 0, registering elastic probe listeners
Switch at curTick count:10000
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 42800784706530. Starting simulation...
Switched CPUS @ tick 42800784716530
switching cpus
info: Entering event queue @ 42800784716530. Starting simulation...
warn: User mode does not have SPSR
warn: User mode does not have SPSR
**** REAL SIMULATION ****
info: Entering event queue @ 42800784717000. Starting simulation...
warn: instruction 'mcr icialluis' unimplemented
warn: instruction 'mcr dcisw' unimplemented
warn: instruction 'mcr bpiall' unimplemented
42806734169500: system.terminal: attach terminal 0
panic: Packet queue system.cpu.dcache.cpu_side-CpuSidePort has grown beyond 100
packets
Memory Usage: 967152 KBytes
Program aborted at tick 42811959470500
similiar. sometimes the message can be:
**** REAL SIMULATION ****
info: Entering event queue @ 42800784717000. Starting simulation...
Exiting @ tick 42800784834000 because a thread reached the max instruction
count 0
I wonder how many instructions it can simulate? Is anybody here can help me ?
How can I use gem5 with this model?
yours sincerely
crown
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users