Как ограничить частоту процессора на ноутбуке windows 11

Высокая частота процессора, Turbo Boost, гигагерцы и прочее — это отлично, но не во всех случаях. К примеру, при работе на ноутбуке преимущественно от батареи с не особенно ресурсоемкими приложениями, отключив повышение частоты и ограничив максимальную частоту процессора вы получите более тихую работу системы охлаждения и продолжительное время работы от аккумулятора, не особенно потеряв в производительности.

В этой инструкции подробно о способах ограничить максимальную частоту процессора в Windows 11 и Windows 10, используя встроенные средства управления схемами электропитания, не прибегая к сторонним утилитам.

Установка опции «Максимальное состояние процессора» в дополнительных параметрах схемы электропитания

Первый способ — настроить схему электропитания, используемую при работе от батареи, задав максимальное состояние процессора ниже 100% — это отключит ускорение Turbo Boost (когда частота может повышаться выше номинальной частоты процессора) и, даже если мы выставим 99% в значительной мере повлияет на расход заряда и нагрев. Шаги будут следующими:

  1. Откройте Панель управления, для этого в Windows 11/10 можно использовать поиск в панели задач. В поле «Просмотр» установите «Значки» и откройте пункт «Электропитание».
    Открыть электропитание в панели управления

  2. Нажмите по пункту «Настройка схемы электропитания» у той схемы, которую вы используете при работе от батареи (при условии, что это ноутбук и вы переключаете схемы питания).
    Изменить настройки схемы электропитания

  3. В следующем окне нажмите «Изменить дополнительные параметры питания».
    Изменить дополнительные параметры схемы электропитания

  4. В дополнительных параметрах раскройте раздел «Управление питанием процессора», а затем задайте собственное значение в пункте «Максимальной состояние процессора». Его можно задать отдельно для питания от батареи и электросети.
    Установить максимальное состояние процессора в параметрах электропитания

  5. Примените сделанные настройки.

На этом процесс будет завершен — изменения должны начать действовать сразу.

Полезным будет настроить две или более схем электропитания: одну экономичную с ограничением частоты, другую — для случаев, когда нужна высокая производительность. Также вы можете ускорить переключение между имеющимися схемами электропитания: Программы для удобно переключения схем электропитания на ноутбуке или ПК.

К примеру, я на своем основном ноутбуке с горячим Core i7-10870H пишу статьи в бесшумном режиме с ограниченной частотой, и температура процессора держится в пределах 35-40 градусов, при этом каких-либо неудобств нет. А когда необходимо монтировать видео — включаю схему электропитания с высокой производительностью.

Добавление опции «Максимальная частота процессора» в дополнительные параметры электропитания

Возможен вариант, когда ограничение «Максимального состояния процессора» не срабатывает. В этом случае можно установить максимальную частоту процессора. По умолчанию эта опция в дополнительных параметрах электропитания отсутствует.

Чтобы добавить возможность настройки максимальной частоты процессора, используйте один из следующих способов:

В Терминале Windows или PowerShell

  1. Запустите Windows PowerShell или Терминал Windows от имени администратора, нажав правой кнопкой мыши по кнопке «Пуск» и выбрав соответствующий пункт меню.
  2. Введите команду
    powercfg -attributes SUB_PROCESSOR 75b0ae3f-bce0-45a7-8c89-c9611c25e100 -ATTRIB_HIDE

    и нажмите Enter.

    Добавить опцию максимальной частоты процессора в параметры питания с помощью PowerShell

В редакторе реестра

  1. Нажмите клавиши Win+R на клавиатуре, введите regedit и нажмите Enter.
  2. Перейдите к разделу реестра
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\75b0ae3f-bce0-45a7-8c89-c9611c25e100
  3. Дважды нажмите по параметру с именем Attributes в правой панели и установите значение 2 для него. Примените сделанные настройки.
    Добавить настройку максимальной частоты процессора в реестре

В результате, в дополнительных параметрах схемы электропитания в разделе «Управление питанием процессора» появится новый пункт «Максимальная частота процессора».

Настройка ограничения максимальной частоты процессора в параметрах электропитания Windows

По умолчанию указано значение «0 МГц», при таком выборе частота не ограничивается. Вручную можно указать любую частоту в пределах номинальной частоты вашего процессора.

Надеюсь, для кого-то из читателей представленная информация окажется полезной. Если остаются вопросы — задавайте их в комментариях, я постараюсь ответить.

