Advanced search

Message boards : Technical Support : Running only one active VM Workunit of any type?

Author Message
Tom_unoduetre
Send message
Joined: 23 Aug 07
Posts: 3
Credit: 56,043
RAC: 73
Message 21387 - Posted: 3 May 2017, 9:55:01 UTC

Hi there,

how can I limit the running VM workunits so that only one workunit of either camb or planck is running in parallel?

I successfully managed to run the workunits with one core each, but still sometimes they run in parallel which makes my host pretty laggy.

mmonnin
Send message
Joined: 29 Dec 16
Posts: 19
Credit: 420,063
RAC: 188
Message 21388 - Posted: 3 May 2017, 10:36:44 UTC - in response to Message 21387.

Put this in your app_config.xml to run a single task. Adjust the number as needed.

<max_concurrent>1</max_concurrent>

Tom_unoduetre
Send message
Joined: 23 Aug 07
Posts: 3
Credit: 56,043
RAC: 73
Message 21389 - Posted: 3 May 2017, 11:31:38 UTC

I have that already, what I mean is if there´s an option to process only one workunit of the whole project at any time, regardless of the application. So currently I have e.g. one camb workunit and one planck workunit running, but I just want one of those running.

mmonnin
Send message
Joined: 29 Dec 16
Posts: 19
Credit: 420,063
RAC: 188
Message 21390 - Posted: 3 May 2017, 11:57:36 UTC - in response to Message 21389.

That command will limit 1 task so I don't see how you can be running one from each app.

You can limit which app is sent to you by adjusting the project preferences.

Tom_unoduetre
Send message
Joined: 23 Aug 07
Posts: 3
Credit: 56,043
RAC: 73
Message 21391 - Posted: 3 May 2017, 12:24:43 UTC

Ok, thanks mmonnin, I´ve also checked the Boinc wiki and apparently the <project_max_concurrent>N</project_max_concurrent> tag solves this issue. I am now able to run only one cosmology workunit at once (with one core).

For reference here´s my app_config

<app_config> <app_version> <app_name>camb_boinc2docker</app_name> <plan_class>vbox64_mt</plan_class> <avg_ncpus>1</avg_ncpus> </app_version> <app_version> <app_name>lsplitsims</app_name> <plan_class>vbox64_mt</plan_class> <avg_ncpus>1</avg_ncpus> </app_version> <project_max_concurrent>1</project_max_concurrent> </app_config>

Message boards : Technical Support : Running only one active VM Workunit of any type?