You are not logged in.

#1 2006-07-19 20:30:00

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

How do I change cpu governors?

EDIT: Sorry, my previous post was a rant. I have changed the title to reflect what I wanted to do.

Thanks to the posters below I now have cpu control.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#2 2006-07-19 20:43:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: How do I change cpu governors?

a) It's best to just reuse the stock PKGBUILD for the kernel.  It makes life easier.  Just replace "yes
make config" with "make menuconfig" - also, make sure to change the pkgname and EXTRAVERSION so you don't clash with the stock kernel.
This makes life easier as pacman can manage/upgrade/remove your new kernel.

b) The scaling governor is controlled by sysfs.  I'd recommend installing cpufrequtils and changing the settings in /etc/conf/d/cpufreq, then adding 'cpufreq' to the DAEMONS array in rc.conf.

Offline

#3 2006-07-19 20:49:00

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: How do I change cpu governors?

I didn't bother compiling my own kernel and cpu scaling stuff works just fine for me. I just put

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

in /etc/rc.local to set the governor to ondemand on each boot.

Offline

#4 2006-07-19 20:50:30

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: How do I change cpu governors?

smoon wrote:

I didn't bother compiling my own kernel and cpu scaling stuff works just fine for me. I just put

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

in /etc/rc.local to set the governor to ondemand on each boot.

thats awesome..
Im going to try that thanks. Thanks for the help.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#5 2006-07-19 21:26:03

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: How do I change cpu governors?

Solved.

Added speedstep_centrino, cpufreq_userspace and freq_table to /etc/rc.conf and used the command from my above post.

thanks guys.

btw.. the dudes on the irc channel are extremely rude.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#6 2006-07-19 22:20:52

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How do I change cpu governors?

djpharoah wrote:

btw.. the dudes on the irc channel are extremely rude.

We know, we can only apologise!

Offline

#7 2006-07-19 23:58:51

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: How do I change cpu governors?

dtw wrote:
djpharoah wrote:

btw.. the dudes on the irc channel are extremely rude.

We know, we can only apologise!

Its kinda disheartening to see these members literally chewing out new users for asking a valid Q. Thats how distros get their false "elitist" status.There are always a few bad apples out of the bunch. It was the exact same thing with the gentoo irc channel.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

Board footer

Powered by FluxBB