The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications
Resumo
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.
Palavras-chave:
Band-pass filters, Training, Degradation, System performance, Linux, High performance computing, Machine learning, Benchmark testing, Throughput, Hardware, tracing tools, strace, bpftrace, file I/O tracing, performance overhead
Publicado
13/11/2024
Como Citar
NASCIMENTO, Rodrigo Pereira do; VEL LEJBMAN, Alfredo Goldman.
The Tracer Files: Cracking the Case of Performance Impact in Tracing Linux File I/O for I/O-Intensive Applications. In: WORKSHOP ON CLOUD COMPUTING (WCC) - INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD), 36. , 2024, Hilo/Hawaii.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2024
.
p. 50-57.