Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1297 times and has 2 replies Next Thread
vlado101
Senior Cruncher
Joined: Jul 23, 2013
Post Count: 226
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
App_config.xml and Clean Energy project

Hello all,

I was interested in creating the app_config file, however I have just a few questions since I have not created one before. My interest in creating one would be to set up a case where if a Clean Energy task would be in Boinc Q to set my other four cores to work on it first and then when it completes to work on other tasks.

Has anyone does such a configuration before? Would it be enough to put the project name or does it have to be induvidual work unit names?

Thanks in advance for your help.
----------------------------------------

[Sep 29, 2014 7:47:56 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: App_config.xml and Clean Energy project

Yes it's been done before, and it requires fine tuning how many cep2 work units you allow on the host to be buffered and the overall buffer size so that 'other' projects fill the remaining cores. Given the horrible poor predictability of run times and more variables we/speak agent cannot control such as the dcf, it's not like set-and-forget. You'll have to monitor constantly.

No, you just specify the <max_concurrent> for cep2, no need to specify much more in app_config. The agent takes care to put other cores to work with whatever else there is in the q, if there is anything else in the q. Starvation of threads is possible in this scenario. On the device profile side you specify how many are allowed into your q, 1-16 or unltd. Then the tuning has to be done to make the cep2 tasks principally the oldest, so they always start first when any of the running 4 cep2 finishes. Remember in base the agent schedules fifo, only when there's chaos will it run earliest deadline first, more chance of the buffered cep2 in turn to go stale. If there's older of any of the other projects, they'll be started first, meaning you could still end up with fewer than 4 cep2 running.

Play and learn.
----------------------------------------
[Edit 1 times, last edit by Former Member at Sep 29, 2014 8:25:20 PM]
[Sep 29, 2014 8:20:10 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml and Clean Energy project

Here's an example:
<app_config>
<app>
<name>faah</name>
<max_concurrent>1</max_concurrent>
<cpu_versions>
<cpu_usage>1</cpu_usage>
</cpu_versions>
</app>
<app>
<name>cep2</name>
<max_concurrent>6</max_concurrent>
<cpu_versions>
<cpu_usage>1</cpu_usage>
</cpu_versions>
</app>
<app>
<name>fahv</name>
<max_concurrent>1</max_concurrent>
<cpu_versions>
<cpu_usage>1</cpu_usage>
</cpu_versions>
</app>
</app_config>
Hope it helps...
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



[Sep 29, 2014 8:51:44 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread