Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scaling_cur_freq, /proc/cpuinfo, x86info -mhz: what's right?
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
JayCee
n00b
n00b


Joined: 18 Feb 2005
Posts: 29

PostPosted: Fri Mar 11, 2005 4:39 pm    Post subject: scaling_cur_freq, /proc/cpuinfo, x86info -mhz: what's right? Reply with quote

Hi!

I've just setup my kernel with the cpufreq-features.
Regulating the cpu-speed works nice, but scaling_cur_freq, /proc/cpuinfo and x86info -mhz give all other mhz-values!

eg:
governor performance:
Code:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
1066000

cat /proc/cpuinfo | grep mhz -i
model name: Intel(R) Pentium(R) III Mobile CPU 1066MHz
cpu MHz: 795.112

x86info -mhz
...
550MHz processor (estimate).


governor powersave:
Code:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
733000

cat /proc/cpuinfo | grep mhz -i
model name: Intel(R) Pentium(R) III Mobile CPU 1066MHz
cpu MHz: 546.733

x86info -mhz
...
350 MHz processor (estimate).


Which value is the right one?

kernel: development-sources-2.6.10-r1
chipset: ALI Trident
cpufreq-driver: acpi-cpufreq

JayCee
_________________
++++[>++++<-]>+[>++++>++++++>+>++++++<<<<-]>+++.>-.>>>
+++[>+++<-]>[<<+>>-]<<-.<--[<+>-]<.>>+..>>>+++[<+++>-]<+.
Back to top
View user's profile Send private message
darkfolk
n00b
n00b


Joined: 30 Jan 2005
Posts: 32

PostPosted: Sat Mar 12, 2005 2:13 am    Post subject: Reply with quote

What frequency is it running at from boot?

generally, scaling_cur_freq should be the most accurate.../proc/cpuinfo doesn't update "live"...and x86info, I don't know.
I suggest cpufrequtils (in portage), and run:
Code:

cpufreq-info -m -f

for some human readable generally correct frequency readings.
Back to top
View user's profile Send private message
JayCee
n00b
n00b


Joined: 18 Feb 2005
Posts: 29

PostPosted: Sat Mar 12, 2005 2:12 pm    Post subject: Reply with quote

Hi!

Thank you for reply!

cpufreq-info -m -f returns the value from scaling_cur_freq.

darkfolk wrote:
What frequency is it running at from boot?

I don't know. The BIOS doesn't give any informations about that (just a big TOSHIBA screen ;)).

But I found another BIOS option! It's called "battery save mode -> processing speed". I switched it from LOW to HIGH and now the files and x86info give the same value and the laptop runs faster than befor :D

Thank you for helping!

JayCee
_________________
++++[>++++<-]>+[>++++>++++++>+>++++++<<<<-]>+++.>-.>>>
+++[>+++<-]>[<<+>>-]<<-.<--[<+>-]<.>>+..>>>+++[<+++>-]<+.
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