I see no cpufreq performance module:
$ ll /lib/modules/2.6.32-358.2.1.el6.x86_64/kernel/drivers/cpufreq/
total 88<br/>
-rwxr--r--. 1 root root 20576 Mar 12 18:26 cpufreq_conservative.ko
-rwxr--r--. 1 root root 27096 Mar 12 18:26 cpufreq_ondemand.ko
-rwxr--r--. 1 root root 5336 Mar 12 18:26 cpufreq_powersave.ko
-rwxr--r--. 1 root root 14120 Mar 12 18:26 cpufreq_stats.ko
-rwxr--r--. 1 root root 10920 Mar 12 18:26 freq_table.ko
Then, further search online shows that it should be part of the kernel instead of a loadable module (for CentOS 5)?
http://lists.centos.org/pipermail/centos/2010-July/097217.html
I am on CentOS 6 now.
Does it mean that I have to recompile the kernel from source in order to enable cpufreq performance?
Update #1: For some reasons, I don't see the folder (David mentioned) on CentOS 6:
$ ll /sys/devices/system/cpu/cpu0/
total 0<br/>
drwxr-xr-x. 6 root root 0 Mar 14 23:41 cache
drwxr-xr-x. 6 root root 0 Mar 15 01:29 cpuidle
-r--------. 1 root root 4096 Mar 14 23:41 crash_notes
drwxr-xr-x. 2 root root 0 Mar 15 01:29 microcode
lrwxrwxrwx. 1 root root 0 Mar 15 01:29 node0 -> ../../node/node0
drwxr-xr-x. 2 root root 0 Mar 15 01:29 thermal_throttle
drwxr-xr-x. 2 root root 0 Mar 14 23:41 topology
Update #2:
$ sudo cpufreq-set -c 0 -g performance
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?