Linux Code Review Hub
Author

Linux Code Review Hub

A professional Linux technology community and learning platform covering the kernel, memory management, process management, file system and I/O, performance tuning, device drivers, virtualization, and cloud computing.

72
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Linux Code Review Hub

72 recent articles
Linux Code Review Hub
Linux Code Review Hub
Apr 5, 2025 · Operations

Inside Linux Perf: How the Kernel’s Powerful Tracing Tool Works

The article introduces Linux’s built‑in performance analysis tool perf, explains its event‑driven sampling, tracing and profiling capabilities, shows how to install it on various distributions, demonstrates common commands with real code examples, and discusses practical scenarios for locating and optimizing kernel and application performance issues.

benchmarkingflamegraphkernel tracing
0 likes · 36 min read
Inside Linux Perf: How the Kernel’s Powerful Tracing Tool Works
Linux Code Review Hub
Linux Code Review Hub
Mar 27, 2025 · Operations

A Complete Guide to Linux Interrupt Management and Workqueues

This article provides an in‑depth, step‑by‑step analysis of Linux GICv3 interrupt architecture, the kernel driver initialization, hardware‑to‑virtual interrupt mapping, the full interrupt handling state machine, and the workqueue subsystem including its data structures, initialization, and usage patterns.

KernelLinuxdevice-tree
0 likes · 37 min read
A Complete Guide to Linux Interrupt Management and Workqueues
Linux Code Review Hub
Linux Code Review Hub
Mar 22, 2025 · Fundamentals

Inside Linux inotify: How the Kernel Tracks File Changes

This article dissects Linux’s inotify mechanism, detailing the kernel data structures, system‑call flow, and functions that generate and deliver file‑system event notifications, complete with code walkthroughs and diagrams. It explains how read/write operations trigger event creation, how events are queued in inotify_device, and how user‑space processes retrieve them via read and poll interfaces.

Linux kernelevent handlingfile monitoring
0 likes · 14 min read
Inside Linux inotify: How the Kernel Tracks File Changes
Linux Code Review Hub
Linux Code Review Hub
Mar 19, 2025 · Operations

Mastering Linux Performance with ftrace: Theory, Features, and Real‑World Use Cases

This article explains why Linux dominates server workloads, introduces the built‑in ftrace tracing framework, details its diverse tracers, lightweight static instrumentation and stable design, shows how to configure and use it via debugfs, and demonstrates performance tuning and fault diagnosis with real examples while comparing it to systemTap and LTTng.

Linux kerneldebugfsftrace
0 likes · 33 min read
Mastering Linux Performance with ftrace: Theory, Features, and Real‑World Use Cases
Linux Code Review Hub
Linux Code Review Hub
Feb 12, 2025 · Fundamentals

Stop Being a Linux Kernel Code Parrot: Embrace Reality‑First Understanding

The author, with over two decades of development experience, argues that many learners treat Linux kernel code as a rote exercise instead of mapping real‑world scheduling problems to code, and outlines essential questions about task_struct management, scheduling policies, CPU placement, fairness, and universal scheduler design.

CPU schedulingLinux kerneloperating systems
0 likes · 5 min read
Stop Being a Linux Kernel Code Parrot: Embrace Reality‑First Understanding
Linux Code Review Hub
Linux Code Review Hub
Feb 12, 2025 · Fundamentals

Understanding Multi‑core Hardware Architecture and Linux sched_domain

The article explains how Linux builds sched_domain and sched_group hierarchies based on physical CPU topology—sockets, dies, clusters, and NUMA nodes—illustrating load‑balancing (BALANCE) versus affinity (AFFINE) with concrete examples, kernel code references, and QEMU‑based experiments.

CPU topologyNUMAkernel scheduling
0 likes · 9 min read
Understanding Multi‑core Hardware Architecture and Linux sched_domain
Linux Code Review Hub
Linux Code Review Hub
Dec 4, 2024 · Cloud Native

How Dahua and openEuler’s Kmesh‑bwm Cut Latency 50% and Double Container Density

Facing bandwidth contention when high‑volume video analytics compete with online services, Dahua partnered with the openEuler community to replace the tc htb limiter with an eBPF‑based Kmesh‑bwm solution that introduces lock‑free packet scheduling, directional monitoring and multi‑priority bandwidth guarantees, achieving over 50 % latency reduction, more than 50 % increase in container deployment density, and roughly 30 % overall resource savings.

Container NetworkingKmeshQoS
0 likes · 6 min read
How Dahua and openEuler’s Kmesh‑bwm Cut Latency 50% and Double Container Density
Linux Code Review Hub
Linux Code Review Hub
Nov 2, 2024 · Artificial Intelligence

Inside Intel’s AI Flame Graph: Low‑Overhead Profiling for Faster, Greener AI

The article introduces Intel’s AI Flame Graph, a low‑overhead profiling tool that visualizes AI accelerator and GPU execution alongside the full software stack, explains its design, shows SYCL matrix‑multiply examples, discusses challenges of AI workload analysis, and outlines future adoption and impact on performance and energy savings.

AI profilingFlame GraphGPU
0 likes · 16 min read
Inside Intel’s AI Flame Graph: Low‑Overhead Profiling for Faster, Greener AI