affinity

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. […]

{ 0 comments }

Last time I wrote about how-to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity.

{ 3 comments }

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 […]

{ 35 comments }