Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cpufreq
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 2:55 pm    Post subject: cpufreq Reply with quote

How can I make cpufreq see HIGHER cpu speeds than _normally_ available?

Just look:
Code:
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 333 MHz - 2.67 GHz
  available frequency steps: 333 MHz, 667 MHz, 1000 MHz, 1.33 GHz, 1.67 GHz, 2.00 GHz, 2.33 GHz, 2.67 GHz
  available cpufreq governors: powersave, userspace
  current policy: frequency should be within 2.67 GHz and 2.67 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 2.67 GHz (asserted by call to hardware)


It sais the hardware limits are 333-2,67GHz. What if I wanted the CPU to work at highter speeds when it's needed?
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Nov 29, 2005 3:03 pm    Post subject: Reply with quote

Sorry, I'm not really sure what you mean. Does your CPU run faster than 2.67 GHz?
_________________
KDE
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 3:12 pm    Post subject: Reply with quote

Exactly, sorry if the previous post wasn't clear enough.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Nov 29, 2005 4:18 pm    Post subject: Reply with quote

What does /proc/cpuinfo report? Does it change when you unload the p4-clockmod driver?
_________________
KDE
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 4:26 pm    Post subject: Reply with quote

Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 2.66GHz
stepping : 1
cpu MHz : 2247.855
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflu
s acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips : 5914.62


I've all the drivers build into the kernel, btw.

In other words, the problem is, if it's possible to use cpufreq to set a non-standard CPU speed, like, let's say: 2,4GHz or 2,5 GHz in my case? Or it's just using those predefined values (where is it getting them from?)...
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Nov 29, 2005 4:47 pm    Post subject: Reply with quote

zgredek wrote:
In other words, the problem is, if it's possible to use cpufreq to set a non-standard CPU speed, like, let's say: 2,4GHz or 2,5 GHz in my case? Or it's just using those predefined values (where is it getting them from?)...

The predefined values are reported by your processor. A pentium 4 supports eight stages of frequencies which allows it to prevent damage in case of heat problems. You cannot change them.
You said your processor would run faster than 2.67 GHz, do you mean it is overclocked?
_________________
KDE
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 4:57 pm    Post subject: Reply with quote

8 stages of frequencies? You're joking right? I suppose it can run faster, but the question is if and how can I change those 8 values?
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Nov 29, 2005 5:02 pm    Post subject: Reply with quote

zgredek wrote:
8 stages of frequencies? You're joking right? I suppose it can run faster, but the question is if and how can I change those 8 values?

Mhm. Here are the 8 stages: 333 MHz, 667 MHz, 1000 MHz, 1.33 GHz, 1.67 GHz, 2.00 GHz, 2.33 GHz, 2.67 GHz.
Now please tell me if the CPU in your system is a Pentium 4 2.67 GHz or not. As I said, you cannot change the values (maybe you could with some stupid overclocking, but that's silly ricing).
_________________
KDE
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 8:25 pm    Post subject: Reply with quote

Earthwings wrote:

zgredek wrote:
8 stages of frequencies? You're joking right? I suppose it can run faster, but the question is if and how can I change those 8 values?

Mhm. Here are the 8 stages: 333 MHz, 667 MHz, 1000 MHz, 1.33 GHz, 1.67 GHz, 2.00 GHz, 2.33 GHz, 2.67 GHz.
Now please tell me if the CPU in your system is a Pentium 4 2.67 GHz or not. As I said, you cannot change the values (maybe you could with some stupid overclocking, but that's silly ricing).


Yes, the CPU is a P4 2.66 (2.67, whatever)... So, to sum up, I cannot change the values are assigned to a particular CPU. In the case /me wants to use a non-cpufreq-defined frequency I must turn off freq scalling, right? I'm not talking about overclocking here and I'm not a fckin ricer :wink: .

Ok... Let's see... I've just started using cpufreq, so I'm not sure I'm doing all the stuff correctly... Could you please explain how would I change minimal and max frequency and how to switch between profiles (that's what it's all about, am I right?). Should I mangle with the /proc and/or /sys interface or there's a better way? Thanks!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Nov 29, 2005 8:37 pm    Post subject: Reply with quote

I still don't get it. Please enlighten me how you increase the frequency without overclocking. For changing below max frequency, see here. There's a list of programs you can use.
_________________
KDE
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Tue Nov 29, 2005 10:06 pm    Post subject: Reply with quote

Earthwings wrote:
I still don't get it. Please enlighten me how you increase the frequency without overclocking. For changing below max frequency, see here. There's a list of programs you can use.


Ok, the link explains a lot. Sorry, my posts were, sort of, messy, but even I don't know what I was looking for :wink:

Now, I switched to ondemand governor, edited the default config file, restarted cpufreq, and it seems to be working as expected... BTW: Can it be, possibly, cause damage to the CPU if the frequency is changed so many times?

Thanks for your time, Earthwings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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