How to limit the cpu usage of a process in windows

How to

If an application or process is consuming CPU and slowing down your system, you can limit the CPU usage by the process.

When an application is opened, its process is automatically started and begins execution. While the process is running, it uses CPU resources as needed. But what happens when a process consumes a large amount of system resources and CPU utilization increases rapidly? As you may or may not know, a process or program that consumes a lot of CPU can cause performance problems because other processes do not get as much CPU time or resources. In addition, excessive CPU usage can cause the CPU to heat up, throttling the CPU and significantly reducing system performance.

If you identify a process that is consuming too much CPU or think a process is using too much CPU, try setting a CPU usage limit, i.e., limit the CPU usage of a process . This way you can reduce CPU utilization and improve system performance.

As a quick reminder, here is how to limit the CPU usage of a process or program in the Windows OS.

The following procedure works the same in Windows 10 and 11.

Contents.

Reduce process priority to limit CPU usage

Windows takes process priority into account by default. In general, it is not necessary to manually set process priorities.

If you set a process’s CPU priority lower than normal or low, Windows allocates CPU resources by giving that process a lower priority than other running processes. In this way, other processes can run smoothly.

IMPORTANT NOTE: Do not change the CPU priority of a system process/application. Do this only for third party processes/applications.

  1. Open Task Manager .
  2. Go to the ” Child Data ” tab.
  3. Right click on the process.
  4. Select ” Setting Priority > Low “.
  5. When prompted, click ” Change Priority “.
  6. Close Task Manager.
  7. (Optional) Restart Computer .
  8. This changes the priority of limiting the CPU usage of the process.

Change process affinity to limit CPU usage

Windows has a clever feature called process affinity. This feature allows you to limit the number of CPU cores a process can use. In this way, you can effectively limit the CPU utilization of a process.

Like CPU priority, process affinity is automatically managed by Windows. If you suspect that a process or application is using too much CPU, you can limit its use by manually limiting CPU affinity. This section describes how to do this.

IMPORTANT NOTE: Do not change the process affinity of system processes/applications. Do this only for third-party processes/applications.

  1. Open Task Manager.
  2. Go to the ” Child Data ” tab.
  3. Right click on the process.
  4. Select ” Set Affinity “.
  5. Highlight the CPU core you wish to disable.
  6. Press the ” Ok ” button.
  7. Exit the Task Manager.
  8. (Restart) Restart the computer (Restart)
  9. This changes the affinity of the process to limit CPU usage .

Using third-party software to limit CPU usage

It is possible to limit the CPU usage of a process using Battle Encoder Shirase (BSE), a free, portable, open source applicationThis is a free and portable open source application called Battle Encoder Shirase (BSE). This method is useful when the above two methods do not produce the expected results. Let us show you how to use to limit the CPU usage of a process.

First, go to the official website from the link below and download the software. After downloading, open the zip file and extract the folder to your desktop or the root of your C drive.

https://mion.yosei.fi/BES/

Next, open the extracted folder, right click on the executable file and select “Run as administrator” option. This will open the BES application with administrator privileges.

After opening the application, click the “Target” button.

This will cause the program to display a list of all running processes. Find and select the process you wish to restrict and click the “Restrict this process” button. For example, we want to restrict the msedge.exe process. So I selected that process and clicked the button.

Click “Yes” in the confirmation window.

As soon as you do this, the CPU usage of the process will be limited. The application highlights the restricted process in red and places it at the top of the list.

By default, processes are limited to use 33% of available CPU resources. You may decrease or increase the limit as desired. To do so, use the slider at the bottom. For example, we have increased the CPU limit from 33% to 50%.

Once you are done with the settings, minimize the BES application. While the application is running in the background, limit the CPU usage of the selected process according to the settings.

When you exit the BES application, the restriction will be automatically removed. However, it is not recommended to exit the application while it is limiting the CPU usage of the process.

To remove the limit, start the application, select the process being limited, and click the “Unlimit” button. If you are limiting multiple processes, click the “Unlimit All” button to remove CPU usage limits for all processes at once.

That’s it. It is as easy as limiting the CPU usage of a process in Windows.

We hope you find this simple and easy guide to working with Windows helpful.

If you get stuck or need help, send us an email and we will do our best to help.

YouTube video: How to Limit the CPU Usage of a Process in Windows


Rate article
We provide high-quality and detailed Windows tutorials