Como definir limites de escalonamento de CPU em todo o sistema

1

Estou tentando fazer com que minha cpu fique em 2.0GHz (para manter a CPU legal XD) ou acima com um regulador conservador, para isso tentei configurar freqüências mínimas para minha CPU usando cpufreq-set

Eu preciso obter a frequência correta para limitar todos os cpu's a no mínimo 2,00 GHz ao usar o regulador On-Demand

Aqui estão algumas informações coletadas:

cpufreq-info -g
conservative ondemand userspace powersave performance

E todos os processadores retornam as mesmas informações do coufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.67 GHz
  available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.67 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.
  cpufreq stats: 2.67 GHz:19.00%, 2.67 GHz:0.00%, 2.53 GHz:1.78%, 2.40 GHz:0.74%, 2.27 GHz:1.23%, 2.13 GHz:1.24%, 2.00 GHz:1.26%, 1.87 GHz:1.68%, 1.73 GHz:2.11%, 1.60 GHz:2.06%, 1.47 GHz:3.66%, 1.33 GHz:9.65%, 1.20 GHz:55.58%  (2217)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.67 GHz
  available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.67 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.
  cpufreq stats: 2.67 GHz:10.48%, 2.67 GHz:0.00%, 2.53 GHz:0.80%, 2.40 GHz:0.72%, 2.27 GHz:0.69%, 2.13 GHz:0.80%, 2.00 GHz:1.20%, 1.87 GHz:1.10%, 1.73 GHz:1.50%, 1.60 GHz:2.08%, 1.47 GHz:4.91%, 1.33 GHz:9.12%, 1.20 GHz:66.61%  (1858)
    
por userDepth 21.01.2017 / 14:42

1 resposta

0

Use os valores fornecidos com cpufreq-set

cpufreq-set -d 2.00 GHz

Nota:

Isso não está funcionando para mim, mas é o que a página man diz

    
por userDepth 19.03.2017 / 19:18