Why does the changing of cpufreq governor settings /etc/rc.local does not survive upon reboot?

Solution Verified - Updated -

Issue

After performing cahnges in /etc/rc.local in order to change the cpufreq governor to "performance" with commands like:


# cpupower frequency-set --governor performance

It works right away:

[root@example ~]# for g in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do cat $g; done
userspace
userspace
...

But after boot time these changes are discarded.

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.