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

See

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content