ebpfbased distributed tracing in Linux Kernel 6.8

The 03:14 AM Panic My phone buzzed against the nightstand at 03:14 AM. The alert was blunt: node us-east-1a-app-worker-09f was unresponsive, the kernel log was flooding with RCU stall detected on CPU, and packet loss on the primary interface had crossed ninety-eight percent. By the time I SSH’d into the serial console, the system was … Read more

High-Throughput eBPF-Based Distributed Tracing Overhead

The 14% CPU Tax: Anatomy of a Tracing Disaster The call trace didn’t lie, but it did make me want to throw my ThinkPad through the data center window. It was 3:14 AM on a Tuesday, and a tier-one edge router processing 1.4 million packets per second on a dual-socket AMD EPYC 7763 was dropping … Read more

eBPF-Based Distributed Tracing Overhead: Kernel Insight

The eBPF Performance Tax Latency spike. P99 through the roof. Pages screaming at 3 AM. Again. We deployed aggressive ebpfbased distributed tracing across our core API cluster, convinced we were finally going to stare down those ephemeral tail latencies. We bought into the hype: unparalleled visibility, minimal overhead, kernel-native insights. Instead, our carefully tuned kernel … Read more

eBPF-Based Distributed Tracing: Kernel 6.8+ Overhead Deep Dive

[ALERT] 2024-10-24T04:12:09.102Z – api-gateway-prod-7d4b9c – HighTailLatency: p99 latency on target endpoint /checkout jumped from 520µs to 2.1ms across 40 nodes. Error budget burning at 14x normal rate. My coffee was still warm, but the adrenaline had already burned a hole through my stomach. There was no deployment of application code. No sudden traffic surge from … Read more

eBPF-Based Distributed Tracing Overhead: High-Throughput Kernels

The Unseen Tax: eBPF-Based Distributed Tracing Overhead in High-Throughput Linux Kernels Three AM is not a time for philosophy. It is a time for stale coffee, glaring terminal windows, and the dull panic of a production bleedout. Last Tuesday, our p99 latency for `api.prod-us-east-2.mycompany.io/v2/payments` spiked from a predictable 45 milliseconds to a vertical wall of … Read more

ebpfbased distributed tracing in Envoy: Fix Leaks & Overhead

The 03:14 AM OOM Sweep [Wed Oct 18 03:14:02 2023] oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=900 [Wed Oct 18 03:14:02 2023] CPU: 37 PID: 14892 Comm: envoy Kdump: nullptr Tainted: G OE 5.15.0-88-generic #98-Ubuntu [Wed Oct 18 03:14:02 2023] Mem-Total: 32901416kB, AnonPages: 29841904kB, Shmem: 11232kB, Slab: 412091kB [Wed Oct 18 03:14:02 2023] Active(anonymous): 18402912 Inactive: 11419024 Isolated:₀ … Read more