Optimizing latency and CPU load in packet processing systems

Paul Emmerich, Daniel Raumer, Alexander Beifuss, Lukas Erlacher, Florian Wohlfart, Torsten M. Runge, Sebastian Gallenmuller, Georg Carle

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

22 Scopus citations

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.

Original languageEnglish
Title of host publicationProceedings of the 2015 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2015 - Part of SummerSim 2015 Multiconference
EditorsFranco Davoli, Malamati Louta, Imadeldin Mahgoub, Jose Saldana, Mohammad S. Obaidat, Jose L Marzo, Joel Rodrigues
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781510810600
DOIs
StatePublished - 30 Sep 2015
Event2015 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2015 - Chicago, United States
Duration: 26 Jul 201529 Jul 2015

Publication series

NameProceedings of the 2015 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2015 - Part of SummerSim 2015 Multiconference

Conference

Conference2015 International Symposium on Performance Evaluation of Computer and Telecommunication Systems, SPECTS 2015
Country/TerritoryUnited States
CityChicago
Period26/07/1529/07/15

Keywords

  • ITR
  • Linux
  • NAPI
  • NIC driver
  • commodity hardware
  • packet latency
  • packet processing

Fingerprint

Dive into the research topics of 'Optimizing latency and CPU load in packet processing systems'. Together they form a unique fingerprint.

Cite this