F5F Stay Refreshed Software Operating Systems Sure, I can recommend a lightweight app that runs on just a few cores to avoid slowing down your system.

Sure, I can recommend a lightweight app that runs on just a few cores to avoid slowing down your system.

Sure, I can recommend a lightweight app that runs on just a few cores to avoid slowing down your system.

G
Gid2000
Member
52
03-14-2023, 02:19 AM
#1
You can limit an app’s resource usage by setting its core count in Windows Task Manager or through PowerShell commands. This helps prevent spikes from impacting the entire system.
G
Gid2000
03-14-2023, 02:19 AM #1

You can limit an app’s resource usage by setting its core count in Windows Task Manager or through PowerShell commands. This helps prevent spikes from impacting the entire system.

B
BrainBomber
Member
65
03-18-2023, 05:49 AM
#2
Task Manager, Processes, choose a process, adjust affinity... begin with a batch file: AFFINITY uses a hexadecimal mask for precise control over all processors. Remember the highest bit identifies the lowest CPU (0) (refer KB 299641). For instance, 0xAA (10101010) tells your app to run on CPUs 1, 3, 5 and 7, excluding 0, 2, 4 or 6. Make sure you omit the '0x' from the command line. Examples: start /affinity AA app.exe Other cases: start /affinity 1 app.exe (use only CPU 0) start /affinity 2 app.exe (use only CPU 1) start /affinity 1F app.exe (use CPUs 0, 1, 2, 3, and 4 since 1F equals 0001 1111 in binary)
B
BrainBomber
03-18-2023, 05:49 AM #2

Task Manager, Processes, choose a process, adjust affinity... begin with a batch file: AFFINITY uses a hexadecimal mask for precise control over all processors. Remember the highest bit identifies the lowest CPU (0) (refer KB 299641). For instance, 0xAA (10101010) tells your app to run on CPUs 1, 3, 5 and 7, excluding 0, 2, 4 or 6. Make sure you omit the '0x' from the command line. Examples: start /affinity AA app.exe Other cases: start /affinity 1 app.exe (use only CPU 0) start /affinity 2 app.exe (use only CPU 1) start /affinity 1F app.exe (use CPUs 0, 1, 2, 3, and 4 since 1F equals 0001 1111 in binary)

P
POKE_PRESLEY
Member
177
03-20-2023, 05:08 AM
#3
You can access task manager details, right-click, and adjust the affinity settings to control cores or threads. Some third-party tools may simplify this process, though I can't recommend a particular one.
P
POKE_PRESLEY
03-20-2023, 05:08 AM #3

You can access task manager details, right-click, and adjust the affinity settings to control cores or threads. Some third-party tools may simplify this process, though I can't recommend a particular one.

W
Wisam2040
Junior Member
25
03-20-2023, 08:33 AM
#4
Wow, I hadn't thought it would be so simple. Great!
W
Wisam2040
03-20-2023, 08:33 AM #4

Wow, I hadn't thought it would be so simple. Great!

K
Karmageddon
Member
229
03-20-2023, 04:07 PM
#5
This setting isn't saved upon restart, so you must reset it every time.
K
Karmageddon
03-20-2023, 04:07 PM #5

This setting isn't saved upon restart, so you must reset it every time.

J
Jman282
Junior Member
18
03-26-2023, 02:54 AM
#6
It compels threads for that application to run exclusively on certain cores. When a thread becomes "stuck" on one core and maximizes its use, restricting affinity to only a few other cores won't free it. Ideally, launch the app via the command line limited to a small number of cores, or apply affinity immediately after startup for optimal performance.
J
Jman282
03-26-2023, 02:54 AM #6

It compels threads for that application to run exclusively on certain cores. When a thread becomes "stuck" on one core and maximizes its use, restricting affinity to only a few other cores won't free it. Ideally, launch the app via the command line limited to a small number of cores, or apply affinity immediately after startup for optimal performance.