Red Hat Bugzilla – Bug 120522
(PATCH CPUSPEED) cpuspeed -p option does not work
Last modified: 2015-01-04 17:05:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
[root@nestea kolya]# /usr/sbin/cpuspeed -h 2>&1 | grep -5 .-p
Sets the interval between idle percentage tests and possible
speed changes in 1/10 second increments (default is 20).
-p <fast up> <threshold>
Sets the CPU idle percentage thresholds. <fast up> is the
percentage below which the CPU will be set to the highest
speed. <threshold> is the idle percentage above which the CPU
speed will be decreased and below which the CPU speed will be
increased (defaults are 10 and 25).
[root@nestea kolya]# /usr/sbin/cpuspeed -p 10 25
Error: The -p option must be followed by 2 integers
Version-Release number of selected component (if applicable):
Created attachment 99537 [details]
Patch to fix cpuspeed's -p option
Obvious patch to fix this bug is attached. Submitted upstream about a
week ago without any response, so maybe you guys want to just apply it
locally to the Fedora RPMs.
It looks like this has been applied in kernel-utils-2.4-9.1.131 .