PDA

View Full Version : Disabling Intel's SpeedStep in Linux?


enkrypt3d
03-10-2006, 03:32 AM
How do you do it? I want my CPU to run at 2ghz not 800mhz or 1.5ghz... all the time even on batteries. I hear you have to patch the kernel? :censored:

I have all the power settings in Kcontrol set to full performance... it still steps the CPU Freq up and down... and the openGL screensaver isnt as smooth as it used to be. And yes I have openGL accelleration working...:scratch:

c0bblers
03-10-2006, 04:20 AM
I dunno which distro you're using but it is possible to turn off frequency scaling by switching governor. Governors are used to select the different frequencies, there's Performance which is flat out, Ondemand + Conservative which switche frequencies (Ondemand switches quicker), Powersave(? can't remember) which runs at the lowest frequency available, and finally Userspace which lets userpace daemon set the frequency (cpufreqd whatever). Since I don't know the way in which the frequency is currently set on your system or what you have installed I can only guess at a way to change this but it DOESN'T require a recompile of the kernel. Quickest way would be:

cpufreq-set -g performance

Otherwise you have to fiddle with sysfs...

abf
03-10-2006, 06:27 AM
c0bblers, i believe he is using kubuntu, and it should work for it since all that crap you mentioned is installed standard.

if you dont feel like working terminal, install cpuspeedy and gtk-cpuspeedy and use the later to change your frequency as you wish in a gui environment. downside is that it is GTK, not QT but oh well.

enkrypt3d
03-10-2006, 06:41 AM
if you dont feel like working terminal, install cpuspeedy and gtk-cpuspeedy and use the later to change your frequency as you wish in a gui environment. downside is that it is GTK, not QT but oh well.

QT? Quicktime? lol

yes I'm using Kubuntu (Breezy) 5.10 w/ KDE 3.5.1.

c0bbers, yea I have all those options enabled...... still my cpu freq is jumping all over the place......weird:huh:

Siul1313
03-10-2006, 06:44 AM
I dont mean to be dick but could you just make one thread where you will post all your questions so as not to croud the section (ala BT´s Gentoo one)

Thanks!

seablade
03-10-2006, 07:31 AM
Actually it might be better NOT to, he hasnt spammed the boards a huge amount and this way there isnt confusion as to which topic he/she is asking about.

And for the record QT(What ABF was referring to) is a GUI library, not quicktime;) The reason it makes a difference is that KDE is built on top of QT so therefore it is easier if you use KDE to run things that use QT as a UI since those libs are already loaded, and it will blend with your desktop a bit easier. But GTK apps will run fine, they will probably look a bit different though.

Seablade

enkrypt3d
03-10-2006, 08:25 AM
I dont mean to be dick but could you just make one thread where you will post all your questions so as not to croud the section (ala BT´s Gentoo one)

Thanks!

If I did that then all of my questions wouldn't be answered. :rolleyes:

c0bblers
03-10-2006, 09:50 AM
Have you tried running cpufreq-info to look at the various settings you have for the CPU? Might be going freaky in some way...you may have a userspace daemon running that is switching governors or something. Check to see whether you have something like cpufreqd, powernowd, etc. running.

enkrypt3d
03-11-2006, 12:52 PM
Have you tried running cpufreq-info to look at the various settings you have for the CPU? Might be going freaky in some way...you may have a userspace daemon running that is switching governors or something. Check to see whether you have something like cpufreqd, powernowd, etc. running.

Hmm thats a good idea... I'll try that and get back to you....

immortality
03-11-2006, 01:13 PM
you can set all your governors to use the full frequency even on batteries, light usage, etc. they should be in the cpufreq directory...

enkrypt3d
03-11-2006, 02:53 PM
you can set all your governors to use the full frequency even on batteries, light usage, etc. they should be in the cpufreq directory...

Yea thats how I have it set in kcontrol... it still seems to adjust the cpu frequency though..... going to look into c0bblers idea