У меня есть Ubuntu 16.04, работающая на моей реальной машине. Попытка состоит в том, чтобы установить весь регулятор масштабирования CPU на "производительность".
Установленные версии пакета:
# dpkg -l | grep cpufreq
ii cpufrequtils 008-1 amd64 utilities to deal with the cpufreq Linux kernel feature
ii libcpufreq0 008-1 amd64 shared library to deal with the cpufreq Linux kernel feature
когда я пробую следующую команду,
# cpufreq-set -r -g performance
Segmentation fault
И strace вышеупомянутые шоу команды
open("/sys/devices/system/cpu/cpu0/cpufreq/related_cpus", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++
Segmentation fault
Я не вижу эти местоположения (/sys/devices/system/cpu/cpu*/cpufreq). Не знайте то, что отсутствует.
cpufreq-информация не говорит "или неизвестного cpufreq драйвера" почему? что пропускает драйвер?
# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 2:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 3:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 4:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.