Tagged articles
3 articles
Page 1 of 1
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 topologyKernel SchedulingNUMA
0 likes · 9 min read
Understanding Multi‑core Hardware Architecture and Linux sched_domain
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 3, 2020 · Fundamentals

Linux CPU Load Balancing: Framework and Implementation Analysis

Linux kernel load balancing, explained through the 5.4.28 framework, defines precise CPU load via PELT, balances tasks according to each core’s capacity using hierarchical scheduling domains and groups, details class‑specific strategies, illustrates migration in a big‑little 8‑core system, and outlines the three balancing scenarios and their trigger mechanisms.

CFS SchedulerCPU SchedulerCPU topology
0 likes · 15 min read
Linux CPU Load Balancing: Framework and Implementation Analysis