View previous topic :: View next topic |
Author |
Message |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Fri Jan 13, 2006 7:06 am Post subject: |
|
|
Hi, and thanks to you for all your work
bdz wrote: | Note to dgaffuri:
You have labeled your CPU "Pentium M 750". But from the frequencies where you have put your voltages I guess that it is actually a Pentium M 755 (2.0 GHz core frequency and 400 MHz FSB frequency). Am I correct? |
No, the 750 have a 533 MHz FSB, I've a 755 (400 MHz). _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Fri Jan 13, 2006 7:24 pm Post subject: |
|
|
OK, thank you for the confirmation. So now the HowTo is correct about your CPU model.
Just a wild question to anyone who read this:
How many of you would be interested by a sysfs interface to change the number of entries in the frequency table and the frequency value of each entry? I mean a full dynamic configuration of all the parameters of the frequency/voltage setpoints array, not only the voltages values as with my current patch version.
BDz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Feb 13, 2006 9:51 am Post subject: |
|
|
A general question about undervolting: It's not a good idea or nearly impossible to use undervolting togethre with a cpu freq scaling governor such as the conservative? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Mon Feb 13, 2006 12:06 pm Post subject: |
|
|
Phlogiston wrote: | A general question about undervolting: It's not a good idea or nearly impossible to use undervolting togethre with a cpu freq scaling governor such as the conservative? |
Why? I use it with ondemand without any problem. Undervolting only changes the voltage fed to the CPU for each frequency, not the frequencies themselves. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Feb 13, 2006 12:35 pm Post subject: |
|
|
dgaffuri wrote: | Phlogiston wrote: | A general question about undervolting: It's not a good idea or nearly impossible to use undervolting togethre with a cpu freq scaling governor such as the conservative? |
Why? I use it with ondemand without any problem. Undervolting only changes the voltage fed to the CPU for each frequency, not the frequencies themselves. |
Hmm so a script is changing the voltage everytime the cpu speed is changed? Because we have different voltages for each frequency I think. _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rschwarze n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 63 Location: Germany
|
Posted: Mon Feb 13, 2006 1:01 pm Post subject: |
|
|
cpufreq already changes the voltages of your pemtium m.
with the standard settings, the voltages for a standard pentium m are between 980 and 1340 mv and cufreq changes them when it changes the frequency.
with our undervolting patch, we are able to see this voltages and to change them to much lower voltages, myvoltages are now between 700 and 970.
if you like to try it out, just go to http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU and follow the instructions. before any voltage is changed, you are able to have a look at the voltages your system is currently using. then you can deside if you want to change them.
Greetz, Roman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Mon Feb 13, 2006 2:09 pm Post subject: |
|
|
Phlogiston wrote: | Hmm so a script is changing the voltage everytime the cpu speed is changed? Because we have different voltages for each frequency I think. |
It's not a script. At each frequency change (coming from a governor or from an explicit user action) the unpatched speedstep_centrino kernel module feeds the processor with voltage/frequency pairs, as required by Intel specification. Roughly, voltage for each frequencies are took from hard-coded tables derived from specs for older CPUs (Banias) and from ACPI calls for newer ones (Dothan). These voltages are in general higher than required, mainly to account for fluctuations in chips quality. The patched speetdstep_centrino allows you to change the voltage values to lower ones writing into a sysfs entry.
Hope I've been clear enough. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Feb 13, 2006 2:16 pm Post subject: |
|
|
dgaffuri wrote: | Phlogiston wrote: | Hmm so a script is changing the voltage everytime the cpu speed is changed? Because we have different voltages for each frequency I think. |
It's not a script. At each frequency change (coming from a governor or from an explicit user action) the unpatched speedstep_centrino kernel module feeds the processor with voltage/frequency pairs, as required by Intel specification. Roughly, voltage for each frequencies are took from hard-coded tables derived from specs for older CPUs (Banias) and from ACPI calls for newer ones (Dothan). These voltages are in general higher than required, mainly to account for fluctuations in chips quality. The patched speetdstep_centrino allows you to change the voltage values to lower ones writing into a sysfs entry.
Hope I've been clear enough. |
Yes you cleared it out. But I'm no really motivated to play around with those values. Too hackish I think. _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Mon Feb 13, 2006 2:26 pm Post subject: |
|
|
Phlogiston wrote: | Yes you cleared it out. But I'm no really motivated to play around with those values. Too hackish I think. |
Little hackish, yes, but my CPU temps are 10 degrees lower, both under Linux and Windows, and the fan is almost always off. And I never got a crash (in both systems) in 8 months. I'm very glad with it, but I'm not trying to convince you, of course it's your choice (and you need a lot of time to test your voltage settings). _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Feb 13, 2006 4:02 pm Post subject: |
|
|
dgaffuri wrote: | Phlogiston wrote: | Yes you cleared it out. But I'm no really motivated to play around with those values. Too hackish I think. |
Little hackish, yes, but my CPU temps are 10 degrees lower, both under Linux and Windows, and the fan is almost always off. And I never got a crash (in both systems) in 8 months. I'm very glad with it, but I'm not trying to convince you, of course it's your choice (and you need a lot of time to test your voltage settings). |
Yes that time thing is what I dislike? Does anyone has a T43 with an
model name : Intel(R) Pentium(R) M processor 1.86GHz
and is using undervolt?
![Cool 8)](images/smiles/icon_cool.gif) _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Mon Feb 13, 2006 7:05 pm Post subject: |
|
|
Phlogiston wrote: | Yes that time thing is what I dislike? Does anyone has a T43 with an
model name : Intel(R) Pentium(R) M processor 1.86GHz
and is using undervolt? |
Have a look here for someone that apparently has undervolted his Thinkpad T43 with 1.86 GH Pentium M: http://thinkwiki.org/wiki/Pentium_M_undervolting_and_underclocking
But even if you have reference voltages that somebody else is using on the same laport and CPU model you will have to spend a quite long time testing to be sure that the voltages are safe on your laptop. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rschwarze n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 63 Location: Germany
|
Posted: Mon Feb 13, 2006 7:41 pm Post subject: |
|
|
if you test each voltage/frequency pair for at least one two hours or so with gimps, you are on the safe side. should not be to difficult to write a script that does that over night. so it will not cost you too much time.
and some settings are pretty easy: i have never seen someone who couldn't use 700mv at the lowest frequency, so you can at least try that out. that gives you lots of power saving in idle mode
From my point of view, it is totally worth the effort. my notebook was really hot and loud before and now its cool and quiet. And that's very imprtant for me, cause i don't like the noise of a fan when i just surf the internet.
So long,
Roman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 1:35 pm Post subject: |
|
|
Ok guys. I felt boring and started undervolting First I used the values from the wiki: Code: | Pentium-M Dothan 1.86 1068,972,876,780,700 |
But then my T43 just crashed very strangly... [at 800MHZ] So I increased the value by 50mV and tested again and it seems to be quite stable. I also increased all the other values by 50mV and tested wiht gimps. No problems so far. And wow: Together with the fan control script my machine is now really quite! Thats awesome!
Thanks to everyone involved in that stuff and/or motivating me to try that out.
Phlogiston
PS: These are the values I'm using now:
Code: |
CUSTOM_VTABLE="1118,1022,926,830,750"
|
_________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Wed Feb 15, 2006 7:19 pm Post subject: |
|
|
Great!
It's always good to hear a new succes story with the patch.
One smal remark about your voltages. If you look at the actual values that are used you wil see that they are not exactly what you have set
You should see something like this:
Code: | # cat /sys/devices/system/cpu/cpu0/cpufreq/voltage_table
1116,1020,924,828,748
|
This is because the voltages can only be adjusted by steps of 16 mv, starting at 700 mv.
By the way, I have added your voltages in the HowTo on the wiki: http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU#Safe_voltages
Can you please check that I have not made any mistake on your CPU information?
Feel free to modify your voltages on the wiki page if one day you decide to change the values you are using on your laptop.
bdz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 7:32 pm Post subject: |
|
|
bdz wrote: | Great!
It's always good to hear a new succes story with the patch.
|
So does this mean you wrote that patch?
Quote: |
One smal remark about your voltages. If you look at the actual values that are used you wil see that they are not exactly what you have set
You should see something like this:
|
Yes that true, that's also what the scripts says.
Here are all the values:
Code: |
* Current table: 1116,1020,924,828,748
* Configured table: 1118,1022,926,830,750
* Applied table: 1116,1020,924,828,748
|
Quote: |
This is because the voltages can only be adjusted by steps of 16 mv, starting at 700 mv.
|
Thanks for claryfiying, I thouht something like that but didn't know exaclty.
Quote: |
By the way, I have added your voltages in the HowTo on the wiki: http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU#Safe_voltages
Can you please check that I have not made any mistake on your CPU information?
Feel free to modify your voltages on the wiki page if one day you decide to change the values you are using on your laptop.
bdz |
Ok great... Yes I just increased the values so these are not the lowest ones... Probably I'll try to decrease the one for 800MHZ a bit more. Because thats where I need to save the most power when I am on the way. _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rschwarze n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 63 Location: Germany
|
Posted: Wed Feb 15, 2006 7:39 pm Post subject: |
|
|
Like I said! everybody loves undervolting
you said something about a script which controls your fan. how are you doing that? it's probably only working with supportet fans?
thx for an answer
cu, roman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Wed Feb 15, 2006 7:50 pm Post subject: |
|
|
Phlogiston:
Yes that's me that started writing this patch and the howto. But some parts are strongly inspired by some previous work of some other guys.
And now Roman (rschwarze) has joined me to work on the next version of the patch.
Also several people have added their contribution to the howto.
(If anybody else wants to join the team you're welcome. Just let us know) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 7:55 pm Post subject: |
|
|
rschwarze wrote: | Like I said! everybody loves undervolting
you said something about a script which controls your fan. how are you doing that? it's probably only working with supportet fans?
thx for an answer
cu, roman |
Yes but I think it only works on Thinkpad Laptops, do you have such a beauty?
Link: http://www.thinkwiki.org/wiki/ACPI_fan_control_script _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 7:56 pm Post subject: |
|
|
bdz wrote: | Phlogiston:
Yes that's me that started writing this patch and the howto. But some parts are strongly inspired by some previous work of some other guys.
And now Roman (rschwarze) has joined me to work on the next version of the patch.
Also several people have added their contribution to the howto.
(If anybody else wants to join the team you're welcome. Just let us know) |
Ohh, ok... So a big THANK to you! And of course everyone else involved in it. Hey I just reduced the voltages by 30mV and lowest is now at 716. And thats ok, no problems so far... _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Wed Feb 15, 2006 8:20 pm Post subject: |
|
|
Phlogiston wrote: |
Ohh, ok... So a big THANK to you! And of course everyone else involved in it. Hey I just reduced the voltages by 30mV and lowest is now at 716. And thats ok, no problems so far... |
You're welcome
If your laptop crashed at 700 mv you should let gimps running in torture test mode for one hour or more at 716 mv to be sure you don't have any problem with this voltage.
And you can increase to 732 mv even if gimps does not detect any problem if you want to be safe. It should not make a big difference in power consumption.
Edit:
When using gimps/mprime to check voltage stability be carefull to use the userspace cpufreq governor to set the CPU frequency to the one you want to test. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
soulwarrior Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 21 Oct 2002 Posts: 331
|
Posted: Wed Feb 15, 2006 9:16 pm Post subject: |
|
|
I am too running this patch successfully
It's a Intel Pentium M 740 with the following values for the voltage table:
"956,956,956,956,956,956,956,828,732,700"
Greetings,
soulwarrior |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Wed Feb 15, 2006 9:29 pm Post subject: |
|
|
Thank you very much for your voltages soulwarrior. I have added them to the howto. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 10:41 pm Post subject: |
|
|
bdz wrote: |
Edit:
When using gimps/mprime to check voltage stability be carefull to use the userspace cpufreq governor to set the CPU frequency to the one you want to test. |
I know I know... and if you are using conservative... the frequence won't be increased because it runs at nice value Thats why I reniced it to -18 or so to test it really hard ![Cool 8)](images/smiles/icon_cool.gif) _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_brainslug.gif)
Joined: 15 Jul 2005 Posts: 237 Location: Montpellier (France)
|
Posted: Wed Feb 15, 2006 11:27 pm Post subject: |
|
|
Yes I forgot about nice.
But if you want to test indermediate frequencies you will need to use userspace grovernor ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phlogiston Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1076226881414f06f052a36.jpg)
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Feb 15, 2006 11:49 pm Post subject: |
|
|
bdz wrote: | Yes I forgot about nice.
But if you want to test indermediate frequencies you will need to use userspace grovernor ![Wink :wink:](images/smiles/icon_wink.gif) |
Of course! I know, I know
Have a good night
Bonne nuit ![Smile :)](images/smiles/icon_smile.gif) _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|