2 ms·
I set this: echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load My backups and indexing are already running nice, so now they loaf along at 1
by invalidator 4y ago
I set this:
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load
My backups and indexing are already running nice, so now they loaf along at 1.6GHz. The CPUs only spin up to full speed when I run non-nice work.
There's room to tune more. In the old days I would start large jobs (large builds, etc) with nice so they wouldn't interfere with interactive use. Now they would run slower instead of fast-but-yielding. I can always flip ignore_nice_load off if I want the old behavior for competing fast jobs.
It's an easy 80% solution, especially because most indexers and backups come preconfigured to run nice.