Difference between revisions of "BBench"

From gem5
Jump to: navigation, search
m (Running BBench on Android with Gem5)
m (Running BBench on Android with Gem5)
Line 7: Line 7:
  
 
== Running BBench on Android with Gem5 ==
 
== Running BBench on Android with Gem5 ==
Everything required to run BBench is provided in the next section. You will need the kernel, the disk image, and the rcS script. The kernel and disk image should be placed in ''path_to_gem5_system/binaries'' and ''path_to_gem5_system/disks'' respectively. 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''.
+
Everything required to run BBench is provided in the next section. You will need the kernel, the disk image (containing BBench), and the rcS script. The kernel and disk image should be placed in ''path_to_gem5_system/binaries'' and ''path_to_gem5_system/disks'' respectively. 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:
 
You will also need to modify your Benchmarks.py file to include bbench, i.e. include a line like the following:

Revision as of 11:57, 9 November 2011

This page is under heavy construction

Source

A tarball of the BBench source can be found here:

BBench Source

Running BBench on Android with Gem5

Everything required to run BBench is provided in the next section. You will need the kernel, the disk image (containing BBench), and the rcS script. The kernel and disk image should be placed in path_to_gem5_system/binaries and path_to_gem5_system/disks respectively. 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']

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.

Building Your Own Android File System and Kernel

Coming Soon!

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.