Linux

Publications categorized under Linux.

Linux

Linux Kernel Cgroups v2: Unified Hierarchy, Memory Controller & Resource Limits

2026-07-212 min read

Linux Kernel Cgroups v2: Unified Hierarchy, Memory Controller & Resource Limits

Deep dive into cgroups v2 architecture, PSI (Pressure Stall Information), memory high/max thresholds, and CPU weight allocation.

Linux

Linux Process Scheduling: EEVDF (Earliest Eligible Virtual Deadline First) vs CFS

2026-07-192 min read

Linux Process Scheduling: EEVDF (Earliest Eligible Virtual Deadline First) vs CFS

How the Linux 6.6+ kernel EEVDF scheduler replaces the Completely Fair Scheduler to improve latency-sensitive audio and gaming workloads.

Linux

Linux Virtual Memory Management: Page Cache, Swappiness & Dirty Writeback Tuning

2026-07-162 min read

Linux Virtual Memory Management: Page Cache, Swappiness & Dirty Writeback Tuning

Prevent disk I/O stalls by tuning vm.dirty_background_ratio, swapiness, Transparent Huge Pages (THP), and OOM killer scores.

Linux

Systemd Internals: Service Unit Hardening, Socket Activation & Dynamic Users

2026-07-132 min read

Systemd Internals: Service Unit Hardening, Socket Activation & Dynamic Users

Secure system daemons using systemd directives like ProtectSystem, PrivateTmp, RestrictNamespaces, and SystemCallFilter.

Linux

Linux Filesystem Engineering: Ext4 Inodes, Btrfs Copy-on-Write & ZFS Storage Pools

2026-07-102 min read

Linux Filesystem Engineering: Ext4 Inodes, Btrfs Copy-on-Write & ZFS Storage Pools

Compare journaling ext4 filesystems with modern Copy-on-Write (CoW) filesystems featuring checksumming, snapshots, and RAID pools.

Linux

Linux Performance Tracing with bpftrace: Uncovering Disk and Syscall Latency Spikes

2026-07-072 min read

Linux Performance Tracing with bpftrace: Uncovering Disk and Syscall Latency Spikes

Write dynamic one-liner bpftrace scripts to profile kernel function latency histograms, block device I/O requests, and page faults.

Linux

Building Containers from Scratch in C: PID, Mount, Network & User Namespaces

2026-07-042 min read

Building Containers from Scratch in C: PID, Mount, Network & User Namespaces

Understand container primitives by invoking unshare() and clone() syscalls directly to create an isolated shell environment.

Linux

High-Performance Asynchronous I/O in Linux: The io_uring Subsystem

2026-07-012 min read

High-Performance Asynchronous I/O in Linux: The io_uring Subsystem

How io_uring ring buffers allow applications to submit and reap disk/network I/O without context switches or syscall overhead.

Linux

NUMA-Aware Linux Tuning: CPU Pinning, Memory Node Allocation & numactl

2026-06-282 min read

NUMA-Aware Linux Tuning: CPU Pinning, Memory Node Allocation & numactl

Eliminate cross-socket memory bus latency in multi-socket servers by configuring NUMA node affinity for high-performance applications.

Linux

Enterprise Linux Hardening: PAM Modules, SELinux Policies & Auditd Logs

2026-06-242 min read

Enterprise Linux Hardening: PAM Modules, SELinux Policies & Auditd Logs

Enforce strict access controls using Pluggable Authentication Modules, custom SELinux domain transition rules, and auditd tracking.