Politecnico di Torino (logo)

Assessing the impact of Linux networking on CPU consumption

Davide Miola

Assessing the impact of Linux networking on CPU consumption.

Rel. Fulvio Giovanni Ottavio Risso. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering), 2023

PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (4MB) | Preview

As network interfaces in the data-center get faster and faster, and an increasing portion of services is implemented in software, we wonder how many CPU cycles our servers are dedicating to handling network traffic. In fact, real world measurements always represent the first step to evaluate whether new optimizations are needed, in particular given the claim, coming from some SmartNIC vendors, that this cost can be up to 30% of the total amount of CPU cycles available in a data center. This work describes the design and functionality of a novel tool, Netto, that enables in depth observation and monitoring of the Linux kernel’s networking stack in real time, by exploiting the tracing capabilities of eBPF, an affirmed technology which dramatically enhances Linux’s observability by allowing the dynamic injection of user code into the kernel. It is also shown how a dynamic breakdown of the individual components of the measured networking cost can be built on the fly by collecting and analyzing CPU stack traces.

Relators: Fulvio Giovanni Ottavio Risso
Academic year: 2023/24
Publication type: Electronic
Number of Pages: 70
Corso di laurea: Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering)
Classe di laurea: New organization > Master science > LM-32 - COMPUTER SYSTEMS ENGINEERING
Aziende collaboratrici: UNSPECIFIED
URI: http://webthesis.biblio.polito.it/id/eprint/28639
Modify record (reserved for operators) Modify record (reserved for operators)