NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ad Hoc Cloud Computing

Gary A. McGilvary, Adam Barker, Malcolm P. Atkinson

Introduction

Traditional cloud computing relies on dedicated, high-availability data centers. However, a massive "middle ground" of underutilized resources exists in startup servers, university computer labs, and corporate desktops that sit idle most of the time. This paper introduces a prototype for "ad hoc" cloud computing—a system designed to harvest these sporadically available and unreliable resources to create a functional cloud environment.

The challenge lies in turning these "sporadic" resources into a dependable platform. Unlike "volunteer computing" (e.g., SETI@home), which handles massively parallel tasks, ad hoc clouds must support general-purpose workloads, including I/O-intensive and memory-heavy tasks, while ensuring reliability, trust, and minimal interference with the primary host user.

System Architecture

The researchers built their prototype on top of the Berkeley Open Infrastructure for Network Computing (BOINC), introducing several critical modifications to support cloud-like functionality.

Overview of the Ad hoc Cloud architecture, illustrating the relationship between host users, cloud users, and organizational infrastructure.

Key components include:

  • V-BOINC (Virtualization): By using VirtualBox VMs instead of running jobs directly on the host OS, the system provides a consistent environment and isolates the "cloud guest" from the "host user," addressing trust and dependency issues.
  • Cloudlets: Virtual machines are grouped into "cloudlets"—sets of connected guests pre-configured for specific services (e.g., a cluster pre-configured for Matlab).
  • Reliability-Aware Scheduling: The server tracks a "reliability score" for every host based on its history. Jobs are prioritized for the most stable hosts to minimize disruptions.

Ensuring Continuity through P2P Snapshotting

The "secret sauce" of the system is a novel peer-to-peer (P2P) snapshotting mechanism. To prevent job loss when a host fails (e.g., a user reboots their machine), the system periodically takes snapshots of the VM's state and distributes them to other reliable hosts.

The P2P snapshotting mechanism distributes VM states across multiple hosts to ensure job continuity despite individual node failures.

If a host fails, the server detects the drop-out and restores the VM from the latest snapshot on a different host. The P2P algorithm ensures that the combined probability of all hosts holding a specific snapshot failing is less than 5%, maintaining high service availability even on flaky individual nodes.

Performance and Reliability Results

To evaluate the system, the authors used 36 months of Nagios monitoring data from 650 hosts at the University of Edinburgh. They replayed the most volatile periods of host activity on an experimental cluster (EDIM1) to test the ad hoc cloud's resilience.

The results were significant:

  • 93.3% Reliability: The system successfully completed nearly all tasks in highly unstable environments, a major improvement over standard BOINC which typically restarts tasks from scratch upon failure.
  • EC2-Equivalent Performance: Performance was found to be comparable to Amazon EC2 (m1.small and m1.medium instances) across various workloads, even with the overhead of virtualization and snapshotting.
  • Rapid Recovery: Host failures are detected within 10 seconds, with recovery initiated in under two minutes.

Limitations and Future Work

While promising, the current prototype is optimized for Local Area Networks (LANs). Extending it to Wide Area Networks (WANs) would introduce latency issues during large VM snapshot transfers. Additionally, the system is not yet suitable for interactive applications or those with heavy external database dependencies due to potential data inconsistencies during abrupt host failures. Future work will focus on optimizing the P2P snapshot scheduler and evaluating the system on live operational infrastructure with real-world user workloads.

Summary updated

BibTeX
@inproceedings{mcgilvary2015ad,
  author = {Gary A. McGilvary and Adam Barker and Malcolm P. Atkinson},
  title = {{Ad Hoc Cloud Computing}},
  booktitle = {CLOUD},
  year = {2015},
  doi = {10.1109/cloud.2015.153},
}
Figure