On your Windows 11 or Windows 10 computer, you may be experiencing high CPU usage caused by an app or game, of which you want to reduce or limit how much CPU resource the process for the app or game can use. In this post, we will show you how to limit CPU usage for apps with a single process or apps with multiple processes.

How to limit CPU usage for a process

In simple terms, CPU utilization is the current percentage of CPU resources consumed by all programs. If you notice that some programs are using more of your CPU cores and hogging system resources, you can limit CPU usage for the process or multiple processes of the game/app using the methods below.

  1. Set Process Priority and CPU Affinity
  2. Use third-party app
  3. Lower Maximum Processor State

Let’s see these methods in detail.

1] Set Process Priority and CPU Affinity

Process Priority enables Windows OS to allocate and de-allocate resources required by all the active processes. PC users can alter the process priority of any process/sub-process via Task Manager, but it should be done only for non-system processes. The process priority settings of the core system processes are best left unaltered.

CPU Affinity simply restricts the processes to use fewer CPU cores of your system. PC users can set for each process to control how many CPU cores a process is allowed to use. By changing CPU affinity, you can free up CPU cores which will become available to other processes.

To set Process priority, do the following:

Set Process priority

  • Press Ctrl + Shift + Esc key to launch Task Manager.
  • In Task Manager, identify the process whose priority you want to alter.
  • You can also click on the CPU column to arrange the processes in descending order of their consumption.
  • Now, right-click on the process and select the Go to details option from the context menu. Alternatively, click the Details tab and look for the process you want to alter.
  • On the Details section, right-click on the process and select the Set priority from the context menu.
  • Then, select Below Normal (allocates slightly fewer resources when they are available) or Low (allocates the least amount of system resources when they become available).
  • A warning window will pop up informing you about the effects of changing the process priority.
  • Click on the Change Priority button to apply changes.
  • Exit Task Manager.

To set CPU (Processor) affinity, do the following:

Set CPU (Processor) affinity

Note: For apps that has multiple processes such as msedge.exe, you will have to set the CPU affinity for each of the processes since each executable represents a different tab, window or plugin.

  • Open Task Manager.
  • In the Task Manager window, click on More details to expand if you can’t see any tab but only a few apps with little to no information.
  • Under Processes tab, click on the app you want to limit its CPU usage to expand the list of processes the app is running.
  • Next. right-click on the process you want to limit, and select Go to details. to be redirected to the Details tab.
  • In the Details section, right-click on the highlighted process and select Set affinity.
  • In the Processor affinity window, by default, for most processes, you should see all processors are selected, which means all processor cores are allowed to run the process.
  • Now, simply uncheck the boxes of CPU cores that you don’t want the process to use.
  • Click on the OK button.
  • Exit Task Manager.

Remember that you can limit only one or multiple CPU cores for a process, but at least one core has to be selected. Also, with this method, Windows will reset the configuration after you close and open the program to its default which is to use all CPU cores. So, to force an app or game to always retain the allowable CPU cores (CPU affinity), you can use the workaround below.

Read: Can’t set Process Priority in Task Manager of Windows

Permanently set CPU Affinity and Priority by creating a shortcut for the process

Permanently set CPU Affinity and Priority by creating a shortcut for the process

  • You begin by determining the hex value of the CPU(s) you want to use for CPU Affinity parameter by getting the binary number of the CPU cores you want to use for a process.

The length of the binary number is determined by how many CPU cores you have. In the CPU binary number, 0 means “off” and 1 means “on”. For each CPU core you want to use for the process, change 0 to 1.

For this post, we are demonstrating with 7-core CPU and will be using only CPU 0 for the application; the binary number to be used will be 0000001.

  • Next, we need to convert the binary to a hexadecimal number using the converter at rapidtables.com/convert.
  • Once you have the hex number, proceed to create a desktop shortcut.
  • In the Create shortcut window, enter the syntax below in the Type the location of the item field.
cmd.exe /c start "ProgramName" /High /affinity # "ProgramPath"
  • In the syntax, substitute the ProgramName placeholder with the actual name of the program (can be empty or any name), Low with any CPU priority (Realtime, High, Above Normal, Normal, Below Normal, Low), # with the Hexadecimal value obtained earlier, ProgramPath with the full path of the game or application.

Now, after you have created the shortcut, if you want to run the program, run this shortcut instead, and Windows will automatically launch the program with the CPU affinity and Priority you’ve set in the shortcut’s command parameters. But, keep in mind that this method will only work for apps and games that run on only one process. For apps that run on multiple processes, such as chrome.exe, firefox.exe, or msedge.exe, you need to force set the priority and CPU affinity by following the workaround below.

