Different setting for different GPUs?

Message boards : Number crunching : Different setting for different GPUs?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1572675 - Posted: 16 Sep 2014, 17:58:14 UTC

Ok, what I want to know. Is it possible to run different number of work units on different GPUs within the same Computer? I have a mixed GPU with both NV 750 and 780. From what I see the 750 take 2 times as long as the 780. What I would like to do is run 2 work units on the 780 and 1 work unit on the 750. Can that be done? Just curious.



Zalster
ID: 1572675 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 1572676 - Posted: 16 Sep 2014, 17:59:55 UTC
Last modified: 16 Sep 2014, 18:00:30 UTC

The easy way to do that is start 2 instances of Boinc on the same host, each one optimized for one of the GPU´s.
ID: 1572676 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14649
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1572680 - Posted: 16 Sep 2014, 18:03:44 UTC - in response to Message 1572676.  

The easy way to do that is start 2 instances of Boinc on the same host, each one optimized for one of the GPU´s.

I don't think anyone except you calls that 'easy' :P - though I don't doubt it's effective, but with side-effects.
ID: 1572680 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1572698 - Posted: 16 Sep 2014, 18:25:52 UTC - in response to Message 1572680.  

The easy way to do that is start 2 instances of Boinc on the same host, each one optimized for one of the GPU´s.

I don't think anyone except you calls that 'easy' :P - though I don't doubt it's effective, but with side-effects.

It is pretty easy to setup, but BOINC can be rather temperamental in that situation. I had a few issues the last time I was doing that with BOINC 7.0.64.
-Sometimes an instance would generate a new CPID
-Tasks run on one instance would be reported as valid on the other running instance.
-One instance would just stop running tasks with no log as to why. To get it running again all BOINC instances would have to be stopped and then started.
I figured I might try it again with a newer version at some point.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1572698 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1572711 - Posted: 16 Sep 2014, 18:39:36 UTC - in response to Message 1572698.  

What about using the <coproc> inside of the app_config file. I was looking at that and trying to figure out if I could add that into the app_config and tell it if GPU 0 or GPU 1 then run this many, if GPU 2 or GPU 3 then run this.. I'm not sure how to fix it into the app_config. What I was thinking was along these lines.

<app_config>
<app>
<name>astropulse_v6</name>
<coproc>
<type>GTX 780</type>
<count>2</count>
<device_nums>0 1</device_nums>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_version>
</coproc>
<coproc>
<type>GTX 750</type>
<count>2</count>
<device_nums>2 3</device_nums>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_version>
</coproc>
</app>
</app_config>


Ok, I don't do code so I don't even know if what the above looks like is even remotely possible but that is why I am asking. Last thing I want to do is put this in the computer and have it go berzerk. Thoughts and Ideas?
ID: 1572711 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1572717 - Posted: 16 Sep 2014, 18:52:53 UTC - in response to Message 1572711.  

What about using the <coproc> inside of the app_config file. I was looking at that and trying to figure out if I could add that into the app_config and tell it if GPU 0 or GPU 1 then run this many, if GPU 2 or GPU 3 then run this.. I'm not sure how to fix it into the app_config. What I was thinking was along these lines.

<app_config>
<app>
<name>astropulse_v6</name>
<coproc>
<type>GTX 780</type>
<count>2</count>
<device_nums>0 1</device_nums>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_version>
</coproc>
<coproc>
<type>GTX 750</type>
<count>2</count>
<device_nums>2 3</device_nums>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_version>
</coproc>
</app>
</app_config>


Ok, I don't do code so I don't even know if what the above looks like is even remotely possible but that is why I am asking. Last thing I want to do is put this in the computer and have it go berzerk. Thoughts and Ideas?

You can add whatever you like to the app_config.xml. However since there is no code to read your made up values they will be ignored. With <coproc> declared twice I imagine the last one will take effect.

In another post Raistmer was mentioning it would be nice if we had a per GPU config and I made this suggestion. Perhaps one of the Lunatics forwarded it or a better idea to the BOINC devs.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1572717 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1572727 - Posted: 16 Sep 2014, 19:04:01 UTC - in response to Message 1572717.  
Last modified: 16 Sep 2014, 19:04:35 UTC


In another post Raistmer was mentioning it would be nice if we had a per GPU config and I made this suggestion. Perhaps one of the Lunatics forwarded it or a better idea to the BOINC devs.


I think that would be a great option if they could do it. Nice to know both of you were thinking already about that. Guess I'll wait and see if anything comes from that.

Zalster
ID: 1572727 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1572763 - Posted: 16 Sep 2014, 19:41:15 UTC - in response to Message 1572727.  


In another post Raistmer was mentioning it would be nice if we had a per GPU config and I made this suggestion. Perhaps one of the Lunatics forwarded it or a better idea to the BOINC devs.


I think that would be a great option if they could do it. Nice to know both of you were thinking already about that. Guess I'll wait and see if anything comes from that.

Zalster

If you are on the BOINC Alpha list you could mention it also. I would think that the more times something is mentioned the more likely it is to happen.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1572763 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 1572805 - Posted: 16 Sep 2014, 20:06:35 UTC - in response to Message 1572680.  
Last modified: 16 Sep 2014, 20:10:23 UTC

The easy way to do that is start 2 instances of Boinc on the same host, each one optimized for one of the GPU´s.

I don't think anyone except you calls that 'easy' :P - though I don't doubt it's effective, but with side-effects.

I run multiple instances of Boinc in most of my hosts, realy works and allow you to mix any GPU family without be worry about that. That´s why i say "the easy way" not say it´s easy to do that.

Something i need to agree, it´s for advanced users only. But i belive only advanced users worry about configurate separately each GPU. Most of the "Normal" users don´t need or worry about that just set and runs with defoult parameters.

There are a very good "how to do" in Vypers site:
http://vyper.kafit.se/wp/index.php/2011/02/04/running-different-nvidia-architectures-most-optimal-at-setihome/
ID: 1572805 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1572876 - Posted: 16 Sep 2014, 20:47:50 UTC - in response to Message 1572763.  


In another post Raistmer was mentioning it would be nice if we had a per GPU config and I made this suggestion. Perhaps one of the Lunatics forwarded it or a better idea to the BOINC devs.


I think that would be a great option if they could do it. Nice to know both of you were thinking already about that. Guess I'll wait and see if anything comes from that.

Zalster

If you are on the BOINC Alpha list you could mention it also. I would think that the more times something is mentioned the more likely it is to happen.


Exactly. And with latest issues with crazy spam filters @different mail providers mentioning from different sides is especially actual.
ID: 1572876 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1572878 - Posted: 16 Sep 2014, 20:50:46 UTC - in response to Message 1572805.  
Last modified: 16 Sep 2014, 20:51:28 UTC


Something i need to agree, it´s for advanced users only. But i belive only advanced users worry about configurate separately each GPU. Most of the "Normal" users don´t need or worry about that just set and runs with defoult parameters.


And to please "normal" users more in APv7 defaults will be scalable, different for different GPUs. So more powerful GPUs now will be more close to sweet spot of best performance than before w/o any additional tweaking.
For entusiast tweaking still possible of course, even more params added to improve fine tuning.
ID: 1572878 · Report as offensive

Message boards : Number crunching : Different setting for different GPUs?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.