when app loses focus, cpu usage goes down 70%. Any workaround?


link626

New member
Local time
8:26 AM
Posts
26
OS
11
when i'm encoding a video via command line, and I minimize the window, cpu usage drops from 100% to 25%

I have to keep the command window visible on current desktop to keep cpu pinned to 100%. If I move the cmd window to another virtual desktop that is not in focus, cpu usage also drops big time.

any way to keep cpu workload even when window is minimized?
 

My Computer

System One

  • OS
    11

glasskuter

Well-known member
Pro User
VIP
Local time
10:26 AM
Posts
2,578
Location
The Lone Star State of Texas
OS
Windows 11 Pro 22H2 22621.608
See if this makes a difference
In Windows-settings-gaming-game mode (try turning it off)

If you per-chance use Avast, disable Avast game mode.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 22621.608
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium

link626

New member
Thread Starter
Local time
8:26 AM
Posts
26
OS
11
unfortunately didn't work with game mode off.

when i minimize Handbrake window, the cpu usage drops, until I make the window visible again.

interestingly, the e-cores shift to 100% load.

asdfasdfasdf.png
 

My Computer

System One

  • OS
    11

cereberus

Well-known member
Pro User
VIP
Local time
4:26 PM
Posts
2,546
OS
Windows 10 Pro + others in VHDs
when i'm encoding a video via command line, and I minimize the window, cpu usage drops from 100% to 25%

I have to keep the command window visible on current desktop to keep cpu pinned to 100%. If I move the cmd window to another virtual desktop that is not in focus, cpu usage also drops big time.

any way to keep cpu workload even when window is minimized?
You could perhaps encode video in a virtual machine using Hyper-V, and, there, the window can always remain in focus. Of course there will be a trade off with vm/host cpu sharing, but you should get better than 25%. It would depend a lot on how much RAM to an extent, and speed of CPU.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Top Bottom