View previous topic :: View next topic |
Author |
Message |
btrip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2004 Posts: 14
|
Posted: Fri Mar 26, 2004 7:33 am Post subject: Setting frequency limits |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nabla n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1283018410403140ee0252b.jpg)
Joined: 30 Oct 2002 Posts: 69 Location: Zurich, Switzerland
|
Posted: Fri Mar 26, 2004 10:21 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Earthwings Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/49753421747790001d409d.png)
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Mar 26, 2004 5:55 pm Post subject: |
|
|
Throttling doesn't save much energy. It's main use is keeping the temperature low. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
soviet/funk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1216923464405a124e62ac5.jpg)
Joined: 18 Mar 2004 Posts: 56 Location: Stavanger, Norway
|
Posted: Mon Mar 29, 2004 9:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
brodo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Apr 2003 Posts: 319
|
Posted: Thu Apr 22, 2004 8:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
damianfrancis Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/89471840140c939572262f.gif)
Joined: 25 Aug 2003 Posts: 120
|
Posted: Wed Apr 28, 2004 3:35 am Post subject: hmm |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
adastra Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/103638619242ced280cbeaf.gif)
Joined: 16 Oct 2002 Posts: 106
|
Posted: Wed Apr 28, 2004 3:41 am Post subject: |
|
|
For x86 processors, I learned of a handy little tool called x86info.
then run
to give you a good idea of your current frequency. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brodo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Apr 2003 Posts: 319
|
Posted: Wed Apr 28, 2004 11:23 am Post subject: Re: hmm |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|