Skip to content
Open access

The Hidden Cost of Container Networking: CNI Overlay Throughput Constraints in Kubernetes-Managed Apache Spark Versus Native Hadoop MapReduce on Bare-Metal Edge Hardware

2026 · IEEE Access · Vol 14, pp. 134602-134611 · 0 citations · 26 references

TL;DR

Although cloud-native Spark offers a clear performance advantage over traditional MapReduce for speed-sensitive tasks, achieving high throughput requires high-bandwidth memory provisioning and the deployment of kernel-level eBPF networking techniques to mitigate Kubernetes network overhead.

Abstract

This paper examines the impact of migrating large-scale data processing frameworks from bare-metal servers to cloud-native environments on system performance. Specifically, we compare traditional Hadoop MapReduce deployed on bare-metal infrastructure with Apache Spark running on Kubernetes, using a 200 GB TeraSort workload. Our analysis shows that Spark reduces overall execution time by approximately $4.5\times $ . Through examination of system telemetry across CPU, memory, disk, and network components, we identify the hardware and software factors contributing to this performance improvement. The findings indicate that Hadoop’s legacy architecture causes prolonged CPU I/O wait states due to extensive persistent disk writes. In contrast, Spark uses DDR5 RAM and the operating system’s page cache to reduce reliance on physical storage, sustaining near-continuous user-space compute. However, this in-memory processing introduces an overhead from the Kubernetes Container Network Interface (CNI). While Spark eliminates the physical storage bottleneck, its software-defined networking overlay limits intra-cluster data shuffling, resulting in network throughput that is substantially lower than native bare-metal speeds. We conclude that although cloud-native Spark offers a clear performance advantage over traditional MapReduce for speed-sensitive tasks, achieving high throughput requires high-bandwidth memory provisioning and the deployment of kernel-level eBPF networking techniques to mitigate Kubernetes network overhead.

Read PDF

Similar papers

Open access Aug 2026

Kernel-Level Dynamic Priority Scheduling for Containers

A dynamic priority scheduling framework at the kernel level that enhances the CPU allocation to latency-sensitive containers running in Kubernetes environments and reveals a significant improvement in terms of latency reduction, enhanced throughput, efficient utilization of CPU resources, and stable performance of sche...

T. Rajkumar, Nishanth D., P. M et al. · 0 citations
Book Open access Sep 2026

Netkit: Specializing Linux Packet Delivery for Container Networks

Cloud-native microservices architectures rely on network namespaces for isolation, with the overhead of container communications remaining a critical performance bottleneck. While colocating containers on the same host mitigates some of this overhead, it cannot match the performance of communication within a single net...

Daniel Borkmann, Paul Chaignon · 0 citations

T !" : E ! icient Drop-in Networking for Database Systems

This work presents Tux, a kernel-bypass networking stack designed for database systems that achieves high performance without giving up compatibility and robustness, and implements T !" in a library called T !".

Xin-Jing Zhou, Viktor Leis, Xiang-Yao Yu et al. · 0 citations
Book Open access Sep 2026

You Can Always Get What You Want: CPU Virtualization Made Fast and Free

Dedicated VMs provide near bare-metal performance through CPU pinning, interrupt passthrough, and idle passthrough. In conventional deployments, however, these optimizations lock physical cores to individual VMs and prevent CPU sharing. In one of the world's largest cloud platforms, 74% of Dedicated VMs average below 1...

Yun Wang, Xing-Guo Jia, Ben Luo et al. · 0 citations
Open access Sep 2026

Optimizing Memory Management and Garbage Collection Overhead in Cloud-Native Java Applications

This paper investigates strategies for optimizing memory management and minimizing GC overhead in cloud-native Java applications, and analyzes modern garbage collection algorithms, evaluate native compilation via GraalVM, explore the memory impact of Virtual Threads, and formulate container-aware tuning strategies for...

Tulsiram Sharma, Shubham Agrawal · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.