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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content