Configuring CPU Affinity for Docker Containers

Updated -

1. Introduction

If your system supports SMP (Symmetric multiprocessing) with some combination of multiple physical CPUs, CPU cores, and logical CPUs, you can achieve increased performance in some cases by assigning Docker Containers to specific CPU resources. This process is known as CPU affinity (or processor affinity).

2. Determining Available CPU Resources


Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In