não é possível definir a frequência de escalonamento da cpu

1

Eu tenho o Ubuntu 15.04 em um clevo w605sj (Eurocom Electra 2), que fica muito alto quando o ventilador está ligado. Às vezes isso é inaceitável e, portanto, prefiro acelerar o processador e obter o impacto no desempenho. O problema é que não consigo obter o governador do espaço de usuário disponível. Atualmente tenho:

$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

Então eu corri:

$ sudo modprobe cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_stats cpufreq_userspace freq_table

Este comando parece ter sucesso, pois não recebo mensagens de erro. No entanto,

$ lsmod | grep freq

não retorna nada. Eu não sei muito sobre módulos, então posso estar cometendo um erro muito simples. Estou tentando seguir este guia aqui: link . Aqui está a saída do cpufreq-info, caso seja útil:

$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], 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).
    
por leptogenesis 26.09.2015 / 18:52

1 resposta

1

Depois de cavar um pouco mais, descobri que o driver intel_pstate na verdade tem um mecanismo totalmente separado para isso em / sys / devices / system / cpu / intel_pstate / max_perf_pct: link . Ainda seria interessante ver se há uma maneira de fazer isso funcionar bem com o antigo cpufreq governors, e ainda estou curioso para saber porque o modprobe parece não ter nenhum efeito, mesmo que não retorne nenhum erro, mas por enquanto isso funcionará para eu.

    
por leptogenesis 26.09.2015 / 19:04