How to Restrict the Number of Cores Used?

By Puja Chatterjee on November 29, 2023

Managing CPU cores is crucial for optimizing system performance and resource allocation.

If you do not know the ways, this brief guide will be of great help to optimize your system processing power with practical steps. Read on.


Why Do You Need to Restrict the Number of Cores Used?

One of the primary reasons to restrict the number of cores of your process is to optimize the available resources and their allocation. It also helps to ensure that the critical tasks or applications receive the required power for processing.

A few other reasons for restricting the number of cores include:

Read Also:  Octa Core & Quad Core Processor: 7 Differences

Most importantly, in a cloud environment, where the usage of computational resources plays a significant role in billing, restricting the number of cores will result in cost savings.

Ways to Restrict the Number of Cores Used

You can restrict the number of CPU cores to be used from the Task Manager.

There are also a few other third-party software that may help you with it.

Method: From the Task Manager

Using the in-built Task Manager is the easiest way to limit the number of CPU cores.


Task Manager option

Performance tab

Clicking on CPU

Checking the processor details

Selecting Go to details

Selecting Set affinity

Selecting the number of cores you want to allow

Note: If you want to make changes later on, close the app and then open it again to reset the number of core usage.

Read Also:  What is Steamroller Processor? (Explained)


In conclusion, restricting the number of cores of your CPU will optimize resource usage and resolve several issues.

Now that you know how to do it, ensure you restrict them as and when required.