Tag

CFS

2 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 13, 2025 · Operations

How Linux Kernel Balances CPU Load Across Multicore Systems

This article explains the Linux kernel's CPU load‑balancing mechanism, covering concepts such as CPU load, balancing strategies, scheduling domains, groups, the PELT algorithm, CFS scheduling, trigger points, and practical code examples for both regular and real‑time tasks.

CFSCPU load balancingLinux
0 likes · 40 min read
How Linux Kernel Balances CPU Load Across Multicore Systems
Deepin Linux
Deepin Linux
May 31, 2025 · Fundamentals

Understanding the Linux CFS Scheduler: Architecture, Implementation, and Common Questions

This article explains the Linux Completely Fair Scheduler (CFS), covering its design goals, core concepts such as virtual runtime, weight, red‑black tree management, load‑balancing mechanisms, scheduling policies, and answers common questions about its operation and kernel code.

CFSLinuxOperating System
0 likes · 23 min read
Understanding the Linux CFS Scheduler: Architecture, Implementation, and Common Questions
Deepin Linux
Deepin Linux
Jan 21, 2025 · Fundamentals

Understanding the Linux Process Scheduler: Concepts, Strategies, and Evolution

This article provides a comprehensive overview of the Linux process scheduler, explaining why scheduling is needed, how it works, the various scheduling policies such as real‑time and CFS, the mechanisms for priority and load balancing, and the historical evolution of Linux schedulers with code examples.

CFSLinuxOperating System
0 likes · 37 min read
Understanding the Linux Process Scheduler: Concepts, Strategies, and Evolution
System Architect Go
System Architect Go
Dec 11, 2024 · Cloud Native

Kubernetes CPU Configuration and Linux CFS Interaction

This article explains how Kubernetes resource requests and limits map to Linux cgroup settings via the CFS scheduler, illustrates the underlying calculations for cpu.shares and cpu.cfs_quota_us, and discusses the impact on programming languages such as Go and Java within containers.

CFSCPUGo
0 likes · 5 min read
Kubernetes CPU Configuration and Linux CFS Interaction
Deepin Linux
Deepin Linux
Nov 18, 2024 · Fundamentals

Deep Dive into Linux Process Scheduling Mechanisms

This article explains the concepts, reasons, and implementation details of Linux process scheduling, covering cooperative and preemptive scheduling, run‑queue structures, wake‑up paths, scheduling ticks, context switching, priority handling, and the various scheduling classes used in the kernel.

CFSLinuxOperating System
0 likes · 59 min read
Deep Dive into Linux Process Scheduling Mechanisms
Deepin Linux
Deepin Linux
Nov 16, 2023 · Fundamentals

Understanding the Linux Completely Fair Scheduler (CFS)

An in‑depth overview of Linux’s Completely Fair Scheduler (CFS) explains its design goals, data structures such as red‑black trees and virtual runtime, the evolution from O(n) and O(1) schedulers, weight‑based fairness calculations, scheduling classes, and key kernel functions that implement task selection and timing.

CFSLinuxOperating System
0 likes · 31 min read
Understanding the Linux Completely Fair Scheduler (CFS)
DataFunTalk
DataFunTalk
Sep 15, 2023 · Cloud Computing

Design and Architecture of Baidu CFS Large‑Scale Distributed File System and Metadata Service

The talk from DataFun Summit 2023 explains how Baidu's CFS storage builds a trillion‑file‑scale distributed file system by revisiting file system fundamentals, POSIX limitations, historical storage architectures, and introducing a lock‑free metadata service with single‑shard primitives, data‑layout optimizations, and a simplified client‑centric architecture that achieves high scalability and performance.

Big DataCFSPOSIX
0 likes · 31 min read
Design and Architecture of Baidu CFS Large‑Scale Distributed File System and Metadata Service
Tencent Architect
Tencent Architect
Sep 10, 2021 · Cloud Native

BT Scheduler for Absolute Preemption: Boosting CPU Utilization and QoS in Cloud‑Native Environments

This article analyzes the limitations of the Linux Completely Fair Scheduler (CFS) for high‑priority workloads, introduces Tencent's custom offline BT scheduler that provides absolute preemption, and presents experimental results showing significant improvements in latency, CPU utilization, and carbon‑reduction for cloud‑native services.

BT schedulerCFSCPU scheduling
0 likes · 10 min read
BT Scheduler for Absolute Preemption: Boosting CPU Utilization and QoS in Cloud‑Native Environments
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 31, 2020 · Fundamentals

Load Balancing Mechanisms in the Linux CFS Scheduler: Periodic, NOHZ Idle, and New Idle Load Balancing

The article explains how the Linux CFS scheduler balances load using three mechanisms—periodic balancer on busy CPUs, NOHZ idle balancer that wakes idle CPUs in tickless mode, and the new idle balancer that checks overload and cache state—detailing their triggers, IPI interactions, timing intervals, and key data structures.

CFSIdle BalanceLinux
0 likes · 15 min read
Load Balancing Mechanisms in the Linux CFS Scheduler: Periodic, NOHZ Idle, and New Idle Load Balancing
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 4, 2020 · Fundamentals

Understanding the PELT (Per‑Entity Load Tracking) Algorithm in the Linux Kernel Scheduler

PELT (Per‑Entity Load Tracking) replaces the coarse per‑run‑queue load model in Linux’s CFS scheduler with fine‑grained, decay‑based load and utility measurements for each scheduling entity, enabling more accurate load‑balancing, CPU‑frequency decisions, and hierarchical group scheduling across heterogeneous cores.

CFSLinuxLoad Tracking
0 likes · 24 min read
Understanding the PELT (Per‑Entity Load Tracking) Algorithm in the Linux Kernel Scheduler
Tencent Database Technology
Tencent Database Technology
Jul 26, 2018 · Fundamentals

An Overview of Linux Task Scheduling: History, Concepts, and Implementation

This article surveys the evolution, core concepts, and concrete implementation details of Linux task scheduling, illustrating kernel data structures, scheduling entities, run‑queue management, and the CFS algorithm with code excerpts and explaining how the scheduler balances interactive and background workloads.

CFSLinuxOperating System
0 likes · 17 min read
An Overview of Linux Task Scheduling: History, Concepts, and Implementation
Efficient Ops
Efficient Ops
May 22, 2016 · Fundamentals

Why Process Priority Matters: Understanding Nice, Priority, and Linux Schedulers

This article explains the concepts of nice and priority values in Linux, how they differ, their impact on process scheduling, and compares historic O(1) and modern CFS schedulers, including real‑time scheduling policies, providing practical command examples for administrators.

CFSLinuxnice
0 likes · 19 min read
Why Process Priority Matters: Understanding Nice, Priority, and Linux Schedulers