arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.02082cs.PF
收藏

边缘计算中容器的性能表征

Performance Characterization of Containers in Edge Computing

Ragini Gupta, Klara Nahrstedt

AI总结:

本文在Raspberry Pi边缘设备上实证评估Docker容器性能,通过微基准和宏基准测试量化容器化开销,揭示IO密集与延迟敏感任务的性能下降,并提出配置优化方案。

摘要:

边缘计算通过将处理从云端分散到边缘,解决了云计算的关键局限,例如高延迟和网络拥塞。然而,在异构边缘设备之间进行软件复制带来了依赖性和可移植性挑战,推动了Docker等容器化技术的采用。虽然容器提供了轻量级隔离和部署优势,但它们在边缘环境中引入了新的瓶颈,包括冷启动延迟、内存约束、网络吞吐量波动以及与嵌入式外设交互时低效的IO处理。本文在资源受限的边缘设备上对Docker容器进行了实证评估,使用Raspberry Pi作为代表性平台。我们在多样化的负载上对性能进行了基准测试,包括微基准测试(CPU、内存、网络剖析)和宏基准测试(AI推理、传感器IO操作),以量化真实边缘场景中容器化的开销。我们的测试平台由集成了环境传感器和摄像头模块的物理Raspberry Pi节点组成,能够在不同负载下测量延迟、内存故障、IO吞吐量和冷启动延迟。关键发现揭示了容器隔离与边缘特定资源限制之间的权衡,在IO密集型和延迟敏感型任务中观察到性能下降。我们确定了配置优化以缓解这些问题,为在边缘环境中部署容器同时满足实时性和可靠性要求提供了可操作的见解。这项工作通过在低功耗嵌入式系统上系统评估容器化边缘计算的可行性和缺陷,推进了对其的理解。

英文摘要:

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 IO 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 IO 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, IO 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 IO 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