Use GPU always, CPU when idle

Message boards : Questions and problems : Use GPU always, CPU when idle
Message board moderation

To post messages, you must log in.

AuthorMessage
contalis

Send message
Joined: 9 Dec 05
Posts: 35
United States
Message 70910 - Posted: 16 Jul 2016, 14:48:51 UTC

Is it possible to configure BOINC to compute on a specific GPU always, but only use the CPU when idle? Currently, I have my computing settings set to "suspend when computer is in use" which applies to all processors. I see an option to "Suspend GPU computing when in use", but I'm looking for an option to just suspend the CPU. I have a spare GPU in my PC that I'm not using.
ID: 70910 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 70911 - Posted: 16 Jul 2016, 15:08:58 UTC - in response to Message 70910.  

The developers have always treated this in a very literal-minded way: if you compute on a GPU, there is always some CPU activity required, so in their view it is impossible to pause the CPU while still running a GPU.

I think the rest of us have a more relaxed view of the capabilities of a modern multi-tasking operating system. The machine I'm typing this on is running a GPU task with <2% (of one CPU core out of four) required to provide the GPU support. That <2% is a 30-second average, and most of the time the CPU usage is lower than many Windows background processes.

GPU applications vary in the amount of CPU support they require - depending on the project (computational complexity), development tools, driver sophistication, and programmer concerned. But I agree with you - the ability to manage resource usage in this way should be provided for users to activate, or not, as they choose. But don't hold your breath waiting for the developers to change their minds: it's been requested many times before, and rejected every time.
ID: 70911 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 70912 - Posted: 16 Jul 2016, 15:13:56 UTC - in response to Message 70910.  
Last modified: 16 Jul 2016, 15:16:55 UTC

If you search the forums, you'll find examples how you can configure cc_config.xml and app_config.xml to use a specific GPGPU down to the single science app exact. Not sure if you can GPU compute when the CPU is set to only compute when idle because GPU jobs are usually dependent on whole or part of a CPU core to control the GPU job.

First try the activity menu to "run based on preferences" and tick box in computing preferences to "suspend when computer is in use" and untick the "suspend GPU computing when computer is in use" to see if the GPU continues.

Edit: Slow typing I did.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 70912 · Report as offensive
contalis

Send message
Joined: 9 Dec 05
Posts: 35
United States
Message 70954 - Posted: 20 Jul 2016, 18:22:53 UTC - in response to Message 70910.  

OK. That makes sense. I tried adjusting the preferences as you suggested, but no luck. I think I'll experiment with leaving the CPU time to some low setting, say 5%.
ID: 70954 · Report as offensive

Message boards : Questions and problems : Use GPU always, CPU when idle

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.