Read: Change Process Priority for running processes using Command line

Permanently set CPU Affinity and Priority by creating PowerShell script for the process

Permanently set CPU Affinity and Priority by creating PowerShell script for the process

  • You begin by creating a PowerShell script.
  • Create a text file and name it any name you like but with an extension of .ps1.
  • Once created, open the .ps1 file with Notepad or any other compatible text editor.
  • Enter the syntax below in to the text editor:
Get-WmiObject Win32_process -filter 'name = "chrome.exe"' | foreach-object { $_.SetPriority(64) }
  • Substitute chrome.exe with the name of the process you want to set priority for, and the priority value (Realtime 256, High 128, Above Normal 32768, Normal 32, Below Normal 16384, Low 64) in the SetPriority(value).
  • Now, you need to determine the decimal value of the CPU core(s) you want to use for a process. As you’re using the same CPU cores above, check the decimal value in the converter above.
  • Now, if you want to set the CPU affinity for only one process, enter the command line below into the PowerShell script.
$Process = Get-Process Messenger; $Process.ProcessorAffinity=1
  • To set the CPU affinity for all processes with the same name, for example, chrome.exe, firefox.exe or msedge.exe, enter the command line below into the PowerShell script.
ForEach($PROCESS in GET-PROCESS chrome) { $PROCESS.ProcessorAffinity=1}
  • Substitute the value 1 with the decimal value you obtained from the converter, chrome with the name of the process you want to set the CPU affinity for.
  • Save the text editor.
  • To run the script, right-click the file and select Run with PowerShell.

By default, Windows does not allow any script to run on the system. To allow your script to run, tsp Y when prompted. The script will then run and exit after executing all the commands. If you encounter any problem running the script due to execution policy, you can turn on PowerShell script execution or you can create a desktop shortcut pointing to the ps1 script you’ve created earlier with parameter that bypass the execution policy using the command below in the Type the location of the item field:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -ExecutionPolicy Bypass -File "FullPathToPowerShellScript"
  • Substitute the FullPathToPowerShellScript placeholder with the actual path to your PS1 script file. If your Windows is not in C: drive or your powershell is installed elsewhere, replace the C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe with the path to the powershell.exe on your system.

Read: Configure Processor Scheduling for better performance in Windows

2] Use third-party app

Process Lasso

This method also solves the drawback of using Task Manager to limit CPU usage, which is, it resets your preferences after the program restarts. So, If you want a more comprehensive solution to manage the resource usage on a program, you can try third-party apps like Process Lasso, Bill2 Process Manager, and Process Tamer.

To limit the CPU usage of a process using Process Lasso, do the following:

Note: If you plan on making major tweaks with this utility or any other mentioned, we suggest you create a restore point before you proceed.

  • Download and install the appropriate version of the utility on your system.
  • Next, launch the application with elevated permissions.
  • Right-click on the desired process and change its priority and affinity as per your requirement.
  • Make changes by selecting the Always option from the context menu. If you choose the Current option, it will only be applicable until the program restarts.
  • Once done, you can exit the app.

Read: How to Enable or Disable CPU Core Parking in Windows

3] Lower Maximum Processor State

Lower Maximum Processor State

This method is not as invasive as the two methods described above. This setting allows you to limit the maximum speed your CPU can attain which will consequently put less task on your processor and can potentially prevent your PC overheating.

To lower the Maximum processor state of your CPU, do the following:

  • Open Control Panel.
  • Click Power Options.
  • Click on the Change plan settings option located next to the active power plan of your system.
  • Then click on the Change advanced power settings. A new Power Options window will launch.
  • Find and expand the Processor Power Management option.
  • Click on the Maximum processor state option and edit the values.
  • By default, the value is set at 100 percent. Change it to 80 percent for both the On Battery and Plugged in options.
  • Click Apply > OK to save changes and exit the window.

With the above configuration, your CPU will run at 80 percent of its capacity during peak loads.

That’s it!

Related post: How to Check, Lower or Increase CPU usage in Windows 

How to allocate more CPU to a program in Windows 11/10

CPUs are not allocated to programs. Programs create threads of execution that run simultaneously. Different CPUs support a different number of threads they can execute simultaneously. If the program creates several threads same or more as a maximum number of threads supported by the CPU it may consume more CPU.

