The only problem is that there is no real standard for determining the 
temperature of the CPU (every manufacturer seems to have done it differently.  
Speed fan is keeping up with this, it is probably not something that BOINC 
developers really should be attempting to do.

-----Original Message-----
From: Charles Elliott [mailto:elliott...@verizon.net] 
Sent: Tuesday, July 09, 2013 7:15 AM
To: McLeod, John; 'David Anderson'; boinc_dev@ssl.berkeley.edu
Subject: RE: [boinc_dev] CPU throttling and GPU apps

Three of my computers are in a small second floor bedroom with an asphalt
roof and a box fan placed in a window close to the ground for its only
ventilation.  During the afternoons room temperatures are 95 F or higher,
too much for the computers.

If heat is the problem, it makes more sense to measure CPU/GPU temperatures
and reduce the load on a device if the temperature rises above a set point,
and increase it if the temps go below a lower set point.

I wrote a Java program that does exactly that.  It accesses temperatures by
parsing a SpeedFan logging file on each computer, and affects Boinc by
changing the <ncpus>N</ncpus> line in cc_config.xml and issuing a
<read_cc_config> RPC.  Something similar might be possible for the GPUs.

It seems to work.  Yesterday, its first day of operation, during the
afternoon it lowered the CPUs used of the three computers from 8 to 6, and
then last night, starting about 10:30, it slowly raised them back to 8,
where it is now.

Charles Elliott

> -----Original Message-----
> From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf
> Of McLeod, John
> Sent: Monday, July 8, 2013 11:21 AM
> To: David Anderson; boinc_dev@ssl.berkeley.edu
> Subject: Re: [boinc_dev] CPU throttling and GPU apps
> 
> How about changing it to not throttle apps that use less than the
> current throttling value?  E.g. if throttling is set at .9, don't
> throttle a task that uses .8.
> 
> -----Original Message-----
> From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf
> Of David Anderson
> Sent: Friday, July 05, 2013 11:50 PM
> To: boinc_dev@ssl.berkeley.edu
> Subject: Re: [boinc_dev] CPU throttling and GPU apps
> 
> I changed it not throttle apps that use < .5 CPUs
> -- David
> 
> On 04-Jul-2013 2:38 PM, Eric J Korpela wrote:
> > The only pro I can think of would be to reduce GPU use to keep
> > temperature or power use down, but that would be better implemented
> as
> > GPU throttling.
> >
> > On Thu, Jul 4, 2013 at 5:52 AM, Bernd Machenschalk
> > <bernd.machensch...@aei.mpg.de> wrote:
> >> On 04.07.13 13:15, Heinz-Bernd Eggenstein wrote:
> >>
> >>> I guess there are several pros and cons, e.g.:
> >>>
> >>> cons:
> >>>     - one one hand, GPU apps (depending on the CPU share?) get a
> higher OS
> >>> prio (in terms of "niceness") to prevent the GPU being starved.
> Throttling
> >>> the CPU might very well cause this starvation
> >>>     - if a GPU app has a rather low CPU runtime share in the first
> place,
> >>> further CPU throttling does not seem too useful.
> >>>     - in order to avoid GPU load to interfere with the user doing
> non-BOINC
> >>> related stuff, there is already the setting "Suspend GPU work while
> >>> computer is in use".
> >>
> >>
> >> Here's one more:
> >>
> >> When not synchronized with GPU-CPU communication (kernel launches,
> data
> >> transfer) throtteling an App can break any running GPU task. I'm not
> sure
> >> whether the throtteling implementations of all BOINC Clients that
> are being
> >> used properly honor critical sections, nor am I that all GPU apps of
> all
> >> projects make proper use of these.
> >>
> >>
> >>> pros:
> >>>     I can't think about many
> >>
> >>
> >> Actually I can't think about any.
> >>
> >> Best,
> >> Bernd
> >>
> >>
> >> _______________________________________________
> >> boinc_dev mailing list
> >> boinc_dev@ssl.berkeley.edu
> >> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> >> To unsubscribe, visit the above URL and
> >> (near bottom of page) enter your email address.
> > _______________________________________________
> > boinc_dev mailing list
> > boinc_dev@ssl.berkeley.edu
> > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> > To unsubscribe, visit the above URL and
> > (near bottom of page) enter your email address.
> >
> _______________________________________________
> boinc_dev mailing list
> boinc_dev@ssl.berkeley.edu
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
> _______________________________________________
> boinc_dev mailing list
> boinc_dev@ssl.berkeley.edu
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to