Advanced search

Message boards : Graphics cards (GPUs) : Getting a task to switch GPUs

Author Message
Palamedes
Send message
Joined: 19 Mar 11
Posts: 30
Credit: 109,550,770
RAC: 0
Level
Cys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 20764 - Posted: 23 Mar 2011 | 19:01:56 UTC

So I have a long running task running on my machine using the slower older card. As such, there is no way it will finish in time.. (Missing the cut off by about 3 hours dang it..)

If I could get it to switch to the other card it would finish with lots of time to spare..

Is there a way to force or maybe "encourage" that switch?

Palamedes
Send message
Joined: 19 Mar 11
Posts: 30
Credit: 109,550,770
RAC: 0
Level
Cys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 20766 - Posted: 23 Mar 2011 | 19:25:09 UTC - in response to Message 20764.

I turned off the "use all gpus" flag which got it to switch to the main gpu. I guess that's a good solution..

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 328
Credit: 72,619,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 20767 - Posted: 23 Mar 2011 | 19:41:41 UTC - in response to Message 20764.

Hi, If you can, in this way:

We suspend tasks, first one and then the other, not to touch the activity only suspend tasks for the option to suspend the general display of tasks.

I suppose that the two cards are identified as DEVICE 0 and DEVICE1.

If the Device 0 corresponds to the new card simply we resume the task that we are interested in running in this best card, and then resume the other task which by default will go to the Device 1.

If the case is contrary to the new card is the 1 Devide, we simply first resuming the task that does not interest run on the old card (which will therefore be the device 0) and then resume the other task (which we interested in change) that will run on the device 1 is the new card. Best regards.

Profile skgiven
Volunteer moderator
Volunteer tester
Avatar
Send message
Joined: 23 Apr 09
Posts: 3968
Credit: 1,995,359,260
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 20768 - Posted: 23 Mar 2011 | 20:00:21 UTC - in response to Message 20767.
Last modified: 23 Mar 2011 | 20:01:13 UTC

Suspend the task on the fast card, then exit Boinc, wait about a minute, start Boinc again and the task that was running on the slow card will then run on the fast card. Then resume the other task to get it to run on the slow card.

By exiting Boinc you reduce the chance of failures. Just suspending tasks and resuming them in the right order should work, but it can lead to errors (LAIM).

I have done this many times when working with a GTX260 and a GT240 in the same system.

Palamedes
Send message
Joined: 19 Mar 11
Posts: 30
Credit: 109,550,770
RAC: 0
Level
Cys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 20770 - Posted: 23 Mar 2011 | 20:05:49 UTC - in response to Message 20768.

Cool.. thanks guys.. I'll do that next time =)

Post to thread

Message boards : Graphics cards (GPUs) : Getting a task to switch GPUs

//