Hi all,

 

         I also try to run 0xbench on gem5. However, when I start the
application, it always says that "when an app was designed for a smaller
screen, a zoom control will appear by the clock" and stops here. So how to
handle it?

 

         Thanks.

 

Best regards, 

Yongbing Huang

 

From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On
Behalf Of Fangfei Liu
Sent: Thursday, March 21, 2013 9:36 AM
To: gem5 users mailing list
Subject: [gem5-users] questions about checkpoint restore

 

Hi,

 

I want to run some Android benchmarks (0xbench) in full system mode. I put
the APK file under /system/app directory in the Gingerbread disk image and
was able to launch the app with atomic CPU and without cache. I didn't do
any trick as bbench did to terminate the simulator automatically because I
don't think I can run these benchmarks to completion. 

 

Basically, I want to take a checkpoint right after OS is booted using atomic
mode without caches, and then restore the checkpoint but run the benchmark
using arm_detailed cpu with caches. I find I can restore from the checkpoint
with OS booted but it seems that the benchmark is not launched (but the
number of instructions is advancing). I tried to restore the checkpoint
using atomic cpu mode and it works. I was wondering whether I can take
checkpoint in atomic mode without cache and restore checkpoint in another
cpu mode with cache?

 

The following is the .rcS file I'm using:

 

run_zeroxbench_test() {

    am start -a android.intent.action.MAIN -n
org.zeroxlab.zeroxbenchmark/org.zeroxlab.zeroxbenchmark.TesterJavascript

    return

}

sleep 10

/sbin/m5 checkpoint

/sbin/m5 dumpstats

/sbin/m5 resetstats

run_zeroxbench_test 

 

This is the command line that I used to take checkpoint:

build/ARM/gem5.opt --outdir=sunspider_stats2/ configs/example/fs.py -b
sunspider --kernel="vmlinux.smp.mouse.arm" --frame-capture
--checkpoint-dir="sunspider_checkpoint"

 

I terminate the simulator manually after the benchmark began to run.

 

This is the command line that I restored the checkpoint:

build/ARM/gem5.opt --outdir=sunspider_stats2/ configs/example/fs.py -b
sunspider -r 1 --kernel="vmlinux.smp.mouse.arm" --frame-capture
--checkpoint-dir="sunspider_checkpoint" --caches --cpu-type=arm_detailed
--l1d_size="32kB" --cacheline_size=64 --l1d_assoc=4 --l1i_size="32kB"
--l1i_assoc=4 --l2cache --l2_size="512kB" --l2_assoc=8 --maxinsts=2000000000

 

Best regards

Fangfei

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to