Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting frequency limits
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
btrip
n00b
n00b


Joined: 06 Mar 2004
Posts: 14

PostPosted: Fri Mar 26, 2004 7:33 am    Post subject: Setting frequency limits Reply with quote

I'm using an IBM thinkpad T30 and I'm trying to set up dynamic memory allocation using speedfreq.

Speedfreq has no problem dynamically allocating the clock speed between 2.0 GHz and 1.2GHz

However the minimum clock speed is still too high for me; since power usage is important.

Does anyone know if/how I can change the bottom limit to something lower???

Any help would be appreciated.

Brian
Back to top
View user's profile Send private message
nabla
n00b
n00b


Joined: 30 Oct 2002
Posts: 69
Location: Zurich, Switzerland

PostPosted: Fri Mar 26, 2004 10:21 am    Post subject: Reply with quote

hi,

i have a t40 (with pentium m).
i think that you can't go under the hardware specific limit. with a cat /sys/.../min_freq you can find out your lower limit. since i'm on a windows machine right now, i can't give you the exact path.

another possibility would be cpu throtteling, which puts the processor in sleepstate for a defined amount of time. this can be found in /proc/acpi/processor/...

i dont know if your processor supports cpu throtteling, but with this you can save more power.

hope that helps
cu nabla
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Fri Mar 26, 2004 5:55 pm    Post subject: Reply with quote

Throttling doesn't save much energy. It's main use is keeping the temperature low.
Back to top
View user's profile Send private message
soviet/funk
n00b
n00b


Joined: 18 Mar 2004
Posts: 56
Location: Stavanger, Norway

PostPosted: Mon Mar 29, 2004 9:50 pm    Post subject: Reply with quote

My minimum freq seems to be listed as 1200MHz in
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
but i do seem to remember seeing a freq as low as 700 the last time i bothered saving some power in XP. Machine is a T30 w/~1800 cpu.

Does speedfreq adjust powersaving and dynamic profiles according to the number in this file?

s/f
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Thu Apr 22, 2004 8:12 pm    Post subject: Reply with quote

soviet/funk wrote:
My minimum freq seems to be listed as 1200MHz in
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
but i do seem to remember seeing a freq as low as 700 the last time i bothered saving some power in XP. Machine is a T30 w/~1800 cpu.

Does speedfreq adjust powersaving and dynamic profiles according to the number in this file?

s/f


As mentioned earlier in this post, throttling does not reduce the energy used for any given task, and as long as idling does work [and on current notebooks, it tends to work] you don't need no throttling.
Back to top
View user's profile Send private message
damianfrancis
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2003
Posts: 120

PostPosted: Wed Apr 28, 2004 3:35 am    Post subject: hmm Reply with quote

brodo are you suggesting not to worry about using cpudyn or speedfreq? You know what would actually be nice, if you could set the machine to keep the cpu max mhz at a certain level under certain curcumstances, such as you have it unplugged and you know you are going to want to conserve power, or to have it change into a higher power usage mode when running certain programs. Anyway, does anyone know how I check to see if speedfreq is working or what mhz my machine is running at. gkrealm tells me how much of the power it is running at it is using but not much more than that.
_________________
This post has been brought to you by The damianfactor!
Back to top
View user's profile Send private message
adastra
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2002
Posts: 106

PostPosted: Wed Apr 28, 2004 3:41 am    Post subject: Reply with quote

For x86 processors, I learned of a handy little tool called x86info.

Code:
emerge x86info


then run

Code:
x86info -mhz


to give you a good idea of your current frequency.
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Wed Apr 28, 2004 11:23 am    Post subject: Re: hmm Reply with quote

damianfrancis wrote:
brodo are you suggesting not to worry about using cpudyn or speedfreq?


I suggest that you use frequency scaling and that you do not worry about _throttling_.

damianfrancis wrote:
You know what would actually be nice, if you could set the machine to keep the cpu max mhz at a certain level under certain curcumstances, such as you have it unplugged and you know you are going to want to conserve power, or to have it change into a higher power usage mode when running certain programs.


Some cpufreq userspace tools are capable of doing so; as I only care about the kernel aspects of cpufreq I forgot which one does so, though -- sorry.

damianfrancis wrote:
Anyway, does anyone know how I check to see if speedfreq is working or what mhz my machine is running at. gkrealm tells me how much of the power it is running at it is using but not much more than that.


Wait for 2.6.7. and do (as normal user)
Code:
 cat /sys/devices/system/cpu/cpu0/scaling_cur_freq

or (as super user)
Code:
 cat /sys/devices/system/cpu/cpu0/cpuinfo_cur_freq
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