LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-22-2013, 03:15 AM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Cpufreq governor strange behavior.


I have an hp compaq 6710s.

Following the instructions on http://wiki.debian.org/HowTo/CpuFrequencyScaling, i have managed to set "performance" my default(boot) governor.

Still, cpufreq-info shows me strange results:

Code:
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, conservative, userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.80 GHz:0,00%, 1.80 GHz:0,02%, 1.20 GHz:0,01%, 800 MHz:99,97%  (16)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, conservative, userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.80 GHz:0,00%, 1.80 GHz:0,01%, 1.20 GHz:0,00%, 800 MHz:99,99%  (5)
root@notebook-hp:/sys/devices/system/cpu/cpu0/cpufreq#
The main lines are:

Code:
hardware limits: 800 MHz - 1.80 GHz

frequency should be within 800 MHz and 800 MHz.
                  The governor "performance"
These two lines seem mutually exclusive, still, both are present.

How can I manage to set teh correct single speed of 1.80 Ghz instead of 800 Mhz?

Last edited by Lockywolf; 01-22-2013 at 03:22 AM.
 
Old 01-22-2013, 06:16 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Using the performance governor doesn't make much sense, especially on a notebook, but anyways.

Did you try it with one of the other governors, to see if they react as intended?
Have you tried to set the clockspeed manually, to see if that works?
 
Old 01-22-2013, 07:58 AM   #3
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Inside /etc/init.d/cpufrequtils lies this bit (for my setup at least)
Code:
ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="2200000"
MIN_SPEED="1200000"
So my suggestion is to set the minimum and maximim speed, not on the same value, and not to 0 (=auto).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The performance governor for cpufreq doesn't seem to behave as advertised mgoldshteyn Linux - Server 28 08-25-2012 08:11 AM
cpufreq directory not present. How to change governor for P states in such a case kashyapa Linux - General 7 11-03-2009 02:58 PM
Default cpufreq governor not according to kernel config?! Olaus Slackware 7 09-23-2009 02:08 AM
cpufreq governor problems on Thinkpad T21 dive Linux - Kernel 2 07-11-2008 04:25 PM
anyone know how to setup 'ondemand' governor with cpufreq ? -=Graz=- Ubuntu 3 05-15-2006 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration