Tag

CFS scheduler

0 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 4, 2022 · Mobile Development

Linux CFS Scheduler Optimization for Android Systems: Weight, Fairness, and Group Scheduling Challenges

The article examines Linux’s Completely Fair Scheduler in Android, detailing weight‑based fairness, nice‑value mapping, group scheduling via CONFIG_FAIR_GROUP_SCHED, and the resulting challenges where vruntime compensation and priority adjustments become ineffective, leading to uneven time‑slice allocation among critical and background threads.

Android SchedulingCFS schedulerGroup Scheduling
0 likes · 19 min read
Linux CFS Scheduler Optimization for Android Systems: Weight, Fairness, and Group Scheduling Challenges
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