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: 14
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2019 times and has 13 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Control project work unit priority

Hello,

I am currently running all available projects for WCG. I note that while I have a lot of two of the projects in terms of work units the clean energy project phase 2 will have 1 available work unit in my queue. Is there a way to make sure 1 of the work units being worked on is always the one from that project? I have a quad core processor so I want to have 1 core working on the energy project always (if available) and the other 3 can do whatever. Is that possible?

Thank you,
[Oct 7, 2014 4:21:45 PM]   Link   Report threatening or abusive post: please login first  Go to top 
branjo
Master Cruncher
Slovakia
Joined: Jun 29, 2012
Post Count: 1892
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Control project work unit priority

Hello Malander,

You can increase the number of concurrent CEP2 tasks by going to Settings / Device Manager, open the Profile to which is your computer attached (usually "Default"), scroll down and change "Project Specific Settings / Number of workunits per host for The Clean Energy Project - Phase 2?" Set it to 3 for example.

Than you have to create app_config.xml file and save it into WCG data directory - in Win 7 it is C / ProgramData (hidden by default) / BOINC / Projects / www.worldcommunitygrid.org

app_config.xml should be:

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


Cheers and good luck
----------------------------------------

Crunching@Home since January 13 2000. Shrubbing@Home since January 5 2006

----------------------------------------
[Edit 3 times, last edit by branjo at Oct 7, 2014 5:02:48 PM]
[Oct 7, 2014 4:56:35 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: Control project work unit priority

Hello,

I am currently running all available projects for WCG. I note that while I have a lot of two of the projects in terms of work units the clean energy project phase 2 will have 1 available work unit in my queue. Is there a way to make sure 1 of the work units being worked on is always the one from that project? I have a quad core processor so I want to have 1 core working on the energy project always (if available) and the other 3 can do whatever. Is that possible?

Thank you,

Yes you can in a very 'controlled' manner by employing the app_config.xml file which has to be stored in the wcg project folder. You can visit prior posts for samples. You set cep2 to 1 with the <max_concurrent> tag in app_config and select a multiple in the device profile, so that a cep2 in the queue buffer is always the oldest to start since basically the agent works on first in first out basis. This project has priority in the server feeder, i.e. any completed cep2 will first be replaced. Then you select the other projects of course, and these will fill the other threads. No need to specify those in app_config.

A computational example. The buffer is 1 day deep and the runtime of cep2 is 5 hours average. 24 / 5 is 5. Add to that 1 i.e you specify 6 in the device profile, so that there is contingency for the variability of runtimes. Any other work will be fetched and man the other threads. If you don't see a cep2 running, increment the device profile setting by 1 etc, so the oldest in cache always is a cep2.

Play and learn
[Oct 7, 2014 5:12:53 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: Control project work unit priority

I'm thinking maybe I can free up space for cep2 if I restrict the max number of units in app_config.xml file for the other projects. Assuming that it will work that way what is needed to get the system to recognize any changes I have made to the app_config.xml file? For example, is it just a matter of opening the BOINC program itself and updating the project?
----------------------------------------
[Edit 1 times, last edit by Former Member at Oct 8, 2014 12:55:49 AM]
[Oct 8, 2014 12:52:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
deltavee
Ace Cruncher
Texas Hill Country
Joined: Nov 17, 2004
Post Count: 4888
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Control project work unit priority

...to recognize any changes I have made to the app_config.xml file? For example, is it just a matter of opening the BOINC program itself and updating the project?

In Boinc Manager advanced view, click on the Advanced tab and then click on Read Config Files.
[Oct 8, 2014 12:56:56 AM]   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: Control project work unit priority

Thank you everyone!
[Oct 8, 2014 1:17:43 AM]   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: Control project work unit priority

As a follow-up. So I can control max number of work units being run from one project to try to make sure other projects are always running units. I am finding that one project is pretty much overrunning my queue. Is it possible to limit the number of work units allowed in my queue for a specific project so I can get more from the other projects?
----------------------------------------
[Edit 1 times, last edit by Former Member at Oct 12, 2014 2:48:05 AM]
[Oct 12, 2014 2:47:38 AM]   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: Control project work unit priority

Reread my post. If you do as suggested, cep2 will -not- be overrun. Do -not- specify any other project in app_config, just cep2, as it risks idling cores when the buffer is rated by agent as full, but not enough work on board of the other specific sciences.

Except for cep2 there is no quantitative control of the other sciences (wish-listed as a feature of app_config). They now come on the basis of whatever project selected and whatever is available in feeder at moment of work fetch call.
[Oct 12, 2014 8:43:58 AM]   Link   Report threatening or abusive post: please login first  Go to top 
deltavee
Ace Cruncher
Texas Hill Country
Joined: Nov 17, 2004
Post Count: 4888
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Control project work unit priority

As a follow-up. So I can control max number of work units being run from one project to try to make sure other projects are always running units. I am finding that one project is pretty much overrunning my queue. Is it possible to limit the number of work units allowed in my queue for a specific project so I can get more from the other projects?


Malander,
I assume you want to limit mcm1 since it currently seems to have a much higher priority in the feeder than faah. This app_config will limit you to running only one cep2 and two mcm1 wus. Note that this does not affect how many of each are in your cache, only how many are running concurrently. You must make sure your cache is large enough to have these wus always ready to run. This can take a little trial and error tuning to your cache.

<app_config>
<app>
<name>cep2</name>
<max_concurrent>1</max_concurrent>
</app>
<app>
<name>mcm1</name>
<max_concurrent>2</max_concurrent>
</app>
</app_config>
----------------------------------------
[Edit 2 times, last edit by deltavee at Oct 12, 2014 2:53:25 PM]
[Oct 12, 2014 2:46:07 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: Control project work unit priority

ya the main thing I was hoping to do now was allow more faah projects in while not totally cutting off mcm1 project. I found that mcm1 was filling my queue to the point I turned it off. Perhaps you are correct that I just need to increase the size of the queue itself. Would be cool if you could limit the number of each project in the queue so for example you could say I only want 50 of this project at a time and 40 of that one etc... Love to know if that ever becomes an option
[Oct 16, 2014 5:51:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread