{"title":"Understanding and Enhancing Linux Kernel-based Packet Switching on WiFi Access Points","authors":"Shiqi Zhang, Mridul Gupta, Behnam Dezfouli","doi":"arxiv-2408.01013","DOIUrl":null,"url":null,"abstract":"As the number of WiFi devices and their traffic demands continue to rise, the\nneed for a scalable and high-performance wireless infrastructure becomes\nincreasingly essential. Central to this infrastructure are WiFi Access Points\n(APs), which facilitate packet switching between Ethernet and WiFi interfaces.\nDespite APs' reliance on the Linux kernel's data plane for packet switching,\nthe detailed operations and complexities of switching packets between Ethernet\nand WiFi interfaces have not been investigated in existing works. This paper\nmakes the following contributions towards filling this research gap. Through\nmacro and micro-analysis of empirical experiments, our study reveals insights\nin two distinct categories. Firstly, while the kernel's statistics offer\nvaluable insights into system operations, we identify and discuss potential\npitfalls that can severely affect system analysis. For instance, we reveal the\nimplications of device drivers on the meaning and accuracy of the statistics\nrelated to packet-switching tasks and processor utilization. Secondly, we\nanalyze the impact of the packet switching path and core configuration on\nperformance and power consumption. Specifically, we identify the differences in\nEthernet-to-WiFi and WiFi-to-Ethernet data paths regarding processing\ncomponents, multi-core utilization, and energy efficiency. We show that the\nWiFi-to-Ethernet data path leverages better multi-core processing and exhibits\nlower power consumption.","PeriodicalId":501291,"journal":{"name":"arXiv - CS - Performance","volume":"96 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Performance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.01013","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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.