Tagged articles
42 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 3, 2026 · Fundamentals

Why Linux’s New EEVDF Scheduler Beats CFS in Performance and Fairness

The article explains the design, core concepts, algorithms, and implementation details of Linux 6.6's default EEVDF scheduler, compares it with the legacy CFS, provides practical commands for inspection and switching, and discusses real‑world scenarios and common pitfalls for developers and interview candidates.

CFSEEVDFFairness
0 likes · 44 min read
Why Linux’s New EEVDF Scheduler Beats CFS in Performance and Fairness
IT Services Circle
IT Services Circle
Feb 22, 2026 · Fundamentals

Why Simple FIFO Scheduling Fails and How CFS Guarantees Fair CPU Time

The article walks through the evolution of CPU scheduling from a naïve first‑come‑first‑served queue to priority‑based schemes, explains starvation and time‑slice problems, and shows how tracking each task's actual runtime leads to the Completely Fair Scheduler (CFS) with virtual runtime accounting.

CFSCPU schedulingOperating Systems
0 likes · 10 min read
Why Simple FIFO Scheduling Fails and How CFS Guarantees Fair CPU Time
Java Tech Enthusiast
Java Tech Enthusiast
Feb 20, 2026 · Fundamentals

Why Simple FIFO Scheduling Fails and How CFS Achieves Fair CPU Allocation

The article walks through the evolution of CPU scheduling—from naïve first‑come‑first‑served queues to priority‑based, time‑slice, and finally the Completely Fair Scheduler—illustrating each approach with code, highlighting pitfalls like starvation, and showing how tracking virtual runtime yields fair and responsive task execution.

CFSCPU schedulingFairness
0 likes · 10 min read
Why Simple FIFO Scheduling Fails and How CFS Achieves Fair CPU Allocation
Deepin Linux
Deepin Linux
Oct 12, 2025 · Operations

Unlock Linux Performance: Mastering CFS Process Scheduling and Tuning

This comprehensive guide explains Linux’s Completely Fair Scheduler (CFS), covering its core principles, virtual runtime calculations, red‑black tree implementation, multi‑core load balancing, real‑time priority handling, and practical tuning techniques with full C++ examples to help developers and sysadmins optimize CPU allocation and system responsiveness.

CFSKernelLinux
0 likes · 66 min read
Unlock Linux Performance: Mastering CFS Process Scheduling and Tuning
Deepin Linux
Deepin Linux
Sep 5, 2025 · Fundamentals

Mastering Linux Process Scheduling: Algorithms, Strategies, and Optimization

This comprehensive guide explains Linux process scheduling fundamentals, covering process states, core algorithms such as Round‑Robin, Priority, CFS, Multilevel Feedback Queue, and real‑time policies, while detailing timing triggers, influencing factors, and practical optimization techniques for databases and games.

CFSCPU allocationLinux
0 likes · 41 min read
Mastering Linux Process Scheduling: Algorithms, Strategies, and Optimization
Raymond Ops
Raymond Ops
Jul 9, 2025 · Fundamentals

Master Linux Scheduling: From CFS to CPU Affinity and systemd

This article explains Linux scheduling strategies, including real‑time and non‑real‑time policies, the CFS and Deadline schedulers, command‑line and systemd methods for setting policies, and techniques for CPU affinity using pinning, NUMA awareness, and cgroup cpuset controls.

CFSCPU affinityLinux
0 likes · 9 min read
Master Linux Scheduling: From CFS to CPU Affinity and systemd
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
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 23, 2025 · Fundamentals

Why Android Threads Stall: Inside Linux CFS, RT, Fair Scheduling and cgroup Limits

This article explains why many Android threads appear idle despite free CPU cycles, by dissecting Linux's five scheduler classes, the distinction between RT and fair scheduling, the role of virtual runtime and weight, and how cgroup cpu.shares can reshape resource distribution, supported by concrete systrace experiments.

Android performanceCFSLinux scheduler
0 likes · 17 min read
Why Android Threads Stall: Inside Linux CFS, RT, Fair Scheduling and cgroup Limits
Linux Kernel Journey
Linux Kernel Journey
Mar 17, 2025 · Fundamentals

How Linux Multicore Scheduling Unlocks CPU Potential

The article explains how Linux’s multicore scheduler distributes tasks across CPU cores, describes the core CFS and real‑time algorithms, details load‑balancing mechanisms such as pull/push and active/passive strategies, and discusses power, thermal, and algorithmic optimizations for servers and embedded devices.

CFSDVFSLinux
0 likes · 24 min read
How Linux Multicore Scheduling Unlocks CPU Potential
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.

CFSKernelLinux
0 likes · 37 min read
Understanding the Linux Process Scheduler: Concepts, Strategies, and Evolution
Linux Kernel Journey
Linux Kernel Journey
Dec 29, 2024 · Fundamentals

Extending Fair Scheduling: Inside Linux’s New EEVDF Algorithm

The article explains how the Earliest Eligible Virtual Deadline First (EEVDF) scheduler, introduced in Linux 6.6, replaces CFS by using virtual deadlines and a lag concept to achieve both fairness and interactivity, and walks through concrete formulas, parameter settings, and step‑by‑step scheduling examples.

