Cache Coherence Demystified: The MESI Protocol on Intel Granite Rapids

Deep dive into cache coherence and the MESI protocol on a 256-core Intel Granite Rapids system: microbenchmarks for ping-pong latency, false sharing, atomic contention, and lock primitives.

March 3, 2026 · 25 min · Sandeep Kumar

Understanding Linux perf: stat and record

What really happens in the kernel when you run perf stat or perf record.

December 4, 2025 · 8 min · Sandeep Kumar

Reading torch.profiler Correctly: Schedules, Labels, and CPU vs GPU Time

torch.profiler integrates PyTorch operator attribution, optional source stacks, and CUDA activity in one trace. Its numbers mean what you think only if you control the capture window, the labels and the host syncs.

October 9, 2026 · 63 min · Sandeep Kumar