Linux
Publications categorized under Linux.
Linux Kernel Cgroups v2: Unified Hierarchy, Memory Controller & Resource Limits
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 Process Scheduling: EEVDF (Earliest Eligible Virtual Deadline First) vs CFS
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 Virtual Memory Management: Page Cache, Swappiness & Dirty Writeback Tuning
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.
Systemd Internals: Service Unit Hardening, Socket Activation & Dynamic Users
Systemd Internals: Service Unit Hardening, Socket Activation & Dynamic Users
Secure system daemons using systemd directives like ProtectSystem, PrivateTmp, RestrictNamespaces, and SystemCallFilter.
Linux Filesystem Engineering: Ext4 Inodes, Btrfs Copy-on-Write & ZFS Storage Pools
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 Performance Tracing with bpftrace: Uncovering Disk and Syscall Latency Spikes
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.
Building Containers from Scratch in C: PID, Mount, Network & User Namespaces
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.
High-Performance Asynchronous I/O in Linux: The io_uring Subsystem
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.
NUMA-Aware Linux Tuning: CPU Pinning, Memory Node Allocation & numactl
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.
Enterprise Linux Hardening: PAM Modules, SELinux Policies & Auditd Logs
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.