linux scheduler

The new Linux scheduler extends scheduling capabilities by introducing scheduling classes and also simplifies debugging by improving schedule statistics. Completely Fair Scheduler (CFS) is getting good reviews when tested for thread-intensive applications including 3D games. CFS handles CPU resource allocation for executing processes, and aims to maximize overall CPU utilization while maximizing interactive performance. CFS […]


I’ve already wrote about setting processor affinity for a certain task or process using taskset command using Linux scheduler utilities. Now Linux gets completely fair scheduler (CFS): The new CPU scheduler includes a pluggable framework that completely replaces Molnar’s earlier O(1) scheduler, and is described to ‘model an “ideal, precise multi-tasking CPU” on real hardware. […]


When you are using SMP (Symmetric MultiProcessing) you might want to override the kernel’s process scheduling and bind a certain process to a specific CPU(s). But what is CPU affinity? CPU affinity is nothing but a scheduler property that “bonds” a process to a given set of CPUs on the SMP system. The Linux scheduler […]