Beyond Thread States: Diagnosing Performance Degradation with eBPF and Thread Dynamics

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Landau, Diogo, Barbosa, Jorge G., Saurabh, Nishant
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914598876086272
author Landau, Diogo
Barbosa, Jorge G.
Saurabh, Nishant
author_facet Landau, Diogo
Barbosa, Jorge G.
Saurabh, Nishant
contents Online Data-Intensive applications face performance degradation from load variability and resource interference. While Thread State Analysis (TSA) based approaches enable identifying constrained subsystems, they lack the granularity to reveal the inter-thread dependencies that propagate degradation. In this paper, we present an application-agnostic performance degradation analysis method that extends TSA by capturing fine-grained thread dynamics. We implemented $16$ eBPF-based metrics across six kernel subsystems, including scheduling, VFS, networking, futex, multiplexing IO, and block IO which enables tracing thread interactions with specific resources like futexes, sockets, and disks. Our method leverages the fact that performance degradation propagates along inter-thread dependencies, and a subset of thread-resource interactions can enable capturing common degradation patterns. To this end, we employ a selective thread tracking algorithm that traces performance issues from entry-point threads to constrained resources. Experimentation with diverse applications under variable workloads and resource contention shows our method successfully diagnoses CPU, disk, lock, and external service contention with minimal overhead, while also revealing internal application constraints.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25298
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Beyond Thread States: Diagnosing Performance Degradation with eBPF and Thread Dynamics
Landau, Diogo
Barbosa, Jorge G.
Saurabh, Nishant
Distributed, Parallel, and Cluster Computing
Performance
Online Data-Intensive applications face performance degradation from load variability and resource interference. While Thread State Analysis (TSA) based approaches enable identifying constrained subsystems, they lack the granularity to reveal the inter-thread dependencies that propagate degradation. In this paper, we present an application-agnostic performance degradation analysis method that extends TSA by capturing fine-grained thread dynamics. We implemented $16$ eBPF-based metrics across six kernel subsystems, including scheduling, VFS, networking, futex, multiplexing IO, and block IO which enables tracing thread interactions with specific resources like futexes, sockets, and disks. Our method leverages the fact that performance degradation propagates along inter-thread dependencies, and a subset of thread-resource interactions can enable capturing common degradation patterns. To this end, we employ a selective thread tracking algorithm that traces performance issues from entry-point threads to constrained resources. Experimentation with diverse applications under variable workloads and resource contention shows our method successfully diagnoses CPU, disk, lock, and external service contention with minimal overhead, while also revealing internal application constraints.
title Beyond Thread States: Diagnosing Performance Degradation with eBPF and Thread Dynamics
topic Distributed, Parallel, and Cluster Computing
Performance
url https://arxiv.org/abs/2605.25298