UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having an issue with speed on a Dell C840 laptop running Ubuntu 9.04. I have found that it seems to want to throttle the CPU down as soon as the fan kicks in. When the temperature goes past 50C, the fan will start at full speed and the system will throttle down to state P6 (25%) as seen in the /proc/acpi/.../throttling file. Once the temperatur goes down (even below 43C), the fan never turns off and the throttling state never comes back to P0 (100%), so the system run poorly from that point out.
I was running 8.04 and the system worked fine for the longest time - fans came on and off as needed and never saw the throttling issue. I noticed this happening at some point (I assume I received an update, but don't know which one) and it's been happening ever since. I upgraded to 8.10 and it continued to happen and then upgraded to 9.04 this last week and it's still happening. I can watch the throttling file and as soon as the fan kicks in I see the state change.
I want to turn off this throttling control, as the laptop seems to run pretty cool. It's not under heavy use and if I can get the fans to come on and off as they did that would be great. It normally runs below 50C so I'm not concerned about overheating.
You can add it to the bootup scripts to always keep the system in this state. Or you can modify the kernel to not use throttling, but that requires recompiling it. I tried searching for a boot method to disable it but I could not find anything and I don't have the kernel sources here to check the documentation.
Last edited by exvor; 11-30-2009 at 10:30 PM.
Reason: added some info
Thanks for the reply. That refers to the CPU Frequency Scaling that essentially scales the frequency the CPU is running at. What I am experiencing is the CPU T-States, where the CPU is "put to sleep" for short amounts of time (like every Xth cycle is forced to be a sleep cycle). It appears that this is to prevent overheating of the system, but for some reason my laptop does not come out of these states.
When my fans kick in, I see in the /proc/acpi/.../throttling file that it is in state T6 which is essentaily 25% of the CPU cycles are non-sleep cycles.
state count: 8
active state: T0
state available: T0 to T7
states:
T0: 100%
T1: 87%
T2: 75%
T3: 62%
T4: 50%
T5: 37%
*T6: 25%
T7: 12%
The fans never go off and the system stays in this state - which is very poor performance.
Ahh ok. T-States are considered a relic of the past since they do almost nothing these days to save power. Thats strange that you go into that state. There must be a way to change it manually using /sys, but I have so far come up blank.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.