mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2009-06-16, 19:15   #23
S00113
 
S00113's Avatar
 
Dec 2003

23·33 Posts
Default

Quote:
Originally Posted by jroysdon View Post
Speaking of, I've got a question regarding this. If you have an older CPU w/o the newer power management / cpu power scaling features, running mprime under Linux should not cause the CPU to use more power, right?
Any CPU capable of running Prime95 will use significantly more power when working than not. One of the first power optimizing techniques was to switch off the FPU when it was not doing anything. 486SL and newer CPUs also switch off other circuits to conserve power when not in use.

Linux (and I think newer versions of Windows) will also issue a HLT instruction whenever the scheduler don't find a process ready to run. The HLT instruction will put the processor in low power C1 sleep state until an interrupt wakes it up again. When mprime is running, the scheduler will always find work to do. Since mprime is using the FPU all the time (unless you are trial factoring), the FPU can't be switched off either.

Quote:
The servers are on 24/7 anyway for dns, email, webserving and the like, and as far as I can tell don't support any cpu power scaling.
For this purpose CPU power scaling would actually make the servers use more power, not less. The CPU gets most work done per watt at high frequency. While the CPU is sleeping, the power usage is low and almost independent of CPU frequency. The amount of work to be done by a typical server is independent of CPU frequency, so it's better to get the work done quickly at a high frequency and get back to sleep ASAP, than to spend more time active doing work.

I did some measurements three years ago with a cheap wattmeter on a dual 3GHz Xeon, and measured the same wattage idling at all clock frequencies. Running mprime at full clock speed used about 100 watts more than when idling. The difference is probably higher on newer CPUs and chipsets.

Another interesting experiment to try is to start some other CPU intensive process when mprime is running. Your power consuption will decrease because the FPU will be idling and can be switched off when the other process is running.
S00113 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
128-bit OS'es and GIMPS? ixfd64 Software 22 2011-10-31 22:23
GIMPS on PS3 flouran Hardware 202 2010-04-30 09:06
GIMPS uses only 1 cpu Unregistered Information & Answers 7 2009-01-10 20:01
Why do you run GIMPS ? Prime Monster Lounge 12 2003-11-25 19:04
Yet another GIMPS FAQ Prime Monster Lounge 9 2003-04-12 12:12

All times are UTC. The time now is 22:47.


Fri Aug 6 22:47:14 UTC 2021 up 14 days, 17:16, 1 user, load averages: 4.23, 4.23, 3.88

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.