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
Apr 3, 2025 · Operations

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

This article explains the Linux kernel’s perf utility, covering its architecture, key features such as lightweight event sampling, tracing, profiling and debugging, step‑by‑step installation, common commands with real code examples, and how to use perf and flame graphs to locate and optimise performance bottlenecks.

ProfilingTracingbenchmark
0 likes · 35 min read
How Perf Works: Inside Linux Kernel’s Powerful Tracing and Profiling Tool
Linux Kernel Journey
Linux Kernel Journey
Mar 30, 2025 · Fundamentals

Analyzing KVM Misc Device Initialization and Access on Linux

This article walks through the registration of the KVM misc device in the Linux 5.9 kernel for arm64, explains how /dev/kvm is created via misc_register, and demonstrates a user‑space program that opens the device and uses an ioctl to retrieve the KVM API version, with detailed code analysis.

ARM64KVMLinux kernel
0 likes · 13 min read
Analyzing KVM Misc Device Initialization and Access on Linux
Linux Kernel Journey
Linux Kernel Journey
Mar 26, 2025 · Fundamentals

Efficient Memory Management: Paging Mechanism in x86‑64 Architecture

This article explains how the x86‑64 paging mechanism maps virtual addresses to physical memory, detailing the required protection‑mode conditions, page‑table structures, control‑register settings, various paging modes (32‑bit, PAE, 4‑level, 5‑level), and provides concrete kernel code examples and address‑translation demonstrations.

4-level-pagingLinux kernelMemory management
0 likes · 40 min read
Efficient Memory Management: Paging Mechanism in x86‑64 Architecture
Linux Kernel Journey
Linux Kernel Journey
Mar 23, 2025 · Fundamentals

Efficient Dynamic Memory Reclamation Techniques in Linux

The article provides an in‑depth technical analysis of Linux’s memory reclamation system, covering zones, watermarks, page flags, LRU lists, the shrink_zone workflow, kswapd, direct reclaim, OOM handling, page‑cache structures, and practical tuning tips for optimal performance.

LRUPerformance Tuningkswapd
0 likes · 97 min read
Efficient Dynamic Memory Reclamation Techniques in Linux
Linux Kernel Journey
Linux Kernel Journey
Mar 17, 2025 · Fundamentals

How Linux Multicore Scheduling Unlocks CPU Potential

The article explains how Linux’s multicore scheduler distributes tasks across CPU cores, describes the core CFS and real‑time algorithms, details load‑balancing mechanisms such as pull/push and active/passive strategies, and discusses power, thermal, and algorithmic optimizations for servers and embedded devices.

CFSDVFSPELT
0 likes · 24 min read
How Linux Multicore Scheduling Unlocks CPU Potential
Linux Kernel Journey
Linux Kernel Journey
Mar 8, 2025 · Backend Development

Optimizing MPTCP Flow Selection and Exploring a User‑Space MPTCP Stack – ByteDance STE at Netdev 0x19

At Netdev 0x19, ByteDance's STE team presented two technical talks: a NUMA‑aware MPTCP flow‑selection strategy that boosts Redis benchmark throughput by up to 30% and cuts tail latency by 6%, and a DPDK‑based user‑space MPTCP stack that halves latency and doubles throughput in data‑center tests.

DPDKLinux networkingMPTCP
0 likes · 8 min read
Optimizing MPTCP Flow Selection and Exploring a User‑Space MPTCP Stack – ByteDance STE at Netdev 0x19
Linux Kernel Journey
Linux Kernel Journey
Mar 6, 2025 · Fundamentals

Master Disk I/O Basics: A Complete Primer

This article explains what disk I/O is, compares HDD and SSD characteristics, describes the Linux I/O stack, outlines performance metrics such as throughput, IOPS and latency, and reviews factors, tools, caching strategies, and RAID configurations that affect storage performance.

I/O toolsLinux storageRAID
0 likes · 19 min read
Master Disk I/O Basics: A Complete Primer