Limiting number of concurrent tasks for project

Forum rules
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5980
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#1 Limiting number of concurrent tasks for project

Post by scole of TSBT »

I'm familiar with how to limit the number of concurrent tasks for a single application, but how do you limit the number of concurrent tasks for an entire project? Prime Grid has at least 7 different apps. I'd like to run them all, but only one at a time. How do you configure this? I've already tried this in the app_config.xml, but it didn't do any good.

<app_config>
<app>
<name>trp_sr2sieve</name>
<name>llrTPS</name>
<name>llrPPSE</name>
<name>llrWOO</name>
<name>llrCUL</name>
<name>llrTRP</name>
<name>llrSR5</name>
<max_concurrent>1</max_concurrent>
</app>
</app_config>
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#2 Re: Limiting number of concurrent tasks for project

Post by Alez »

You are on the right track but you need to name each individual project separately within the <app> </app>

from boinc pages

<app_config>
<app>
<name>name</name>
<max_concurrent>N</max_concurrent>
<gpu_versions>
<gpu_usage>.25</gpu_usage>
<cpu_usage>.1</cpu_usage>
</gpu_versions>
</app>
</app_config>

<name>: the short name of an application.

<max_concurrent>: a limit on the number of concurrent jobs for that application.

<gpu_versions>: the <gpu_usage> and <cpu_usage> elements specify the number of device instances used by GPU app versions. Note: there is no provision for specifying this per GPU type or per device.


so you would need to write

<app_config>
<app>
<name>name #1</name>
<max_concurrent>N</max_concurrent>
</app>
<app>
<name>name #2</name>
<max_concurrent>N</max_concurrent>
</app>
</app_config>

etc. etc. until you have named all 7.
Might just be easier to edit your preferences in primegrid and run 1 project per week. Most of the primegrid cpu tasks run for days if not weeks.
Image
The best form of help from above is a sniper on the rooftop....
Post Reply Previous topicNext topic

Return to “PrimeGrid”