minus-squareNot a replicant@lemmy.worldtoLinux@programming.dev•Is there a way to keep Linux responsive when at ~100% CPU usage?linkfedilinkаҧсуа бызшәаarrow-up6·10 months agoFirefox on my raspberry pi grinds the thing to a halt, so I created a shortcut: systemd-run --scope -p MemoryLimit=500M -p CPUQuota=50% firefox-esr You say it doesn’t top out on memory, so you don’t need the -p MemoryLimit=500M parameter. Set your compiler CPUQuota to maybe 80%, or whatever you can work out with trial and error. linkfedilink
Firefox on my raspberry pi grinds the thing to a halt, so I created a shortcut:
systemd-run --scope -p MemoryLimit=500M -p CPUQuota=50% firefox-esr
You say it doesn’t top out on memory, so you don’t need the -p MemoryLimit=500M parameter. Set your compiler CPUQuota to maybe 80%, or whatever you can work out with trial and error.