BBench
From gem5
This page is under heavy construction
Contents
Source
A tarball of the BBench source can be found here:
Full-System Files For Android with BBench
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.
- Create a directory where you will place your gem5 full-system files, call this directory system. Inside this directory create two separate directories, one called binaries and the other called disks.
- Point the M5_PATH environment variable to this location. E.g, type export M5_PATH=path_to_gem5_system/system/
- Place the kernel in the path_to_gem5_system/system/binaries/ directory
- Place the disk image in the path_to_gem5_system/system/disks/ directory
- Build the ARM bootloader and place it in the same directory as the kernel. The code for the bootloader is typically in path_to_gem5_root/system/arm/simple_bootloader/. Simply type make in this directory and the bootloader will be compiled. Copy the resulting boot.arm file to the same directory where you kernel is located. E.g., path_to_gem5_system/system/binaries/
- The default gem5 scripts look for a kernel called vmlinux.arm.smp.fb.2.6.38.8 and a disk image called android-mbr.img. You will have to either rename the files or create softlinks to them once you have downloaded and untarred them.
- The bbench.rcS file should be placed wherever you keep your rcS scripts. This is typically path_to_gem5_root/configs/boot/.
- You will also need to modify your Benchmarks.py file to include bbench, i.e., include a line like the following: 'bbench': [SysConfig('bbench.rcS', '256', 'android-mbr.img')]
- Assuming you have followed the steps above, and built a full-system version of gem5 for ARM, you should be able to type /path_to_gem5_root/build/ARM_FS/m5.fast -b bbench to run Android on ARM.
Note: Android only runs on the ARM ISA.
Android Full-System Files
Get an Android kernel and disk image containing BBench here.
Other Benchmarks
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, Austin, TX, November 2011.