Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old July 10th, 2006   #1
djoelsson
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 31
Core duo processor speed wont go <46%

Hi,

I have a Toshiba satellite laptop with core duo centrino. Using powernowd I can't get the processors to go below 46% speed.

I read the whole thread at http://www.ubuntuforums.org/showthread.php?t=186003.

My output from cat /proc/acpi/processor/CPU0/power is:
dan@toshiba:~$ cat /proc/acpi/processor/CPU0/power
active state: C2
max_cstate: C8
bus master activity: 00000000
states:
C1: type[C1] promotion[C2] demotion[--] latency[000] usage[00000010]
*C2: type[C2] promotion[--] demotion[C1] latency[001] usage[04106835]


As you can see I don't have a C3 state, which is probably why my processors won't idle at any lower speed. According to http://acpi.sourceforge.net/wiki/ind...StateIsNotUsed I may have to turn off the usb bus to put my processor into C3 state. I'm a noob, and I'm not sure how to turn it back on, so I didn't try it. Can anyone tell me how to enable it again after I disable it?

Is there another solution? I'm thinking I can get much better battery life if I can slow down my idle speed.

Any advice you can give me would be appreciated.

Thanks,
Dan
djoelsson is offline  
Old July 10th, 2006   #2
hnoble
First Cup of Ubuntu
 
Join Date: Jul 2006
Beans: 1
Re: Core duo processor speed wont go <46%

Hi,
I had the same problem, aperently the powernowd with userspace governor does not work well with the core duo. You need to change to the ondemand governor and thus using kernel part for frequency scaling with the modules speedstep_centrino and freq_table that should already be loaded fixes this. To keep the change between reboots, install the sysfsutils package and add the following lines to /etc/sysfs.conf:


devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand
hnoble is offline  
Old July 10th, 2006   #3
djoelsson
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 31
Re: Core duo processor speed wont go <46%

Thanks for the reply. I did as you suggested and according the CPU frequency monitor, both cores are now in ondemand mode. However, they still sit at 46% the whole time.

Did this work for you?

Dan
djoelsson is offline  
Old July 12th, 2006   #4
djoelsson
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 31
Re: Core duo processor speed wont go <46%

Hi again,

When I run the ondemand speed governor when I'm not plugged in, the cpu usage does actually change from a constant 46%. The only problem is that now it cycles between 46%, 61%, and 100%!

Is this due to the USB bus constantly checking for new hardware that I've read about before?

Thanks,
Dan
djoelsson is offline  
Old July 13th, 2006   #5
Hellkeepa
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 88
Re: Core duo processor speed wont go <46%

HELLo!

I doubt it's that one, as that particular issue only prevents the CPU from ever reaching the C3 state (which you don't have).
Though it sounds more like you're affected by the bug discussed in this thread:
http://ubuntuforums.org/showthread.php?t=204100

Read the entire thread, as I've just updated it with the current status.

Happy codin'!
Hellkeepa is offline  
Old July 13th, 2006   #6
djoelsson
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 31
Re: Core duo processor speed wont go <46%

Thanks again for the reply,

I feel kind of stupid right now. I looked at the CPU status when I was not plugged in. Now I have a C3 state! It makes perfect sense why the processor would never go beyond C2 when it's plugged in, and only turn on C3 when running on battery.

It spends about 90% of the time in C3 and 10% in C2 when on battery. This is only when I'm using ondemand instead of userspace, so thanks for that hint (in userspace it stays in C2). It did add a significant amount of battery life. The 10% in C2 is due to the cycling phenomenon I mentioned earlier. I guess it's polling something at regular intervals...

I still can't get below 46% though, but at least I feel like I'm getting somewhere. I wonder if this is just a hardware limitation. I'll have to boot into windows (the horror) and see what happens there.

Thanks!
Dan
djoelsson is offline  
Old August 18th, 2006   #7
asmallerbrain
First Cup of Ubuntu
 
Join Date: Aug 2006
Beans: 4
Re: Core duo processor speed wont go <46%

Bump. I'm running edgy on a T2500 and can't throttle below ~50%.

Code:
~$ cpufreq-info 
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: centrino
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 996 MHz - 1.99 GHz
  available frequency steps: 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: userspace, powersave, ondemand, conservative, performance
  current policy: frequency should be within 996 MHz and 1.99 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 996 MHz.
analyzing CPU 1:
  driver: centrino
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 996 MHz - 1.99 GHz
  available frequency steps: 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.99 GHz, 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: userspace, powersave, ondemand,  conservative, performance
  current policy: frequency should be within 996 MHz and 1.99 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 996 MHz.
The resulting frequency is the same whether I use the userspace, conservative, or ondemand governor, and whether or not the notebook (Asus Z62f) is plugged in.

It seems a bit silly that it reports 10 steps but only uses 4 different frequencies. What on earth is going on here?
asmallerbrain is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:46 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry