Linux Kernel Journey
Author

Linux Kernel Journey

Linux Kernel Journey

127
Articles
0
Likes
225
Views
0
Comments
Recent Articles

Latest from Linux Kernel Journey

100 recent articles max
Linux Kernel Journey
Linux Kernel Journey
Dec 7, 2025 · Fundamentals

CUDA Optimization Basics: Understanding GPU Architecture and Warp Scheduling

This article explains the fundamentals of CUDA performance tuning, covering GPU architectures from Kepler to Volta, the role of SMX, warp schedulers, registers and memory hierarchies, and provides practical guidance on launch configuration, latency hiding, and thread‑block sizing to maximize throughput.

CUDAGPU architecturememory latency
0 likes · 21 min read
CUDA Optimization Basics: Understanding GPU Architecture and Warp Scheduling
Linux Kernel Journey
Linux Kernel Journey
Nov 19, 2025 · Fundamentals

How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing

This article explains the technical principles behind Linux kernel tracing, covering static tracepoints and dynamic kprobes, demonstrating their use with ftrace and perf, and detailing the underlying macro implementations and low‑level mechanisms that make kernel source tracking possible.

KprobeLinux tracingftrace
0 likes · 20 min read
How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing
Linux Kernel Journey
Linux Kernel Journey
Nov 17, 2025 · Operations

Four Diagrams to Quickly Diagnose Linux Memory Leaks

This guide explains Linux's virtual‑physical memory model, shows how to inspect system and process memory via /proc files, demonstrates a 100 MiB allocation test, and provides a step‑by‑step workflow—including ps sorting and Valgrind usage—to locate and fix memory leaks.

DebuggingSystem Monitoringlinux
0 likes · 16 min read
Four Diagrams to Quickly Diagnose Linux Memory Leaks
Linux Kernel Journey
Linux Kernel Journey
Nov 12, 2025 · Fundamentals

Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration

The article delves into the Linux /sys/bus directory of the sysfs virtual file system, detailing how the kernel registers bus types, organizes devices and drivers, explains core structures like struct bus_type, walks through the device‑add and driver‑probe workflow with concrete USB examples, and demonstrates practical inspection using NanoCode.

NanoCodebus_typedevice bus
0 likes · 15 min read
Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration
Linux Kernel Journey
Linux Kernel Journey
Nov 10, 2025 · Fundamentals

Understanding Linux /sys/bus: Principles and Practical Exploration

The article explains how the /sys/bus directory in the Linux sysfs virtual file system represents registered bus types, details its internal kernel structures such as struct bus_type, describes the bus registration and device‑driver matching process, and demonstrates practical inspection using NanoCode with concrete examples like USB storage devices.

NanoCodebusdevice-model
0 likes · 14 min read
Understanding Linux /sys/bus: Principles and Practical Exploration
Linux Kernel Journey
Linux Kernel Journey
Nov 10, 2025 · Fundamentals

Multithreaded Parallel Writeback: Vivo’s Exploration of Page Cache Write Acceleration

The article examines Linux's page‑cache writeback mechanism, explains why the single‑threaded writeback path becomes a bottleneck under heavy writes, and details Vivo's multithreaded writeback patches—including inode‑to‑context mapping and sysfs‑controlled thread counts—that achieve up to 2.4 GB/s on XFS and a 22 % speedup on F2FS, while also discussing fragmentation trade‑offs and optimal thread‑to‑allocation‑group ratios.

F2FSFilesystemXFS
0 likes · 8 min read
Multithreaded Parallel Writeback: Vivo’s Exploration of Page Cache Write Acceleration
Linux Kernel Journey
Linux Kernel Journey
Nov 7, 2025 · Industry Insights

Celebrating 20 Years of Linux Kernel Innovation: Highlights from the 20th CLK Conference

The 20th China Linux Kernel (CLK) Conference in Shenzhen gathered nearly 500 developers on‑site and over 170,000 online viewers, showcasing five technical sub‑forums, keynote insights on AI‑driven kernel challenges, RISC‑V adoption, and a 31‑fold rise in Chinese kernel contributors, underscoring the rapid evolution of China’s kernel ecosystem.

AIChinaLinux kernel
0 likes · 13 min read
Celebrating 20 Years of Linux Kernel Innovation: Highlights from the 20th CLK Conference
Linux Kernel Journey
Linux Kernel Journey
Nov 4, 2025 · Operations

How to Use Kernel Tracepoints for Zero‑Overhead GPU Driver Monitoring

This tutorial explains how to leverage Linux kernel tracepoints with eBPF and bpftrace to capture real‑time GPU driver activity—including job scheduling, memory management, and command submission—across Intel, AMD, Nouveau, and NVIDIA GPUs, providing detailed examples, scripts, and analysis of the resulting data.

DRMGPUPerformance Monitoring
0 likes · 20 min read
How to Use Kernel Tracepoints for Zero‑Overhead GPU Driver Monitoring