Can I limit CPU usage of a process?

The easiest way to limit CPU usage of a process on a Windows 11/10 computer is to limit Processor power. Go to Control Panel. Maximum Processor State and lower it to 80% or whatever you want. Using software that measures CPU temperatures like ‘Speed fan’, you will see that temperatures drop.

Why is Task Manager CPU usage so high?

The worst scenario for high CPU usage when nothing pops up in Task Manager is a virus infection or malicious software that runs in the background. To stay safe from any ransomware or other type of viruses that can lead to computer damage, make sure Windows Defender is updated and running or you can install any reputable third-party AV.

Read: CPU usage spikes to 100% when opening Task Manager

Should I enable all cores in Windows 11?

They are only used when required to speed up the tasks. However, you can manually enable some or all of them. If you think that your computer is performing slow and can do better, you can manually enable all cores so the workload between them is divided, resulting in faster performance.

What does 400% CPU usage mean?

On a multi-core Unix / Linux computer, 100% utilization indicates that only one of the cores is maxed out. 150% utilization indicates that only 1.5 cores are at capacity. So, for example, on an 8-core box, 400% utilization leaves you with twice the headroom that you are actually using.

What is a good CPU usage percentage?

The best CPU usage would most likely be around 80-80% max. This means you are utilizing more of your CPU’s capabilities while giving it some leeway to handle a spike in CPU usage.

If a game or app is using unknowingly high CPU usage and you wish you can reduce or limit how much CPU resource the process can use, this guide will show you how to limit the number of CPU cores a process can use in Windows 11 via Task Manager, and optionally how to permanently set a process to run on limited CPU core every time you start it.

Limit CPU usage of a process via Task Manager

In Task Manager, there is an option called CPU Affinity which you can set for each process to control how many or which CPU cores a process is allowed to use in Windows 11. Since most modern computer processors are multi-core processors, you should be able to see multiple cores in the processor affinity selection window. To limit CPU usage of a process in Windows 11, follow the steps below.

First, on the Windows 11 desktop screen, open Task Manager by pressing CTRL + SHIFT + ESC (Optional read: How to Open Task Manager From Taskbar in Windows 11).

In the Task Manager window, if it’s in simplicity mode where you can’t see any tab but only a couple of apps with little to no information, click on More details to expand it.

Windows 11 Task Manager more details

Under Processes tab, click on the app whose CPU usage you want to limit to expand the list of processes the app is running. Right-click on the process you want to limit, and select Go to details.

Task Manager Go to details in Windows 11

Task Manager will then direct you to the Details tab and highlight the executable process (.exe) of the app’s process you’ve selected earlier. Right-click on the highlighted process and select Set affinity.

Limit CPU usage of app or game in Windows 11

Note: If you know and can pinpoint the .exe process of the app you want to limit in the Details tab, you can skip the Processes > Go to details part. You can go directly to the Details tab instead and select the process whose CPU usage you want to limit.

In the Processor affinity window, by default, for most processes, you should see all processors are selected which means all processor cores are allowed to run the process.

How to Limit CPU Usage in Windows 11

From there, you can select which CPU core the selected process can use by checking the checkbox of the CPU core you want to allow the app to use and uncheck the checkbox for CPU core you don’t want it to use. You can limit only one or multiple CPU core for a process, but at least one core has to be selected.

For apps that has multiple processes such as Chrome.exe, you will have to set the CPU affinity for each of the processes since each executable represents a different tab, window or plugin.

Limit CPU usage (Processor affinity) of a process permanently

If you limit the CPU usage of a process by setting its CPU affinity via Task Manager in Windows 11, after you close the app or game, the next time you open it, the CPU affinity of the process will be reset back to its default, which allow it to use “all processors” again.

Fortunately, there is a workaround to force an app or game to always start with your preset allowable CPU cores (CPU affinity) – by creating a shortcut that runs the app with CPU affinity parameters. You can read more about the workaround here: How to Set a Process CPU Affinity and Priority Permanently in Windows 11/10.

It may sound a little too complicated for people who are not very computer literate, but it’s definitely worth trying, especially if you often have to set the CPU affinity or priority for processes in Windows 11/10. Once you learn how to do it, it will definitely make your day much easier.

Инструкция по снижению энергопотребления ПК с Windows 11 или 10.

Лимит энергопотребления — меньше нагрев и шум

