Hide Forgot
Description of problem: If cpuspeed was enabled on a system and the user issues "service cpuspeed stop" followed by "chkconfig cpuspeed off", the cpu frequency of the cpus is left at the current frequency that was set by the kernel. So if the speed was reduced by the kernel to a lower rate, it is not reset to the maximum rate. I think the common user may miss this and get poor performance of his system until he reboots his system. There is an easy way to work around this but i suggest that this behavior should be changed. Version-Release number of selected component (if applicable): cpuspeed-1.2.1-9.el5 and earlier How reproducible: enable cpuspeed cause it to reduce cpu frequency and then issue stop cpuspeed. CPU frequency stays as is. I am not sure I can call it a bug, maybe more a change to reduce the risk of a user to stay with a system working unexpectedly slow. Thank you!
Thanks for the report. Indeed, switching to the highest frequency available in scaling_available_frequencies would be probably the best idea.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
I'm going to close this as a WONTFIX. The highest available frequency isn't necessarily the state we were in before we started the cpuspeed service and setting that might even be a) dangerous on some systems, b) impossible in case the limits have been altered externally and the kernel isn't aware of that. Because of the latter, I don't think remembering the state in the moment of our start would be beneficial either. We could possibly introduce new configuration settings for what frequency and governor we should switch to upon exiting but I don't find this too useful.