Does this project support multiple tasks on a single GPU?

Message boards : Number crunching : Does this project support multiple tasks on a single GPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
Greg_BE

Send message
Joined: 3 Feb 24
Posts: 4
Credit: 470,992
RAC: 1,853
Message 3647 - Posted: 4 Feb 2024, 16:28:32 UTC

Being my GPU is under utilized (12% or so on this project and others) I was wondering if I could run 2 tasks on a single GPU.

I have searched the web for information and I find something about app_config with gpu_usage 0.5 and cpu_usage 1, but that doesn't allow for a second task.

I checked something else from a LHC post and saw project_max_concurrent and I am familiar with just max_concurrent, but making the value 2 and restarting BOINC doesn't change anything.

So is this idea possible? Does the project allow it? If so what do I change?
ID: 3647 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1324
Credit: 413,298,226
RAC: 258,335
Message 3648 - Posted: 4 Feb 2024, 16:47:34 UTC - in response to Message 3647.  

Being my GPU is under utilized (12% or so on this project and others) I was wondering if I could run 2 tasks on a single GPU.

I have searched the web for information and I find something about app_config with gpu_usage 0.5 and cpu_usage 1, but that doesn't allow for a second task.

I checked something else from a LHC post and saw project_max_concurrent and I am familiar with just max_concurrent, but making the value 2 and restarting BOINC doesn't change anything.

So is this idea possible? Does the project allow it? If so what do I change?


I use app_config.xml but with cpu_usage = .2. Make sure you have an available cpu core otherwise it wont work. You might be able to get away with cpu_usage=0 and then you won't need to free up a core. If you want to set cpu_usage more precisely, watch it as it runs to see what percentage it uses.
ID: 3648 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1324
Credit: 413,298,226
RAC: 258,335
Message 3649 - Posted: 4 Feb 2024, 16:50:13 UTC

ID: 3649 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Greg_BE

Send message
Joined: 3 Feb 24
Posts: 4
Credit: 470,992
RAC: 1,853
Message 3650 - Posted: 4 Feb 2024, 18:24:03 UTC - in response to Message 3649.  

Also, see this:
https://numberfields.asu.edu/NumberFields/forum_thread.php?id=558&postid=3380#3380


Ok, thats cool.
But then it does not allow the other projects that use GPU to run.
And this project even with 2 x 2 GPU only uses 4 and 9% of the total capacity of the cards and that is including running 2 x GPU only FAH.

I was thinking I could make a way to run 2 or instances of this project simultaneously with other projects.
ID: 3650 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1324
Credit: 413,298,226
RAC: 258,335
Message 3651 - Posted: 4 Feb 2024, 21:09:03 UTC - in response to Message 3650.  

Also, see this:
https://numberfields.asu.edu/NumberFields/forum_thread.php?id=558&postid=3380#3380


Ok, thats cool.
But then it does not allow the other projects that use GPU to run.
And this project even with 2 x 2 GPU only uses 4 and 9% of the total capacity of the cards and that is including running 2 x GPU only FAH.

I was thinking I could make a way to run 2 or instances of this project simultaneously with other projects.


I have never tried running two different projects simultaneously on a GPU. You might need to run two separate instances of the manager to do that.

But something doesn't make sense. My 1660 is at 95% utilization with a single GPU process and my 1370Ti is at 99% utilization with 2 processes; so I think your 1080 should be fully utilized with only a single process. Are you sure you're not looking at the fan speed or the RAM utilization (those are much lower for me)? Otherwise, something else is wrong.
ID: 3651 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Greg_BE

Send message
Joined: 3 Feb 24
Posts: 4
Credit: 470,992
RAC: 1,853
Message 3652 - Posted: 5 Feb 2024, 23:08:38 UTC - in response to Message 3651.  

Also, see this:
https://numberfields.asu.edu/NumberFields/forum_thread.php?id=558&postid=3380#3380


Ok, thats cool.
But then it does not allow the other projects that use GPU to run.
And this project even with 2 x 2 GPU only uses 4 and 9% of the total capacity of the cards and that is including running 2 x GPU only FAH.

I was thinking I could make a way to run 2 or instances of this project simultaneously with other projects.


I have never tried running two different projects simultaneously on a GPU. You might need to run two separate instances of the manager to do that.

But something doesn't make sense. My 1660 is at 95% utilization with a single GPU process and my 1370Ti is at 99% utilization with 2 processes; so I think your 1080 should be fully utilized with only a single process. Are you sure you're not looking at the fan speed or the RAM utilization (those are much lower for me)? Otherwise, something else is wrong.



ahha! windows task manager is under reporting the load in the utilization box and graph.
I installed GPUZ and had a look under sensors and its 98% on both.
Since the room is cool, the fans aren't working hard enough to tell what kind of load the cards are under.
ID: 3652 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers

Send message
Joined: 14 May 23
Posts: 5
Credit: 86,116,349
RAC: 298,796
Message 3654 - Posted: 13 Feb 2024, 19:25:21 UTC

I run disparate gpu projects on the same gpus all the time. If you set the gpu utlization for 0.5 gpu on all your gpu projects, then you will often see two different gpu projects tasks on the same card.

You have to be aware that some projects run best at 1X utilization and some projects app don't like sharing a card with other apps. Depends on the projects and apps. You will have to experiment to find your best solution.
ID: 3654 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Does this project support multiple tasks on a single GPU?


Main page · Your account · Message boards


Copyright © 2024 Arizona State University