Skip to main content
QUICK REVIEW

[Paper Review] Unleashing the Power of Mobile Cloud Computing using ThinkAir

Sokol Kosta, Andrius Auçinas|arXiv (Cornell University)|May 16, 2011
IoT and Edge/Fog ComputingComputer Science21 references50 citations
TL;DR

ThinkAir is a mobile cloud computing framework that enables dynamic, method-level code offloading to the cloud using virtual machine (VM) cloning and parallel execution. By dynamically allocating and managing multiple VMs on-demand, it reduces execution time and energy consumption by up to two orders of magnitude for compute-intensive tasks like the N-queens puzzle and face detection.

ABSTRACT

Smartphones have exploded in popularity in recent years, becoming ever more sophisticated and capable. As a result, developers worldwide are building increasingly complex applications that require ever increasing amounts of computational power and energy. In this paper we propose ThinkAir, a framework that makes it simple for developers to migrate their smartphone applications to the cloud. ThinkAir exploits the concept of smartphone virtualization in the cloud and provides method level computation offloading. Advancing on previous works, it focuses on the elasticity and scalability of the server side and enhances the power of mobile cloud computing by parallelizing method execution using multiple Virtual Machine (VM) images. We evaluate the system using a range of benchmarks starting from simple micro-benchmarks to more complex applications. First, we show that the execution time and energy consumption decrease two orders of magnitude for the N-queens puzzle and one order of magnitude for a face detection and a virus scan application, using cloud offloading. We then show that if a task is parallelizable, the user can request more than one VM to execute it, and these VMs will be provided dynamically. In fact, by exploiting parallelization, we achieve a greater reduction on the execution time and energy consumption for the previous applications. Finally, we use a memory-hungry image combiner tool to demonstrate that applications can dynamically request VMs with more computational power in order to meet their computational requirements.

Motivation & Objective

  • Address the limitations of existing mobile cloud frameworks like MAUI and CloneCloud, which suffer from poor scalability or rigid pre-processing requirements.
  • Enable on-demand, elastic resource allocation in mobile cloud environments to meet varying application workloads and deadlines.
  • Support dynamic parallelization of method-level computations by automatically spawning, managing, and destroying multiple VM instances as needed.
  • Reduce energy consumption and execution time for mobile applications through intelligent code offloading and VM-based parallelism.
  • Provide a lightweight, extensible framework that requires minimal code changes for developers while supporting secure and efficient remote execution.

Proposed method

  • Uses full smartphone OS virtualization in the cloud, treating each VM as a clone of the client device to ensure binary compatibility.
  • Employs a dynamic VM manager that creates, resumes, suspends, and destroys VMs on-demand based on workload demands and resource availability.
  • Applies method-level code offloading, where only specific methods are migrated to the cloud, minimizing data transfer overhead.
  • Splits computationally intensive tasks (e.g., N-queens, virus scanning) across multiple VMs, enabling parallel execution and load balancing.
  • Integrates profilers and a compiler toolchain to identify offloadable methods and annotate code with metadata for remote execution.
  • Supports secure remote execution via shared secrets and planned encryption for privacy-sensitive data, with future support for SecureRemoteable classes.

Experimental results

Research questions

  • RQ1How can mobile cloud computing frameworks support on-demand, elastic allocation of computational resources to meet dynamic application demands?
  • RQ2To what extent can parallel execution across multiple VMs reduce execution time and energy consumption in mobile cloud offloading?
  • RQ3Can method-level offloading with full OS virtualization achieve better scalability and lower overhead than process-level or application-level offloading?
  • RQ4How does the overhead of VM creation, data transfer, and synchronization affect performance for different types of mobile applications?
  • RQ5What mechanisms can be used to optimize data transfer and ensure security in remote method execution without compromising performance?

Key findings

  • Execution time and energy consumption for the N-queens puzzle were reduced by two orders of magnitude (100x) when using cloud offloading with multiple VMs.
  • For face detection and virus scanning applications, ThinkAir achieved a one-order-of-magnitude (10x) reduction in execution time and energy consumption.
  • Parallel execution across multiple VMs significantly improved performance, with diminishing returns beyond 4–8 VMs due to synchronization and communication overhead.
  • The system demonstrated effective on-demand VM provisioning, with dynamic scaling enabling efficient handling of memory-intensive and CPU-intensive workloads.
  • Energy efficiency varied by network type, with 3G being more efficient than WiFi for larger data transfers, especially in high-parallelization scenarios.
  • The framework’s conservative data transfer strategy—sending full object states—was identified as a performance bottleneck, prompting ongoing work on static analysis and data caching for optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.