Category Archives: Bash

Process Affinity – Linux

Contents 1. Introduction 2. Types of Thread Scheduling 2.1. Compact Scheduling 2.2. Round-Robin Scheduling 2.3. Stupid Scheduling 3. Defining Affinity 3.1. The Linux-Portable Way (taskset) 3.2. The Other Linux-Portable Way (numactl) 3.3. Using OpenMP Runtime Extensions 3.4. getfreesocket 1. Introduction Although a compute node or workstation may appear to have 16 cores and 64 GB of DRAM, these resources are

Read more
Recent Entries »