The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications

Tracing file I/O operations in Linux is critical for understanding and optimizing application performance, particularly in I/O-intensive environments. However, the choice of tracing tool can dramatically impact the application throughput. This paper investigates the performance overhead associated with two widely used tracing tools - strace and bpftrace - when applied to file I/O operations. Through empirical evaluation using a controlled benchmark over 100 epochs, we compare the throughput distributions of training a machine learning model under both tools against a baseline without tracing. The results reveal that strace introduces significant performance degradation, reducing throughput by 17%. In contrast, bpftrace, leveraging the efficiency of BPF, reduces the throughput by only 1% compared to the baseline, while maintaining consistent performance across trials.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/sbac-padw64858.2024.00018
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications

Rodrigo Pereira do Nascimento, Alfredo Goldman vel Lejbman
Advanced Data Storage Technologies
article

The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications

Rodrigo Pereira do Nascimento, Alfredo Goldman vel Lejbman
article en

Abstract

Tracing file I/O operations in Linux is critical for understanding and optimizing application performance, particularly in I/O-intensive environments. However, the choice of tracing tool can dramatically impact the application throughput. This paper investigates the performance overhead associated with two widely used tracing tools - strace and bpftrace - when applied to file I/O operations. Through empirical evaluation using a controlled benchmark over 100 epochs, we compare the throughput distributions of training a machine learning model under both tools against a baseline without tracing. The results reveal that strace introduces significant performance degradation, reducing throughput by 17%. In contrast, bpftrace, leveraging the efficiency of BPF, reduces the throughput by only 1% compared to the baseline, while maintaining consistent performance across trials.

Instituto de Pesquisas Tecnológicas (BR)
Fundação de Amparo à Pesquisa do Estado de São Paulo
Openalex Percentile: Top 76%
Advanced Data Storage Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications — Rodrigo Pereira do Nascimento, Alfredo Goldman vel Lejbman · (2024) | TGRS Research Map | TGRS