Optimizing latency and CPU load in packet processing systems
- 1 July 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-8
Abstract
High-speed network cards supporting 10 or 40GbE (Gigabit Ethernet) are available today. Software frameworks for high-speed packet reception and transmission were created to exhaust the performance of these cards. However, these frameworks are not applicable as general-purpose solution. Thus, it is necessary to revisit general purpose network IO software that was designed more than a decade ago. In standard Linux settings, connectivity between applications and physical networks happens via the New API (NAPI). This motivated us to investigate how underlying NIC drivers can be adapted to improve latency in combination with the Linux NAPI. Based on testbed measurements, we propose an optimized algorithm for the NIC driver to dynamically adapt the Interrupt Throttling Rate (ITR). We implemented the algorithm and evaluated it with latency and throughput measurements based on the Linux module of Open vSwitch that operates on top of the NAPI. Our measurements show that our new ITR algorithm improves the packet latency without affecting the CPU load as much as other solutions.Keywords
This publication has 11 references indexed in Scilit:
- A study of network stack latency for game servers2014
- Performance characteristics of virtual switching2014
- Validated Model-Based Performance Prediction of Multi-Core Software RoutersPIK - Praxis der Informationsverarbeitung und Kommunikation, 2014
- High speed network traffic analysis with commodity multi-core systems2010
- RouteBricks2009
- Implementation and experimental performance evaluation of a hybrid interrupt-handling schemeComputer Communications, 2009
- Pc-based software routers2008
- Linux Software Router: Data Plane Optimization and Performance EvaluationJournal of Networks, 2007
- HIPACM SIGOPS Operating Systems Review, 2001
- Eliminating receive livelock in an interrupt-driven kernelACM Transactions on Computer Systems, 1997