A Scalable and Virtualized Testbed for IoT Experiments

Ruichun Gu, Hongyu Zhang, Dong Pei, Junxing Zhang2018

Abstract

With the rapid development of information technology, the Internet of Things (IoT) is gaining significant attention, promoting a new wave of information and industrial advancement. However, evaluating IoT architectures before deployment is critical to reducing Capital Expenditure (CAPEX), Operating Expenditure (OPEX), and Time Expenditure (TIEX). This paper introduces a virtualized testbed that leverages a multi-host collaborative architecture to break the scalability bottleneck of traditional emulators, allowing researchers to run massive experiments with high data fidelity at a fraction of the cost.

Introduction

Before an IoT system is deployed in the wild, researchers must stress-test its architecture and protocols. Traditional physical testbeds face a "triple threat" of expenditures: high CAPEX for purchasing thousands of sensor nodes, significant OPEX for management, and substantial TIEX for setup and reconfiguration.

While software emulators like VMNet offer a cost-effective alternative by creating virtual sensors, they typically run on a single machine. As the number of virtual nodes increases, the host machine’s CPU becomes overwhelmed. Once this "bottleneck" is reached, emulation slows down, results become unreliable, and the experiment fails to reflect real-world conditions. This research identifies the specific limits of single-host emulation and proposes a distributed architecture to bypass them.

Methodology: Multi-Host Collaborative Architecture

To address the CPU bottleneck, the authors moved from a single-server setup to a distributed, multi-host collaborative model. The system integrates several technologies: Emulab for resource management, VMNet for WSN (Wireless Sensor Network) emulation, and TinyOS for the sensor operating environment.

In the proposed architecture, virtual nodes are distributed across multiple physical servers (domains). Each domain contains a virtual "sink node" that aggregates data from local domain nodes and transmits it to a central base station via wired links. This hybrid approach uses wired links for the backbone while emulating wireless links for the "last mile" sensor communications, balancing scalability with realism.

Figure 1: The multi-host collaborative architecture showing domain nodes, sink nodes, and the central base station.

To ensure data fidelity, the authors implemented mathematical interpolation to fill gaps in historical datasets (such as the Intel Lab and Great Duck Island datasets). Hermite interpolation ensures time continuity, while Inverse Distance Weighting and Cubic Spline Interpolation maintain spatial integrity for locations where physical sensors were absent in the original data.

Performance Evaluation

Through rigorous testing, the authors confirmed that CPU utilization is the primary limiting factor in IoT emulation, rather than memory or disk I/O. On a standard Xeon E3 server, performance degraded significantly once the simulation exceeded 80 virtual nodes—a threshold referred to as the "80-Node Wall."

By spreading the workload across multiple physical hosts, the system successfully flattens the CPU utilization curve. As shown in the results, the multi-host approach allows for significantly higher node counts while maintaining lower per-host resource consumption.

Figure 2: Comparison of CPU utilization between traditional single-host and the proposed multi-host architectures.

Key Results:

  • Time Efficiency: For a 100-node emulation over a 10-second window, the single-host setup required over 300 seconds of processing time. The multi-host setup completed the same task in approximately 150 seconds—a 50% reduction in TIEX.
  • CPU Relief: While the single-host mode hit 100% CPU utilization at 80 nodes, the multi-host mode maintained approximately 55% utilization even at 100 nodes, providing ample headroom for further scaling.
  • Scalability: The distributed approach effectively extended the experiment's capacity far beyond the physical limits of a single machine.

Conclusion and Future Work

The multi-host collaborative architecture provides a pragmatic solution for large-scale IoT testing. However, current limitations include a static configuration requirement, where network topologies cannot be modified during an active experiment. Future work will focus on migrating the system to a cloud-based platform like OpenStack to enable dynamic resource scheduling and on-the-fly configuration changes without restarting the simulation.

Summary updated

BibTeX
@misc{gu2018scalable,
  author = {Ruichun Gu and Hongyu Zhang and Dong Pei and Junxing Zhang},
  title = {{A Scalable and Virtualized Testbed for IoT Experiments}},
  year = {2018},
  doi = {10.4108/eai.28-9-2017.2273310},
}
Figure