xCapture v3: Efficient, Always-On Thread Level Observability
summary
xCapture v3 is an eBPF-based, production-ready thread activity sampler with an xtop frontend that stores history as CSV/parquet and can be piped to DuckDB or Kafka. It claims order of magnitude less CPU than running "top", samples threads once per second with about 1 ms kernel sampling overhead, and supports passive sampling (no probes on critical paths). Demos show per-thread IO histograms separating SSD vs spinning disk, TCP stats pointing at Oracle port 1521, and a Java thread stuck in uninterruptible sleep due to a page-fault-caused swap.
AI-written summary · about
chapters (12)
- 0:00Introduction to xCapture
- 1:02How xCapture works
- 2:28Demo XTOP overview
- 4:37Filtering and zooming data
- 6:42IO latency analysis
- 9:44Async IO and IO_uring
- 10:04User-level thread analysis
- 12:42TCP socket statistics
- 14:07MySQL and stack traces
- 15:58Java thread investigation
- 18:33Passive sampling mode
- 19:37Architecture and setup