Чтобы процессор потреблял меньше энергии нужно ограничить тактовую частоту ЦП. Процессор будет меньше греться. И вентилятор кулера станет работать тише. Настройте схему электропитания, которая применяется при работе ноутбука от аккумулятора. Выставьте предельное значение ниже 100% — будет отключено ускорение Turbo Boost. Данная опция позволяет ЦП работать на частоте выше базовой. Поэтому даже при значении 99% энергопотребление и нагрев процессора могут заметно сократиться.

Сократите энергопотребление процессора в Панели управления

Первым делом откройте Панель управления Windows. Одновременно нажмите Win + R. Напечатайте control.exe в поле, которое находится справа от «Открыть:». Нажмите «ОК» в нижней части диалогового окна «Выполнить». Или воспользуйтесь другим способом запуска Панели:

В правом верхнем углу окна панели выберите из списка «Просмотр:» пункт «Крупные значки». Откройте раздел настроек «Электропитание».

Кликните по ссылке «Настройка схемы электропитания» рядом со схемой питания, которая применяется на вашем компьютере.

В новом окне кликните по ссылке «Изменить дополнительные параметры питания».

Разверните категорию «Управление питанием процессора». Выставьте желаемое значение (в процентах) в строке «Максимальное состояние процессора». При необходимости укажите отдельный предел энергопотребления при питании от батареи и от сети.

Рекомендую пользователям ноутбука создать несколько схем электропитания. Минимум две:

  1. Экономную с лимитированной частотой — для базовых задач.
  2. Производительную (без ограничений) — для игр, тяжелых программ, приложений для обработки графического контента.

Писал данную инструкцию на ноутбуке HP OMEN Laptop 15-en1034ur с процессором-«зверем» AMD Ryzen 5 5600H:

Уровень компа — геймерский. Его полная производительность для работы с текстом не нужна. Решил: «Зачем зря греть процессор и нагружать вентиляторы». Поэтому выставил ограничение тактовой частоты. В итоге температура чипа не поднималась выше 40 градусов Цельсия. Кулер не напрягался, чтобы охладить процессор. Поэтому ноут работал практически бесшумно. Придет время монтировать видеообзор в «Блог системного администратора» — переключу лэптоп на высокопроизводительную схему электрического питания.

Какая максимальная частота процессора вашего ноутбука? Напишите в комментариях.

5
2
голоса

Рейтинг статьи

By Timothy Tibbetts

on 06/30/2023


Maximum processor frequency specifies the operating frequency of your CPU’s core. The maximum processor frequency option is hidden and set to 0 by default, which means your processor runs as fast as allowed. Advanced users can slow down the processor if your computer is running hot or consuming too much power.

Once added you will see the option Plugged in, and laptop users will also have On battery.

To edit the Maximum frequency, type in, and click on Edit power plan, and then click on Change advanced power settings.

Here’s a before and after:

1: Add or Remove ‘Maximum processor frequency’ With PowerShell

Using the Command Prompt (PowerShell) only takes seconds and is easy for anyone to try.

Open PowerShell and type in:

Add:
powercfg -attributes SUB_PROCESSOR 75b0ae3f-bce0-45a7-8c89-c9611c25e100 -ATTRIB_HIDE

Remove:
powercfg -attributes SUB_PROCESSOR 75b0ae3f-bce0-45a7-8c89-c9611c25e100 +ATTRIB_HIDE

2: Add or Remove ‘Maximum processor frequency’ In Registry

While more complicated, you can also enable or disable the Maximum processor frequency option in the registry manually or download the registry files.

Open the Registry editor and type HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\75b0ae3f-bce0-45a7-8c89-c9611c25e100 in the search bar.

Double-click Attributes and change the Value data:

1 — Remove
2 — Add

That’s it.

Similar:

  • How to Turn on the Windows 10 Ultimate Performance Power Plan
  • How to Import or Export a Power Plan in Windows 10
  • How to Add Allow Sleep with Remote Opens Power Settings
  • How to Turn On or Off Require Sign-in on Wakeup in Windows 10
  • How to Add or Remove Sleep, Hibernate or Lock to the Start Menu in Windows 10.
  • How to Disable or Enable Hibernate in Windows
  • Sleep, Hibernate or Shut Down Your PC?

    comments powered by Disqus

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии
  • Почему доступно только 4 гб оперативной памяти из 8 windows 7
  • Вернуть загрузчик windows вместо grub
  • Windows 10 анонимная сборка
  • Редактор автозагрузки windows 10
  • Как на рабочем столе переместить ярлыки на рабочем столе windows