I fixed that particular bug (please review the change).
This code with written without multi-GPU apps in mind.
There may be other bugs related to multi-GPU apps.
-- David

On 08-Jun-2015 3:20 PM, Teemu Mannermaa wrote:
Hello,

Once again I've been tracking interesting bug in the BOINC Client. Looks
like at least since v7.0.64 multi-GPU scheduling has been broken and the
BOINC Client never schedules a task that requires more than one GPU but
instead insist that there is never enough GPU resources available. Debug
log for BOINC Client shows:

   [cpu_sched_debug] insufficient NVIDIA for <wu name>

and this doesn't work even for latest recommended release v7.4.42 and
seems to affect both Linux and Windows. :(

I believe the problem stems from function at
https://github.com/BOINC/boinc/blob/master/client/cpu_sched.cpp#L209
that has some funky logic and.. wait, does that code indeed require that
if an App Version specifies 2 or more GPUs then ONE (1) GPU is supposed
to provide those resources? Seriously? No wonder it's never sufficient..

Luckily for Moo! Wrapper only our old app requires all GPUs for the host
and newer app can use one GPU per task. Given that this has been around
for so long I'd guess most GPU apps restrict themselves to one GPU only
but it's still a problem and causes wasted GPU resources if hit.

_______________________________________________
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to