arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.01013cs.NIcs.ARcs.OScs.PF
收藏

理解并增强基于Linux内核的WiFi接入点数据包交换

Understanding and Enhancing Linux Kernel-based Packet Switching on WiFi Access Points

Shiqi Zhang, Mridul Gupta, Behnam Dezfouli

AI总结:

本文通过宏观与微观实验分析,揭示Linux内核在WiFi AP上以太网与WiFi间数据包交换的统计陷阱及路径与核心配置对性能和功耗的影响,并发现WiFi到以太网路径多核利用更优、功耗更低。

摘要:

随着WiFi设备数量及其流量需求的持续增长,对可扩展且高性能的无线基础设施的需求变得日益重要。这一基础设施的核心是WiFi接入点(AP),它们负责在以太网与WiFi接口之间进行数据包交换。尽管AP的数据平面依赖于Linux内核来完成数据包交换,但现有工作尚未对以太网与WiFi接口之间数据包交换的详细操作和复杂性进行深入研究。本文为填补这一研究空白做出了以下贡献。通过对实证实验的宏观和微观分析,我们的研究揭示了两个不同类别的见解。首先,虽然内核统计数据为系统运行提供了有价值的见解,但我们识别并讨论了可能严重影响系统分析的潜在陷阱。例如,我们揭示了设备驱动程序对与数据包交换任务和处理器利用率相关的统计数据的含义和准确性的影响。其次,我们分析了数据包交换路径和核心配置对性能和功耗的影响。具体而言,我们识别了以太网到WiFi和WiFi到以太网数据路径在处理组件、多核利用率和能效方面的差异。我们表明,WiFi到以太网数据路径能够更好地利用多核处理,并表现出更低的功耗。

英文摘要:

As the number of WiFi devices and their traffic demands continue to rise, the need for a scalable and high-performance wireless infrastructure becomes increasingly essential. Central to this infrastructure are WiFi Access Points (APs), which facilitate packet switching between Ethernet and WiFi interfaces. Despite APs' reliance on the Linux kernel's data plane for packet switching, the detailed operations and complexities of switching packets between Ethernet and WiFi interfaces have not been investigated in existing works. This paper makes the following contributions towards filling this research gap. Through macro and micro-analysis of empirical experiments, our study reveals insights in two distinct categories. Firstly, while the kernel's statistics offer valuable insights into system operations, we identify and discuss potential pitfalls that can severely affect system analysis. For instance, we reveal the implications of device drivers on the meaning and accuracy of the statistics related to packet-switching tasks and processor utilization. Secondly, we analyze the impact of the packet switching path and core configuration on performance and power consumption. Specifically, we identify the differences in Ethernet-to-WiFi and WiFi-to-Ethernet data paths regarding processing components, multi-core utilization, and energy efficiency. We show that the WiFi-to-Ethernet data path leverages better multi-core processing and exhibits lower power consumption.

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

↑