/BenchmarkingAndroidx86

Measuring multi-tenancy in code offloading

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

Benchmarking Android-x86 through direct Dalvik-x86 invocation

How to compile Android AOSP for x86? or at least a similar Android-based system.

The idea of benchmarking an Amazon instance with Dalvik x86 is to find out the level of concurrency-based QoS that can be achieved in computational offloading operations.

Concept

alt text

Dalvik x86 can be created by following these scripts, we encourage to use AOSP code script 1, script 2

Alternatively, we can provide you with an Amazon EC2 Image (AMI) with a running Dalvik x86 Please contact at huber AT ut DOT ee for granting access

(./rund.sh) - script wrapper

alt text

Dalvik bytecode execution

alt text

Notice that foo.jar can be foo.apk

Before asking for help, check more detail instructions here Dalvik bytecode

Moreover, you can also follow discussion here Discussion

Installation

Project are in mavenized for automatic compilation.

$ cd ./Simulator
$ mvn clean install
$ cd target/
$ java -jar MobileOffloadSimulator-0.0.1-SNAPSHOT.jar cs.mc.ut.ee.simulator.Controller
Remote result: 6822.2117842 (client 1)
Remote result: 5922.5678763 (client 2)
and so on...
$ cd ./Manager
$ mvn clean install
$ cd target/
$ java -jar CodeOffload-0.0.1-SNAPSHOT.jar
Starting server...
Handling a code offload request (client 1)
Handling a code offload request (client 2)

How to cite

If you are using the tool for your research, please do not forget to cite. Thanks!