Remix.run Logo
tazjin 12 hours ago

> Or, we can expect better from software. Maybe someone can fork Firefox and make it run better, hard cap how much a browser window can use.

You can already do this. For example, I use `systemd-run` to run browsers with CPU quotas applied. Firefox gets 400% CPU (i.e. up to 4 cores), and no more.

Example command: systemd-run --user --scope -p CPUQuota=400% firefox

vee-kay 10 hours ago | parent [-]

You can impose CPU restrictions in Windows 10 or 11 too...

You can limit CPU usage for a program in Windows by adjusting the "Maximum processor state" in the power options to a lower percentage, such as 80%. Additionally, you can set the program's CPU affinity in Task Manager. Please note this will only affect the process scheduling.

You can also use a free tool like Process Lasso or BES to limit the CPU for a Windows application. You can use a free tools like HWInfo, SysInternals (ProcMon, SysMom, ProcDump) to monitor and check for CPU usage, especially to investigate CPU spikes caused by rogue (malware or poor performance) apps.

cellular 8 hours ago | parent [-]

CPU affinity? I haven't been able to change priority in task manager since window 8 i think. Cpu affinity seems only to allow which cores get assigned...not really good management.

vee-kay 8 hours ago | parent [-]

Process Lasso worked for me few years back when I needed to do CPU cores restriction for an old program.