Specify times for GPU calculation

Message boards : GPUs : Specify times for GPU calculation
Message board moderation

To post messages, you must log in.

AuthorMessage
Alec Taylor

Send message
Joined: 22 Feb 15
Posts: 2
United Kingdom
Message 60482 - Posted: 22 Feb 2015, 23:34:20 UTC
Last modified: 22 Feb 2015, 23:35:58 UTC

Hi all,

I'm trying to find a way to allow my CPU to process WU's all the time, but only allow GPU's to process at a set time.

We have cheaper electricity at night so I'd like to take advantage of this.

I've tried altering settings in both the BOINC Manager GPU and the cc_config.xml files but have only succeeded in stopping and starting all processing at set times. I am unable to differentiate between GPU and CPU.

Any suggestions would be most welcome!

Thanks

EDIT: I should add that I'm running 64 bit linux (Ubuntu) with x2 AMD 5870's (not SLI) and an AMD 1055T CPU.

Alec
ID: 60482 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 60483 - Posted: 23 Feb 2015, 0:20:09 UTC - in response to Message 60482.  
Last modified: 23 Feb 2015, 0:21:08 UTC

Use BoincCmd and set up a schedule to Start and Stop GPU usage:

http://boinc.berkeley.edu/wiki/Boinccmd_tool
--set_run_mode {always | auto | never} [ duration ]
Set run mode.
## always: do CPU work always
## auto: do work only when allowed by preferences
## never: don't do work

If duration is zero or absent, this mode is permanent. Otherwise, after 'duration' seconds elapse, revert to last permanent mode.

--set_gpu_mode {always | auto | never} [ duration ]
Set GPU mode. Like set_run_mode but applies to GPU computation


Claggy
ID: 60483 · Report as offensive
Alec Taylor

Send message
Joined: 22 Feb 15
Posts: 2
United Kingdom
Message 60486 - Posted: 23 Feb 2015, 8:32:20 UTC - in response to Message 60483.  

Hi Claggy, thanks for the response.

Are you suggesting that I use the boinccmd tool within a shell script to specify a sleep period? I.e. tell it to sleep for x seconds during the day via a cron job?

Or is there a way to specify a start and end time of each mode {always|auto|never}?

Sorry for my lack of understanding

Alec
ID: 60486 · Report as offensive

Message boards : GPUs : Specify times for GPU calculation

Copyright © 2024 University of California.
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.