<div dir="ltr">Hi,<div>I'm having problems setting the cpu frequency governors when running under a ccrma RT kernel - I've tried several different ccrma rt kernels with no success.</div><div><br></div><div>Basically cpupower works under all my stock Fedora 20 kernels, but does not work under any of the ccrma RT kernels. cpupower frequency-info shows the governors, but cpupower frequency-set returns an error. The system defaults to "powersave" and I need to have it in "performance". I have a startup script that is supposed to set the governor to 'performance' on boot up, but it fails when booting a ccrma kernel. Has anyone else had similar problems?</div><div><br></div><div>For example (CCRMA RT Kernel):</div><div><br></div><div><div><div>root@iris ~]# uname -r</div><div>3.14.29-200.rt26.1.fc20.ccrma.x86_64+rt</div><div>[root@iris ~]# cpupower frequency-info</div><div>analyzing CPU 0:</div><div> driver: intel_pstate</div><div> CPUs which run at the same hardware frequency: 0</div><div> CPUs which need to have their frequency coordinated by software: 0</div><div> maximum transition latency: 0.97 ms.</div><div> hardware limits: 800 MHz - 3.00 GHz</div><div> available cpufreq governors: performance, powersave</div><div> current policy: frequency should be within 800 MHz and 3.00 GHz.</div><div> The governor "powersave" may decide which speed to use</div><div> within this range.</div><div> current CPU frequency is 804 MHz (asserted by call to hardware).</div><div> boost state support:</div><div> Supported: yes</div><div> Active: yes</div><div> 2700 MHz max turbo 4 active cores</div><div> 2700 MHz max turbo 3 active cores</div><div> 2900 MHz max turbo 2 active cores</div><div> 3000 MHz max turbo 1 active cores</div><div>[root@iris ~]# cpupower frequency-set -g performance</div><div>Setting cpu: 0</div><div>Error setting new values. Common errors:</div><div>- Do you have proper administration rights? (super-user?)</div><div>- Is the governor you requested available and modprobed?</div><div>- Trying to set an invalid policy?</div><div>- Trying to set a specific frequency, but userspace governor is not available,</div><div> for example because of hardware which cannot be set to a specific frequency</div><div> or because the userspace governor isn't loaded?</div></div><div><div>[root@iris ~]# modprobe cpufreq-performance</div><div>[root@iris ~]# cpupower frequency-set -g performance</div><div>Setting cpu: 0</div><div>Error setting new values. Common errors:</div><div>- Do you have proper administration rights? (super-user?)</div><div>- Is the governor you requested available and modprobed?</div><div>- Trying to set an invalid policy?</div><div>- Trying to set a specific frequency, but userspace governor is not available,</div><div> for example because of hardware which cannot be set to a specific frequency</div><div> or because the userspace governor isn't loaded?</div></div><div><br></div><div>As you can see, I am running as root, the governor is available and modprobed, it is a valid policy, and I'm not trying to set a specific frequency. Obviously not a common error and it is particular to the CCRMA Fedora 20 kernels</div><div><br></div><div>For reference, I rebooted the machine into a stock Fedora 20 kernel:</div><div><br></div><div><div>[root@iris john]# uname -r</div><div>3.18.7-100.fc20.x86_64</div><div>[root@iris john]# cpupower frequency-info</div><div>analyzing CPU 0:</div><div> driver: intel_pstate</div><div> CPUs which run at the same hardware frequency: 0</div><div> CPUs which need to have their frequency coordinated by software: 0</div><div> maximum transition latency: 0.97 ms.</div><div> hardware limits: 800 MHz - 3.00 GHz</div><div> available cpufreq governors: performance, powersave</div><div> current policy: frequency should be within 800 MHz and 3.00 GHz.</div><div> The governor "performance" may decide which speed to use</div><div> within this range.</div><div> current CPU frequency is 800 MHz (asserted by call to hardware).</div><div> boost state support:</div><div> Supported: yes</div><div> Active: yes</div><div> 2700 MHz max turbo 4 active cores</div><div> 2700 MHz max turbo 3 active cores</div><div> 2900 MHz max turbo 2 active cores</div><div> 3000 MHz max turbo 1 active cores</div><div>[root@iris john]# cpupower frequency-set -g powersave</div><div>Setting cpu: 0</div><div>Setting cpu: 1</div><div>Setting cpu: 2</div><div>Setting cpu: 3</div><div>Setting cpu: 4</div><div>Setting cpu: 5</div><div>Setting cpu: 6</div><div>Setting cpu: 7</div><div>[root@iris john]# cpupower frequency-set -g performance</div><div>Setting cpu: 0</div><div>Setting cpu: 1</div><div>Setting cpu: 2</div><div>Setting cpu: 3</div><div>Setting cpu: 4</div><div>Setting cpu: 5</div><div>Setting cpu: 6</div><div>Setting cpu: 7</div></div><div><br></div><div><br></div><div>Can anyone provide a suggestion of how to proceed ?</div><div><br></div><div>John</div><div class="gmail_signature"><div dir="ltr"><p><br></p></div></div>
</div></div>