Refining Core Development Skills
Author

Refining Core Development Skills

Fei has over 10 years of development experience at Tencent and Sogou. Through this account, he shares his deep insights on performance.

144
Articles
0
Likes
499
Views
0
Comments
Recent Articles

Latest from Refining Core Development Skills

100 recent articles max
Refining Core Development Skills
Refining Core Development Skills
Mar 25, 2025 · Fundamentals

Understanding Linux Kernel Physical Memory Management and the memblock Allocator

Linux does not expose all physical memory to users; this article explains why the kernel reserves memory, detailing the early memblock allocator, crash kernel reservations, page structure overhead, and the handoff to the buddy system, illustrating how these mechanisms consume several hundred megabytes of RAM.

Crash KernelLinuxPage Structures
0 likes · 15 min read
Understanding Linux Kernel Physical Memory Management and the memblock Allocator
Refining Core Development Skills
Refining Core Development Skills
Feb 19, 2025 · Operations

Linux Kernel Memory Detection via E820 Mechanism

This article explains how the Linux kernel detects physical memory during boot by leveraging the E820 mechanism, where firmware reports memory ranges via interrupt 15H, enabling the kernel to map usable memory addresses for subsequent allocation.

Boot ProcessE820Linux kernel
0 likes · 8 min read
Linux Kernel Memory Detection via E820 Mechanism
Refining Core Development Skills
Refining Core Development Skills
Oct 22, 2024 · Operations

netcap: An eBPF‑Based Next‑Generation Kernel Network Capture Tool

netcap is an open‑source eBPF‑driven kernel network packet capture tool that extends tcpdump syntax to trace skb‑related functions across the Linux network stack, offering detailed packet tracing, customizable filters, multi‑trace aggregation, and user‑defined output to improve debugging of packet loss and performance issues.

Packet CaptureeBPFnetcap
0 likes · 9 min read
netcap: An eBPF‑Based Next‑Generation Kernel Network Capture Tool