Changes between Version 4 and Version 5 of PowerManagement


Ignore:
Timestamp:
Aug 18, 2008, 5:27:22 AM (16 years ago)
Author:
Eric Myers
Comment:

Harvest comments from boinc_dev thread

Legend:

Unmodified
Added
Removed
Modified
  • PowerManagement

    v4 v5  
    88Below is a list of scenarios we need to support:
    99 * Company X wants to impose a company mandate that machines should go to sleep 30 minutes after the user goes inactive.
     10> TODO: BOINC already has the 'Suspend work if no mouse/keyboard activity in last X Minutes' preference, how does this differ?
     11>> Isn't it "allow work if no mouse/keyboard activity in lat X minutes?"
     12
     13 * Local power company declares energy alert for a hot afternoon. User wishes to snooze BOINC until 8PM, the general time that power demand subsides.
     14> User really should shut the machines down in that case.   But being able to snooze BOINC until 5:30PM when everybody has gone home is another common usage scenario
     15
     16 * On our project, people asks explicitly for some temperature control, in order to avoid the fan to start speeding in the midnight. (from Alejandro Rivero)
     17
     18 * A simpler approach to preventing overheating would be to limit BOINC*and* all other processes to a maximum CPU percentage. So, with a limit of 50%, if other programs use 20%, BOINC gets 30%. If other programs use 70%, BOINC gets nothing. (Credit to WCG for this idea, posted by David Barnard)
     19
     20
     21
     22== Platform Implementation Notes ==
     23
     24=== Windows ===
     25
    1026{{{
    11 TODO: BOINC already has the 'Suspend work if no mouse/keyboard activity in last X Minutes' preference, how does this differ?
     27On Mon, 4 Aug 2008 19:15:56 -0400 mike bader wrote:
     28
     29The old SETISPY used to use Speedfan to shutdown SETI.
     30Isn't that source code now available?
     31
     32> Nicolas Alvarez replied:
     33>
     34> SpeedFan isn't open source.
     35>
     36> However, it can be configured to save a log of temperatures
     37> into a plain old text file. Then any other program can access it.
    1238}}}
    13  * Local power company declares energy alert for a hot afternoon. User wishes to snooze BOINC until 8PM, the general time that power demand subsides.
     39
     40{{{
     41On Tue, Aug 5, 2008 at 4:35 PM, Rom Walton  wrote:
     42I believe most CPU throttling programs on Windows use the Job Object
     43mechanism:
     44 http://msdn.microsoft.com/en-us/library/ms684161(VS.85).aspx
     45
     46Now that we can treat both the worker processes and graphic processes as
     47separate entities, we could use this functionality in Windows.
     48}}}
     49
     50
     51=== Mac OS X ===
     52
     53{{{
     54On Tue, 5 Aug 2008 at 09:51:49 +01000 James Wanless wrote:
     55
     56On mac, I found this script:
     57 http://www.macosxhints.com/dlfiles/tp_bash.txt
     58(which works quite nicely on my PPC iMac, but only gives very limited 
     59info on Intel)
     60}}}
     61
     62
     63=== Linux ===
     64
     65{{{
     66On Tue, Aug 5, 2008 at 15:58 +0200,  Jorden van der Elst wrote: 
     67>On Tue, Aug 5, 2008 at 10:51 AM, James Wanless <james@grok.ltd.uk> wrote:
     68>
     69> On linux it seems the best bet is lm_sensors (as Eric Korpela has
     70> already mentioned), though I don't think even this may be quite
     71> 'ready' yet.
     72
     73According to
     74http://blog.taragana.com/index.php/archive/lm_sensors-guide-or-how-to-monitor-cpu-temperature-in-linux-fedora-core-6-26-kernel/
     75
     76>"To monitor CPU temperature in Linux you will need to install lm_sensors
     77>package and then install gnome-applet-sensors (assuming you are using gnome)
     78>to get a nice graphical display. The devil is in the details. The shipped
     79>lm_sensors doesn't work on Fedora Core 6 with 2.6 kernels. It also doesn't
     80>support core 2 duo."
     81}}}
     82