Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 120522 - (PATCH CPUSPEED) cpuspeed -p option does not work
(PATCH CPUSPEED) cpuspeed -p option does not work
Product: Fedora
Classification: Fedora
Component: kernel-utils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-04-09 15:52 EDT by Nickolai Zeldovich
Modified: 2015-01-04 17:05 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-29 04:49:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix cpuspeed's -p option (358 bytes, patch)
2004-04-19 15:06 EDT, Nickolai Zeldovich
no flags Details | Diff

  None (edit)
Description Nickolai Zeldovich 2004-04-09 15:52:11 EDT
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
        -i <interval>
            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
[root@nestea kolya]#

Version-Release number of selected component (if applicable):

How reproducible:
Comment 1 Nickolai Zeldovich 2004-04-19 15:06:14 EDT
Created attachment 99537 [details]
Patch to fix cpuspeed's -p option
Comment 2 Nickolai Zeldovich 2004-04-19 15:07:28 EDT
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.
Comment 3 David Baron 2004-09-11 22:15:46 EDT
It looks like this has been applied in kernel-utils-2.4-9.1.131 .

Note You need to log in before you can comment on or make changes to this bug.