Difference between revisions of "BBench-gem5"
(→Running BBench on Android with gem5) |
m (specifying working directory when running bbench; otherwise "configs/..." isn't recognized) |
||
Line 8: | Line 8: | ||
# Download and uncompress the ARM/Android [http://www.gem5.org/dist/current/bbench/vmlinux_and_config_arm.tgz Kernel] and place it in the /path_to_gem5_system/system/binaries directory | # Download and uncompress the ARM/Android [http://www.gem5.org/dist/current/bbench/vmlinux_and_config_arm.tgz Kernel] and place it in the /path_to_gem5_system/system/binaries directory | ||
# Download and uncompress the [http://www.gem5.org/dist/current/bbench/Gingerbread_disk_image.tgz Android Disk Image] and place it in the /path_to_gem5_system/system/disks directory | # Download and uncompress the [http://www.gem5.org/dist/current/bbench/Gingerbread_disk_image.tgz Android Disk Image] and place it in the /path_to_gem5_system/system/disks directory | ||
− | # Run <code>/path_to_gem5_root/build/ARM_FS/m5.fast configs/example/fs.py -b bbench --kernel=vmlinux.smp.mouse.arm</code> to run BBench on Android using ARM. | + | # Run <code>/path_to_gem5_root/build/ARM_FS/m5.fast configs/example/fs.py -b bbench --kernel=vmlinux.smp.mouse.arm</code> to run BBench on Android using ARM. Invoke from <code>/path_to_gem5_root</code>. |
'''Note: These instructions and images are only for Android on the ARM ISA.''' | '''Note: These instructions and images are only for Android on the ARM ISA.''' |
Revision as of 17:01, 10 January 2012
This page provides everything you need to get Android, and BBench, working on gem5. BBench is a new web-page rendering benchmark; you can read about it here: BBench. We have provided pre-compiled disk images and an Android kernel, as well as step-by-step instructions on how to get Android running on gem5 using the ARM ISA.
Contents
Running BBench on Android with gem5
Everything required to run BBench on gem5 is provided in the next section. You will need the kernel, the disk image (containing BBench), and the rcS script.
- Get gem5 from the Repository
- Download the basic full system files from the Download page
- Point the
M5_PATH
environment variable to this location. E.g, typeexport M5_PATH=/path_to_gem5_system/system/
- Download and uncompress the ARM/Android Kernel and place it in the /path_to_gem5_system/system/binaries directory
- Download and uncompress the Android Disk Image and place it in the /path_to_gem5_system/system/disks directory
- Run
/path_to_gem5_root/build/ARM_FS/m5.fast configs/example/fs.py -b bbench --kernel=vmlinux.smp.mouse.arm
to run BBench on Android using ARM. Invoke from/path_to_gem5_root
.
Note: These instructions and images are only for Android on the ARM ISA.
Android Full-System Files
These files contain everything you need to get Android, and BBench, up and running on gem5.
- Kernel -- Pre-compiled Android kernel and config file.
- Disk Image -- Disk image with a pre-compiled Android Gingerbread file system. This disk image contains all of the files generated during initial boot, as well as a self-terminating version of BBench and BusyBox.
- Clean Disk Image -- Disk image containing only the pre-compiled Android Gingerbread file system. This disk image contains no benchmarks and has never been booted.
- rcS Script -- Script for automating a BBench run on gem5. The disk images above contain modified startup scripts that load and execute rcS scripts.
Building Your Own Android File System and Kernel
Coming Soon!
Publications
If you use BBench or any of our benchmarks in your work please cite our IISWC 2011 paper:
A. Gutierrez, R.G. Dreslinski, T.F. Wenisch, T. Mudge, A. Saidi, C. Emmons, and N. Paver. Full-System Analysis and Characterization of Interactive Smartphone Applications. IEEE International Symposium on Workload Characterization, pages 81-90, Austin, TX, November 2011.