Thread 'how to make boinc read app_config.xml'

Message boards : Questions and problems : how to make boinc read app_config.xml
Message board moderation

To post messages, you must log in.

AuthorMessage
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56670 - Posted: 13 Oct 2014, 18:15:29 UTC
Last modified: 13 Oct 2014, 18:17:07 UTC

I just want to limit the max number of concurrent jobs for any applications in my project.

I tried the app_config.xml and it works for me but It seems that I need to use the boinc manager GUI to manually make the boinc system read in the app_config.xml file as follows,

<app_config>
<app>
<name>myappname</name>
<max_concurrent>1</max_concurrent>
</app>
</app_config>



Is there any way to do it using command line tools or is it the way that when the boinc client restart, it will read the app_config.xml file automatically?

Thanks!
ID: 56670 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 56674 - Posted: 13 Oct 2014, 19:13:32 UTC - in response to Message 56670.  
Last modified: 13 Oct 2014, 19:13:53 UTC

boinccmd --read_cc_config

I would expect that to read app_config.xml too. All the config files are read on client startup too.

I'm not sure what you mean with 'my project'.
ID: 56674 · Report as offensive
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56675 - Posted: 13 Oct 2014, 19:57:20 UTC - in response to Message 56674.  

Hi Juha, Thanks for the feedback.

I just noticed the --read_cc_config option. I will try that.

I set up a boinc server on AWS cloud which will dispatch my projects and apps. I want to do a simulation, say I want to set up 100 clients on AWS cloud. I have a application which can create work units in "pulse" model. For example, there will be 30 work units sent to the WU queue in less than 5 seconds, and then wait for 4 hours and then 50 work units will be in the queue in a very short time.

In these cases, many jobs will be dispatched to one client and the distribution is not evenly.

Do you have any idea how to make it evenly distributed to all clients? In this way, I can take advantage of a number of clients.

Thanks,
ID: 56675 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 56676 - Posted: 13 Oct 2014, 20:14:44 UTC - in response to Message 56675.  

max_concurrent in app_config.xml limits how many tasks for a project BOINC client runs at the same time. It doesn't limit the number of tasks cached.

What you want is to limit in-progress tasks the host has. See Job limits. Setting <max_wus_in_progress> to 1 or 2 should do the trick.
ID: 56676 · Report as offensive
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56681 - Posted: 14 Oct 2014, 0:08:12 UTC - in response to Message 56676.  
Last modified: 14 Oct 2014, 0:20:45 UTC

Thanks Juha. I tried "boinccmd --read_cc_config" and it works! And Your suggestion to config the server side is promising too. Thanks you very much for sharing your knowledge!
--Wei
ID: 56681 · Report as offensive

Message boards : Questions and problems : how to make boinc read app_config.xml

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.