Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What speed is my CPU running at? SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dat
Apprentice
Apprentice


Joined: 04 Jun 2004
Posts: 186
Location: Location: Location: Location: Location: Location:

PostPosted: Sun Jun 27, 2004 6:48 pm    Post subject: What speed is my CPU running at? SOLVED Reply with quote

I'm a little confused. I'm running an IBM x31 - Centrino 1.3ghz laptop. I upgraded to 2.6.7 and am trying to use acpi. My laptop is running a bit hot, so I wanted to scale down the cpu a bit, but I can't really get a straight answer as to what its running at. I also tried using speedfreq, so I don't kow if that is messing something up.

Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

says that I'm scaling down to 600.
Code:
cat /proc/cpuinfo

says that I'm running at 600.

I *know* i'm not running at 600mhz based on the system responsiveness and the temperature that the laptop is still running at.

Code:
watch -n 1 x86info -mhz

says that I'm running anywhere between ~150mhz to ~1300mhz (Based on load)

Code:
/etc/conf.d/speedfreq

has this set:
Code:
SPEEDFREQ_SPEED="900"


I have no idea what is right, but I can only assume that some of these files are conflicting with eachother.
_________________
HASH BANG SLASH BIN SLASH BASH

in a world without fences, who needs gates?


Last edited by dat on Mon Jun 28, 2004 1:23 am; edited 1 time in total
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Sun Jun 27, 2004 10:13 pm    Post subject: Reply with quote

Can you please do the folowing:

1) watch out for cpufreq/speedstep/acpi-related error messages in the kernel logs

2) please make sure you're using the speedstep_centrino driver and not the acpi cpufreq driver

3) disable "speedfreq", enable the userspace cpufreq governor,
Code:
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
and test behaviour
Back to top
View user's profile Send private message
dat
Apprentice
Apprentice


Joined: 04 Jun 2004
Posts: 186
Location: Location: Location: Location: Location: Location:

PostPosted: Mon Jun 28, 2004 12:26 am    Post subject: Reply with quote

brodo wrote:

2) please make sure you're using the speedstep_centrino driver and not the acpi cpufreq driver


Where can I choose this? Is it in a cpufreqd conf?

VVVV EDIT VVVV

From what I can see, its a kernel module(?) Now 2.6.7 has support for the proc type of the pentium m, which I selected. I'm guessing that negates the need for the module(?)
_________________
HASH BANG SLASH BIN SLASH BASH

in a world without fences, who needs gates?
Back to top
View user's profile Send private message
dat
Apprentice
Apprentice


Joined: 04 Jun 2004
Posts: 186
Location: Location: Location: Location: Location: Location:

PostPosted: Mon Jun 28, 2004 1:11 am    Post subject: Reply with quote

brodo wrote:

3) disable "speedfreq", enable the userspace cpufreq governor,
Code:
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
and test behaviour


Code:
datlap cpufreq # cat 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
-bash: /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed: Permission denied
datlap cpufreq #

There isn't a scaling_setspeed file in that dir. There's a scaling_cur_freq in there that says 1300000. As root, I don't have write permissions on that file without chmod'ing it, so I'm guessing that I'm not supposed to mess with it.

VVVV EDIT VVVV
Ok, I found a file called: scaling_governer that seems to do the same thing. It has slowed my pc down to 900000 max (which is what I wanted)...

Thanks for your help.
_________________
HASH BANG SLASH BIN SLASH BASH

in a world without fences, who needs gates?
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Mon Jun 28, 2004 6:53 am    Post subject: Reply with quote

dat wrote:
brodo wrote:

3) disable "speedfreq", enable the userspace cpufreq governor,

There isn't a scaling_setspeed file in that dir.


There'd be one if you'd enabled the userspace cpufreq governor by

Code:
echo -n "userspace" > scaling_governor
(as long as it is built into the kernel, else you need to
Code:
modprobe cpufreq_userspace
first, of course.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum