Hi
The command line refers to the URL:http://www.m5sim.org/TraceCPU 。The
difference is that I want to simulate an android application in full system.
Sometimes ,when I reduces the simulated instructions,it can work, such as
add "-I 1000" in the command line. However, I can not figure out why in
cannot simulate the whole process.
Regards
crown
At 2017-10-28 20:18:47, "Matthias Jung" <[email protected]> wrote:
>Hi,
>
>what confuses me is that your command line is different than the one reported
>by gem5.
>
>As a first check: did you try to use elastic traces as described in the wiki?
>Does this work for you?
>
>Regards
>Matthias
>
>> Am 26.10.2017 um 08:59 schrieb crown <[email protected]>:
>>
>> 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
>>
>>
>>
>> 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>_______________________________________________
>gem5-users mailing list
>[email protected]
>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users