У меня Ubuntu 15.04 на clevo w605sj (Eurocom Electra 2), который очень громко звучит при включенном вентиляторе. Иногда это недопустимо, и поэтому я бы предпочел уменьшить нагрузку на процессор и снизить производительность. Проблема в том, что я не могу получить доступ к регулятору пространства пользователя. В настоящее время у меня есть:
$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
Итак, я запустил:
$ sudo modprobe cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_stats cpufreq_userspace freq_table
Эта команда, кажется, выполнена успешно, так как я не получаю сообщений об ошибках. Однако
$ lsmod | grep freq
ничего не возвращает. Я не знаю много о модулях, поэтому я могу сделать очень простую ошибку. Я пытаюсь следовать этому руководству здесь: https://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html . Вот вывод cpufreq-info в случае, если это полезно:
$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.97 ms.
hardware limits: 800 MHz - 3.20 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 3.20 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 3.01 GHz (asserted by call to hardware).
analyzing CPU 1:
driver: intel_pstate
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 0.97 ms.
hardware limits: 800 MHz - 3.20 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 3.20 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 2.92 GHz (asserted by call to hardware).
analyzing CPU 2:
driver: intel_pstate
CPUs which run at the same hardware frequency: 2
CPUs which need to have their frequency coordinated by software: 2
maximum transition latency: 0.97 ms.
hardware limits: 800 MHz - 3.20 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 3.20 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 3.06 GHz (asserted by call to hardware).
analyzing CPU 3:
driver: intel_pstate
CPUs which run at the same hardware frequency: 3
CPUs which need to have their frequency coordinated by software: 3
maximum transition latency: 0.97 ms.
hardware limits: 800 MHz - 3.20 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 3.20 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 3.03 GHz (asserted by call to hardware).
После немного большего количества рытья я нашел, что intel_pstate драйвер на самом деле имеет полностью отдельный механизм для этого в/sys/devices/system/cpu/intel_pstate/max_perf_pct: https://www.kernel.org/doc/Documentation/cpu-freq/intel-pstate.txt . Все еще было бы интересно видеть, существует ли способ сделать эту игру приятно со старыми cpufreq регуляторами путем, и мне все еще любопытно, почему modprobe, кажется, не имеет никакого эффекта даже при том, что это не возвращает ошибок, но на данный момент это будет работать на меня.