Tag: #kernel
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 16 posts
Triton Gluon: The Language That Hand-Writes the Layouts the Compiler Used to Hide
Gluon is a low-level GPU language built on the same compiler stack as Triton — it hands kernel authors the layouts, shared memory, and warp specialization that Triton normally keeps hidden. Its reason for existing is cle
2026-07-16 · 19 min read #gpu#triton#kernel#compiler#performanceThe eBPF Verifier Only Tells You Where It Stopped — Measuring the Diagnostic Gap Across 235 Reproduced Rejections
Anyone who has used eBPF has lived this: the verifier rejects your program, and the error message points at a line that looks perfectly innocent. A paper published in July 2026 is the first to put a number on that frustr
2026-07-16 · 18 min read #ebpf#linux#kernel#debugging#developer-experiencesched_ext Sub-Schedulers — the Per-cgroup Scheduler That Arrived Half-Done in Kernel 7.1
Linux 7.1 (released June 14, 2026) landed cgroup sub-scheduler support for schedext. The goal is clear — attach a BPF scheduler anywhere in the cgroup tree, let parent schedulers dynamically allocate CPU to their childre
2026-07-16 · 13 min read #linux#kernel#scheduler#cgroups#bpfbcachefs Drops the Experimental Tag from Erasure Coding — and What It Actually Means
On September 29, 2025, Linus Torvalds erased 117,483 lines of bcachefs code from the kernel in a single commit, and bcachefs became a filesystem shipped as a DKMS module, like ZFS. That was the end of the drama — the rea
2026-07-16 · 17 min read #linux#kernel#filesystem#bcachefs#storageKernel Tuning for Low-Latency Trading Systems — The War Against Microseconds
How to tune the Linux kernel in domains like HFT and market making where microseconds decide profit and loss. Covers CPU isolation recipes, NUMA alignment, the kernel-bypass spectrum, C-state pinning, PTP time synchroniz
2026-06-13 · 17 min read #linux#kernel#low-latency#trading#performanceContainers Are a Lie — The Kernel Truth Behind cgroups and Namespaces
There is no container object in the kernel. A tour of the seven namespaces, hands-on cgroup v2 file manipulation, building a mini container with unshare and pivotroot, overlayfs, capabilities, and seccomp — we dissect ea
2026-06-13 · 17 min read #linux#kernel#container#cgroups#namespaceseBPF Fundamentals — Programs, Maps, and the World of the Verifier
A ground-up tour of how eBPF changed Linux kernel programming. We cover program types and maps, how the verifier works, and build a first eBPF program with libbpf and CO-RE from scratch.
2026-06-13 · 19 min read #ebpf#linux#kernel#libbpf#observabilityThe Evolution of the Linux CPU Scheduler — From CFS to EEVDF
We follow the evolution of the Linux scheduler, from CFS implementing fairness with vruntime and a red-black tree, to EEVDF which became the default in kernel 6.6 to address latency-sensitive workloads. Covers cgroup CPU
2026-06-13 · 17 min read #linux#kernel#scheduler#cfs#eevdfA Packet Journey — Tracing the Linux Kernel Networking Stack
We dissect the full path a packet takes from the NIC through DMA, ring buffers, NAPI, and the IP/TCP layers to the application socket. Covers RSS/RPS/RFS multi-core scaling, GRO/GSO/TSO offloads, XDP, socket buffer tunin
2026-06-13 · 19 min read #linux#kernel#networking#tcp#xdpHacking the Linux Memory Hierarchy — swap, zram, and the Wild Idea of Swapping to VRAM
The nbd-vram project, which exposes GPU VRAM as an NBD block device to use as swap, made waves on Hacker News. Starting from there, this post covers Linux memory management fundamentals, swappiness and zram/zswap tuning,
2026-06-12 · 16 min read #linux#memory#swap#zram#kerneleBPF Is Eating Observability
The idea of safely running sandboxed programs inside the kernel is upending observability. Hook anywhere with kprobes, uprobes, tracepoints, and XDP; the verifier guarantees safety; trace without touching a line of appli
2026-06-11 · 13 min read #ebpf#observability#linux#kerneleBPF Deep Dive — The VM, Verifier, XDP, and CO-RE That Made the Linux Kernel Programmable (2025)
Injecting safe code into the kernel — that is the eBPF revolution. This post dissects eBPF from internals to practice: the VM and bytecode, the Verifier that enforces safety, maps (Hash/Array/Ring Buffer/Perf), program t
2026-04-15 · 15 min read #ebpf#linux#kernel#xdp#observabilityeBPF Complete Guide — A Tiny VM Inside the Kernel: Verifier, JIT, CO-RE, Maps, Attach Points, XDP, LSM, sched_ext (2025)
Everything about eBPF — from cBPF in 1992 to eBPF in 2014 to schedext in 2024. The 11-register virtual machine ISA, the verifier's static analysis, JIT compilation, BTF and CO-RE, 17+ BPF map types, 200+ helper functions
2026-04-15 · 31 min read #linux#kernel#ebpf#bpf#xdpeBPF Complete Guide 2025: Kernel Programming Revolution for Observability, Networking, Security
Everything about eBPF! Safe Linux kernel programming, BCC vs libbpf vs bpftrace, Cilium (networking), Falco (security), Pixie (observability), Tetragon, CO-RE, real-world tracing, performance optimization, production cas
2026-04-14 · 11 min read #ebpf#kernel#observability#networking#securityThe Complete Guide to Networking & Linux Internals — TCP/IP, DNS, iptables, systemd
TCP/IP 4-layer model, DNS resolution, HTTP/HTTPS, Linux network stack, iptables/nftables, systemd, and process management — essential knowledge for infrastructure engineers.
2026-04-12 · 18 min read #networking#linux#tcp-ip#dns#iptablesLinux Kernel Parameter Tuning Guide: sysctl + Boot Params, Safe Changes and Rollback
This guide covers Linux kernel tuning strategies using sysctl runtime parameters and boot parameters. It provides recommended values for networking, memory, filesystem, and security categories, along with pre-change back
2026-03-07 · 11 min read #linux#kernel#sysctl#performance#tuning