Controlling power consumption in linux
Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee
-
- Friend of SPCR
- Posts: 1439
- Joined: Tue Dec 14, 2004 4:06 pm
- Location: New Hampshire, US
- Contact:
Controlling power consumption in linux
I've recently stepped back into the linux arena(ubuntu) with the sole purpose being SMP folding. Originally my system was overclocked, but now, I'm trying to run the Opteron at stock, 2.0ghz, and undervolted to 1.1v(the lowest my newer motherboard will allow). The issue here is that the lowest vcore my BIOS will allow me to set is 1.35v. In Windows, CrystalCPUID, with or without CnQ enabled in the BIOS, I can select a vcore manually. It gives me a list going all the way down to 0.8v, but setting anything below 1.1vcore only results in an actual vcore of 1.1v(as monitored by Everest). I can set this vcore, but as soon as I restart my system it is reset to 1.35v, really finnicky motherboard.
With load temperatures of 31C with the undervolted cpu, I'm even considering attempting a fanless configuration, maybe a positive pressure system. Regardless, I still have the task of attempting to lower power consumption in linux. I don't see a point in folding with my system if I can't use the minimum power required to do so, it's wasteful, and now that I'm moving, I wont have the spare change to afford it.
I'm looking for some way, a program, a project, to independently change the voltage to the processor. I've read through this thread, but it's a year old, and like the OP, I'm not extremely versed in linux. I can follow a howto, but I haven't gotten back into it full swing. So, are there any projects out there, or is it all non-configurable and integrated into the kernel? I'm using Ubuntu Feisty.
Thanks!
With load temperatures of 31C with the undervolted cpu, I'm even considering attempting a fanless configuration, maybe a positive pressure system. Regardless, I still have the task of attempting to lower power consumption in linux. I don't see a point in folding with my system if I can't use the minimum power required to do so, it's wasteful, and now that I'm moving, I wont have the spare change to afford it.
I'm looking for some way, a program, a project, to independently change the voltage to the processor. I've read through this thread, but it's a year old, and like the OP, I'm not extremely versed in linux. I can follow a howto, but I haven't gotten back into it full swing. So, are there any projects out there, or is it all non-configurable and integrated into the kernel? I'm using Ubuntu Feisty.
Thanks!
That's just a C'n'Q guide - doesn't mention anything about undervolting.Palindroman wrote:Hi, does this help?
Ubuntu Feisty speedstepped my Pentium M out of the box, but I haven't gotten around to undervolting it yet. I have a friend who knows how to do it, though. I'll report back when I get it working.
-
- Friend of SPCR
- Posts: 1439
- Joined: Tue Dec 14, 2004 4:06 pm
- Location: New Hampshire, US
- Contact:
thanks for the reply. Ubuntu was able to control my cpu out of the box, the reason I think I was seeing instability, as I had been running an overclock. I removed the powernowd package. I don't think ubuntu is actively throttling my cpu anymore, but I have no idea on how to check it, since lm_sensors doesn't read from my motherboard correctly, I can't monitor voltages or frequencies.qviri wrote: Ubuntu Feisty speedstepped my Pentium M out of the box, but I haven't gotten around to undervolting it yet. I have a friend who knows how to do it, though. I'll report back when I get it working.
edit: i do however have a kill-a-watt meter, and so far, I've confirmed that the power consumption is ~40W less in windows when I undervolt compared to running stock in linux.
Code: Select all
cat /proc/cpuinfo | grep MHz
-
- *Lifetime Patron*
- Posts: 541
- Joined: Sun Jan 04, 2004 11:35 am
- Location: Chicago, Ill., USA
- Contact:
As far as I can tell, there aren't any "user friendly" apps for undervolting your CPU with Linux. I just did a bit of research, and it looks like, at minimum, you'll have to recompile your kernel.
There's a long thread on the Gentoo Forums that may be of interest to you.
The Linux-PHC (Processor Hardware Control) allows you to undervolt a Pentium M processor (but they don't yet have support for AMD CPUs).
Also, I found this Gentoo HOWTO on Undervolting a Pentium M. Again, not too helpful for your situation, but at least it gives you some background.
So, short answer: I can't seem to find an "easy" way (like the Windows programs you mentioned) for undervolting your CPU in Linux. But it can be done, depending on much work you want to do.
Another idea is to use the Cool'n'Quiet functionality with the "powersave" governor. This will put your CPU in its lowest power state (but also scale back the frequency as well). I know, it's not optimal, as you won't get anywhere near your CPU's rated performance, but it may be a compromise.
Good luck... if you do decide to hack your kernel to support a lower vcore, report back here (or another Linux forum)!
Matt
There's a long thread on the Gentoo Forums that may be of interest to you.
The Linux-PHC (Processor Hardware Control) allows you to undervolt a Pentium M processor (but they don't yet have support for AMD CPUs).
Also, I found this Gentoo HOWTO on Undervolting a Pentium M. Again, not too helpful for your situation, but at least it gives you some background.
So, short answer: I can't seem to find an "easy" way (like the Windows programs you mentioned) for undervolting your CPU in Linux. But it can be done, depending on much work you want to do.
Another idea is to use the Cool'n'Quiet functionality with the "powersave" governor. This will put your CPU in its lowest power state (but also scale back the frequency as well). I know, it's not optimal, as you won't get anywhere near your CPU's rated performance, but it may be a compromise.
Good luck... if you do decide to hack your kernel to support a lower vcore, report back here (or another Linux forum)!
Matt
-
- *Lifetime Patron*
- Posts: 130
- Joined: Wed Aug 09, 2006 6:10 pm
- Location: Columbus, Ohio
- Contact:
Again, it won't help the AMD folks, but you can undervolt with Linux-PHCmatt_garman wrote:As far as I can tell, there aren't any "user friendly" apps for undervolting your CPU with Linux. I just did a bit of research, and it looks like, at minimum, you'll have to recompile your kernel.
The Linux-PHC (Processor Hardware Control) allows you to undervolt a Pentium M processor (but they don't yet have support for AMD CPUs).
Also, I found this Gentoo HOWTO on Undervolting a Pentium M. Again, not too helpful for your situation, but at least it gives you some background.
Matt
for Pentium-M and, with some added table entries in speedstep-centrino.c,
Yonah/Merom processors. I now have my Merom T7400 undervolted from
a standard of 1.21 volts to 1.05 volts. this thread helped a lot. You need to recompile only one module, not
the entire kernel.