CFSEEVDFFairness
0 likes · 11 min read
Extending Fair Scheduling: Inside Linux’s New EEVDF Algorithm
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.

CFSJavaKubernetes
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.

CFSLinux
0 likes · 59 min read
Deep Dive into Linux Process Scheduling Mechanisms
Linux Kernel Journey
Linux Kernel Journey
Sep 10, 2024 · Fundamentals

How BPF Powers the Linux sched_ext Scheduler: In‑Depth Implementation and Workflow

This article provides a comprehensive technical walkthrough of Linux's sched_ext scheduler extension, explaining how BPF enables custom scheduling policies, detailing the underlying CFS and EEVDF concepts, the new SCHED_EXT class, dispatch queues, kernel configuration, and practical code examples for building and testing BPF‑based schedulers.

BPFCFSEEVDF
0 likes · 19 min read
How BPF Powers the Linux sched_ext Scheduler: In‑Depth Implementation and Workflow
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.

CFSLinuxScheduler
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.

CFSDistributed File SystemPOSIX
0 likes · 31 min read
Design and Architecture of Baidu CFS Large‑Scale Distributed File System and Metadata Service
Programmer DD
Programmer DD
Feb 8, 2023 · Cloud Native

How Cloud‑Native Pipelines Cut Build Time 3‑5× with Remote Cache

This article explains how introducing a remote cache backed by CFS and Zstandard compression into cloud‑native CI/CD pipelines dramatically reduces build times by 3‑5 times, outlines the implementation steps, tool choices, cache key strategy, eviction policy, and showcases performance gains across Java, Node.js, Go, and GCC builds.

CFSPipelinecaching
0 likes · 10 min read
How Cloud‑Native Pipelines Cut Build Time 3‑5× with Remote Cache
ITPUB
ITPUB
Feb 17, 2022 · Fundamentals

Mastering Linux Process Scheduling: From FCFS to CFS Explained

This comprehensive guide walks through the fundamentals of process scheduling in operating systems, covering scheduling concepts, OS classifications, process types, priority mechanisms, preemptive vs cooperative models, design goals, classic algorithms such as FCFS, SJF, RR, MLFQ, and the evolution of Linux schedulers from O(n) and O(1) to the modern CFS, complete with code excerpts and practical examples.

CFSFCFSLinux kernel
0 likes · 31 min read
Mastering Linux Process Scheduling: From FCFS to CFS Explained
Liangxu Linux
Liangxu Linux
Nov 18, 2021 · Fundamentals

Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics

This article explains the technical details of Linux kernel preemption, covering the difference between preemptible and non‑preemptible kernels, the role of the reschedule flag and preempt count, scheduling checkpoints and preempt points, low‑latency handling in non‑preemptible kernels, and the voluntary preemption model.

ARM64CFSKernel
0 likes · 20 min read
Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics
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
Liangxu Linux
Liangxu Linux
Jun 16, 2021 · Fundamentals

Understanding Linux Scheduler: Structures, Policies, and Context Switch Mechanics

Learn how Linux selects the next process for CPU execution by exploring key scheduler structures such as task_struct, sched_class, runqueue, the various scheduling policies (CFS, RT, Deadline, etc.), the scheduling flow, and the low‑level context_switch mechanism that swaps address spaces and registers.

CFSLinuxcontext switch
0 likes · 8 min read
Understanding Linux Scheduler: Structures, Policies, and Context Switch Mechanics
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Operations

Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations

This article explains Linux's sophisticated scheduling system for multi‑core, SMP, and NUMA architectures, describes global, clustered, partitioned, and arbitrary schedulers, details scheduling domains and load‑balancing mechanisms, and provides practical performance‑tuning techniques using tools like perf, flame graphs, and various kernel optimizations.

BFSCFSCPU optimization
0 likes · 31 min read
Mastering Linux Multi‑Core Scheduling: Strategies, Algorithms, and Performance Optimizations
Liangxu Linux
Liangxu Linux
Mar 28, 2021 · Fundamentals

How Linux Schedules Processes and Threads: From Tasks to CFS and Real‑Time

This article explains Linux's scheduling subsystem in depth, covering process definitions, memory layout, state machines, context switches, priority and timeslice handling, the modular scheduler framework, various scheduler classes such as CFS, real‑time and deadline, group scheduling, signal processing, and the differences between kernel and user threads, providing a comprehensive guide for developers and system engineers.

CFSLinuxReal-Time
0 likes · 35 min read
How Linux Schedules Processes and Threads: From Tasks to CFS and Real‑Time
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 Cloud Developer
Tencent Cloud Developer
Apr 27, 2020 · Cloud Computing

High‑Throughput Cloud File Storage (CFS) Design for Kuaishou's Spring Festival Red‑Envelope Campaign

During Kuaishou's 2020 Spring Festival red‑envelope campaign, Tencent Cloud's Cloud File Storage (CFS) provided a high‑throughput, read‑heavy NFS solution that handled up to 5 GB/s across 1 700 pods, delivering 100% availability, low latency, and massive interaction volumes for billions of users.

CFSDistributed File SystemHigh Throughput
0 likes · 22 min read
High‑Throughput Cloud File Storage (CFS) Design for Kuaishou's Spring Festival Red‑Envelope Campaign