Which Scheduler Is Used in Linux?
Contents

Linux uses a Completely Fair Scheduling (CFS) algorithm, which is an implementation of weighted fair queueing (WFQ). Imagine a single CPU system to start with: CFS time-slices the CPU among running threads. There is a fixed time interval during which each thread in the system must run at least once.

Does Linux use round robin scheduling?

Real Time Scheduling Processes

Linux implements FCFS and Round Robin real time scheduling classes. The scheduler always runs the process with the highest priority. Among processes of equal priority, Linux runs the process that has been waiting the longest.

What scheduling algorithm is used in Unix?

The Round Robin algorithm is generally used in time sharing environments. The algorithm used by Linux scheduler is a complex scheme with combination of preemptive priority and biased time slicing. It assigns longer time quantum to higher priority tasks and shorter time quantum to lower priority tasks.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest