Tag

task placement

0 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 17, 2021 · Fundamentals

In‑Depth Analysis of Linux CFS Task Placement and Energy Model (Part 2)

The article delves into Linux 5.10.61’s CFS task placement code, explaining the Energy‑Model framework, key data structures, and energy calculations, then walks through select_task_rq_fair’s wake‑up, fork, and exec paths, detailing EAS CPU selection, wake‑affine logic, fast and slow CPU‑selection algorithms, and how they balance performance with power on heterogeneous mobile platforms.

EASLinux kernelenergy model
0 likes · 26 min read
In‑Depth Analysis of Linux CFS Task Placement and Energy Model (Part 2)
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 29, 2020 · Fundamentals

Task Placement in the Linux CFS Scheduler: Scenarios, Code Framework, and Energy‑Aware Scheduling

The article explains how the Linux CFS scheduler places newly created or awakened tasks—during fork, exec, or wake‑up—by using sched domains and flags to invoke select_task_rq_fair, which then chooses among energy‑aware, least‑loaded, or idle‑sibling CPUs based on capacity, energy impact, and affinity.

CFS schedulerCPU load balancingLinux kernel
0 likes · 16 min read
Task Placement in the Linux CFS Scheduler: Scenarios, Code Framework, and Energy‑Aware Scheduling