Performance Characterization of Containers in Edge Computing Conference: ; ; CCS: Computer systems organization Embedded software CCS: Software and its engineering Software product lines
Ragini Gupta, Klara Nahrstedt · 2025
Read Performance Characterization of Containers in Edge Computing Conference: ; ; CCS: Computer systems organization Embedded software CCS: Software and its engineering Software product lines by Ragini Gupta, Klara Nahrstedt (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-02082.txt.
Introduction
Ragini Gupta and Klara Nahrstedt measure how software containers perform on small edge devices. Edge computing moves processing from distant data centers to nearby gadgets to cut delay and network load. Containers such as Docker package software for easy copying across unlike devices, but they bring their own costs: slow cold starts, tight memory, uneven network speeds, and clumsy input-output with attached sensors. The team benchmarked Docker on Raspberry Pi boards fitted with environmental sensors and cameras.
Their tests spanned small checks of processor, memory, and network behavior plus full workloads like AI inference and sensor handling. Container overhead hurt most in input-heavy and delay-sensitive tasks. The authors identify setup changes that soften those penalties. Their findings give deployers a realistic picture of where containerized edge computing works and where it strains.
Catalog record
| CREATOR | Ragini Gupta, Klara Nahrstedt |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-02082
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Performance Characterization of Containers in Edge Computing Conference: ; ; CCS: Computer systems organization Embedded software CCS: Software and its engineering Software product lines Ragini Gupta, Klara Nahrstedt Abstract . Edge computing addresses critical limitations of cloud computing—such as high latency and network congestion—by decentralizing processing from cloud to the edge. However, the need for software replication across heterogeneous edge devices introduces dependency and portability challenges, driving the adoption of containerization technologies like Docker. While containers offer lightweight isolation and deployment advantages, they introduce new bottlenecks in edge environments, including cold-start delays, memory constraints, network throughput variability, and inefficient I/O handling when interfacing with embedded peripherals. This paper presents an empirical evaluation of Docker containers on resource-constrained edge devices, using Raspberry Pi as a representative platform. We benchmark performance across diverse workloads, including microbenchmarks (CPU/memory/network profiling) and macrobenchmarks (AI inference, sensor I/O operations), to quantify the overheads of containerization in real-world edge scenarios. Our testbed comprises physical Raspberry Pi nodes integrated with environmental sensors and camera modules, enabling measurements of latency, memory faults, I/O throughput, and cold-start delays under varying loads. Key findings reveal trade-offs between container isolation and edge-specific resource limitations, with performance degradation observed in I/O-heavy and latency-sensitive tasks. We identify configuration optimizations to mitigate these issues, providing actionable insights for deploying containers in edge environments while meeting real-time and reliability requirements. This work advances the understanding of containerized edge computing by systematically evaluating its feasibility and pitfalls on low-power embedded systems. \@ACM@printacmreffalse 1. Background and Motivation Industry 4.0 and IoT growth are driving complex workloads to resource-constrained edge devices (sub-1GHz CPUs, \leq 1GB RAM, slow flash storage) that must reliably host services, process real-time sensor data, and maintain security with infrequent updates. Containerization addresses these challenges by providing lightweight isolation and portability, making Docker essential for edge platforms like Azure IoT Edge and AWS Greengrass ( edge2 ) . However, the performance impact of containers on ARM-based edge hardware running real-world IoT workloads remains poorly understood, particularly for sensor-driven applications with strict timing requirements with limited memory and processing power. Resource constraints demand of low-cost, system-on-chip platforms (like Raspberry Pi) require container solutions that simultaneously achieve two goals: (1) robust isolation and migration to ensure secure, portable execution across heterogeneous edge nodes, and (2) strict real-time performance guarantees that maintain low latency and minimal memory overhead, often with millisecond timing requirements for industrial and medical applications. Current research has yet to systematically evaluate these tradeoffs for practical IoT workloads, leaving a crucial knowledge gap as containerization becomes the de facto standard for edge computing. 2. Related Works Existing container optimization approaches for edge computing fall into four categories, each with their respective limitations: (1) GPU-focused training benchmarks ( edge3 ) and basic system tools ( edge6 ) that fail to capture real-time application inference performance where sensors and cameras must communicate directly with containers under strict latency constraints for low-cost, standardized system-on-board platforms like Raspberry Pi. Similarly, other related works along this direction ( edge1 ; edge8 ; edge9 ; edge10 ) have only evaluated isolated aspects (e.g. CPU/memory overhead or network latency) of containers in edge computing but miss end-to-end pipeline performance (sensor → containerized processing → actuation). (2) Resource-sharing solutions like CNTR ( CNTR ) and Pocket ( pocket ) tackle container bloat and startup latency by sharing common dependencies via daemon processes, but introduce trade-offs in isolation and security. (3) Monitoring systems like Colibri ( colibri ) enables fine-grained monitoring of containerized workloads, achieving significant reductions in SLA violations, but does not address the fundamental challenges of physical IO devices-to-container communication latency. Similarly, specialized optimizations for computer vision workloads, such as those presented by Tellez et al. ( face ) show promising results for containerized face recognition tasks. However, these approaches assume ideal network conditions and do not consider the varied network configurations provided by containers (host network mode, bridge network mode) that significantly impact performance in actual edge deployments. Moreoever, they do not even account for the complex interplay complex interplay between camera data acquisition, container communication overhead, and the inference execution which are important factors that dominate end-to-end latency in real-world edge applications.(4) Recent architectural innovations for edge containerization demonstrate promising directions but lack empirical validation under realistic conditions. Existing edge containerization architectures like ECAIoT ( journal ) and DAG-accelerator ( sec2 ) show promise but lack empirical validation under realistic constraints. Our container benchmarking can reveal critical network and I/O bottlenecks, enabling hardware-aware tuning of the DAG protocol. Testing these architectures on our edge testbed exposes failure modes and guides practical optimizations for real-world deployment. A critical limitation across existing work is the lack of comprehensive benchmarking for end-to-edge inference pipelines, particularly those involving real-time communication between hardware peripherals and containerized applications. This gap is especially pronounced for system-on-board platforms, where flash storage limitations, USB/GPIO bottlenecks, and thermal throttling can drastically impact containerized workloads. Many IoT workloads are tightly coupled with physical I/O, introducing additional overhead when transmitting data from the embedded system’s I/O interfaces to containerized applications. In contrast, evaluating containers in real-time, sensor-driven pipelines—like environmental sensing or camera streams reveals how containerization affects end-to-end inference latency (including the data transmission and processing latency), CPU usage, cache misses, and memory faults on system-on-board (SoC) devices. High cache misses indicate inefficient memory access patterns that slow down computation, while frequent memory faults (especially page faults) can stall execution or trigger kernel overhead—both of which degrade performance on memory-limited edge platforms. With comprehensive profiling of diverse IoT workloads across key system performance metrics, developers can identify optimal configuration and tuning parameters to meet the real-time requirements of edge computing platforms like the Raspberry Pi (RasPi). Contribution: The contribution of this paper is to provide actionable insights into how containerization impacts resource-constrained commodity hardware devices and guides configuration decisions for real-time IoT workloads. To facilitate reproducibility, we leverage Docker as a standardized, portable environment and compare its performance against native execution on the host OS. By analyzing end-to-end latency (I/O data input + data transmission + runtime), cache misses, memory faults, and CPU usage across varying input sizes, we systematically investigate the sources of performance variance—whether due to hardware constraints or Docker’s runtime behavior. Our integration of live peripherals (DHT11 sensor, Pi Camera) enables hardware-in-the-loop benchmarking, and all artifacts are open-sourced to support community replication and extension. This work offers practical guidance for deploying containerized services on constrained edge platforms while identifying trade-offs in reliability, isolation, and real-time performance. 3. Experimental Setup This paper presents a comprehensive performance characterization of containerized workloads on Raspberry Pi 3 Model B+, focusing on real-world IoT applications. We evaluate both micro- and macro-level workloads using Docker, aiming to understand the impact of containerization on constrained edge environments. Microbenchmarks , using tools like Sysbench and iperf, measure CPU, memory, and network overheads. Macrobenchmarks simulate sensor-driven IoT applications including facial recognition, environmental sensing, and Internet-of-Medical-Things (IoMT) workloads. Specifically, we implement: • An OpenCV-based facial recognition model using the TinyFace dataset ( tiny ) , and a K-Nearest Neighbors (KNN) classifier using dlib generated embeddings from live Raspi camera feeds, both executed for inference. • A web-based home automation service using DHT11 temperature and humidity sensors and LEDs, where the