计算机科学 > 分布式、并行与集群计算
[提交于 2026年5月24日]
标题:Beyond Thread States: Diagnosing Performance Degradation with eBPF and Thread Dynamics
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Nishant Saurabh Dr[v1] 2026年5月24日 星期日 23:29:24 UTC (1,031 KB)