3 ms·
> try to run your software on a Pentium 4 Alternatively, on Linux you can limit the maximum CPU frequency with something like FREQ=800000 # 800 MHz fo
by f00zz 5y ago
> try to run your software on a Pentium 4
Alternatively, on Linux you can limit the maximum CPU frequency with something like
FREQ=800000 # 800 MHz
for i in /sys/devices/system/cpu/cpu[0-9]*; do
echo $FREQ > "$i/cpufreq/scaling_max_freq"
done
- jozvolskyef 5y agoNote that this may not work out of the box, see https://unix.stackexchange.com/questions/153693/cant-use-userspace-cpufreq-governor-and-set-cpu-frequency https://unix.stackexchange.com/questions/153693/cant-use-use...
- f00zz 5y agoDoes that answer still apply? I'm using the intel_pstate driver and limiting frequency via scaling_max_freq seems to work fine. It should work, if I'm reading this correctly: https://www.kernel.org/doc/html/v4.12/admin-guide/pm/intel_pstate.html https://www.kernel.org/doc/html/v4.12/admin-guide/pm/intel_p...