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: 20
Posts: 20   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3012 times and has 19 replies Next Thread
imakuni
Advanced Cruncher
Joined: Jun 11, 2009
Post Count: 105
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Controlling the number of applications from each project.

Basically, I want to conduct some tests with WCG and a few PCs I have, and I need a controlled ambient for that.

So the question is, can I "force"a set number of applications to run at any given time? I have a 16 thread machine, so could I force the client to always run, say, 5 instances of OET and 11 of CEP2?

I'm asking this, because on my 3 threaded machine I have at home, there are moments where it's running 3 applications from OET and 0 from CEP2.
----------------------------------------

Want to have an image of yourself like this on? Check this thread: https://secure.worldcommunitygrid.org/forums/wcg/viewthread_thread,29840
[Mar 13, 2015 1:52:10 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: 4894
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Controlling the number of applications from each project.

So the question is, can I "force"a set number of applications to run at any given time? I have a 16 thread machine, so could I force the client to always run, say, 5 instances of OET and 11 of CEP2?


Put this in a file called app_config.xml:

<app_config>
<app>
<name>cep2</name>
<max_concurrent>11</max_concurrent>
</app>
<app>
<name>oet1</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>

Put the file in this folder: C:\ProgramData\BOINC\projects\www.worldcommunitygrid.org

For more info see http://boinc.berkeley.edu/wiki/Cc_config.xml and/or search this forum for app_config.
----------------------------------------
[Edit 1 times, last edit by deltavee at Mar 13, 2015 2:25:39 AM]
[Mar 13, 2015 2:16:20 AM]   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: Controlling the number of applications from each project.

I am not sure if App config will work for oet. It is low priority and AFAIK it will be downloaded only if it is selected as an exclusive project in profile confused
----------------------------------------

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

[Mar 13, 2015 8:46:37 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: Controlling the number of applications from each project.

imakuni, long as you restrict CEP2 to 16 or less 'In Progress' on the host in the device profile, you will get all you need for OET1, in that profile combo. Soon as you add any other sciences, you won't get enough of OET to even keep 1 core busy. Expand the app_config to add e.g. UGM1 to for instance specify 5. What happens then is there's an overlap [11+5+5] where in incidences you could have a little less CEP2 running and several UGM+OET.

Summary, app_config works best with only 2 sciences and you have to consider the supply weight, where CEP2 is -always- send first [if there's work, which is 99% of the times]. Having overlaps, sum of apps max_concurrent is greater than core count, prevents idle cores if only computing at WCG.
----------------------------------------
[Edit 1 times, last edit by Former Member at Mar 13, 2015 9:15:25 AM]
[Mar 13, 2015 9:13:51 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KLiK
Master Cruncher
Croatia
Joined: Nov 13, 2006
Post Count: 3108
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Controlling the number of applications from each project.

I am not sure if App config will work for oet. It is low priority and AFAIK it will be downloaded only if it is selected as an exclusive project in profile confused

you select 2 project run in My profile...only those are sent (unless you also affirm the "send other science if work is not available")!

and you put that app_config...and it will work! :D
----------------------------------------
oldies:UDgrid.org & PS3 Life@home


non-profit org. Play4Life in Zagreb, Croatia
[Mar 13, 2015 11:50:44 AM]   Link   Report threatening or abusive post: please login first  Go to top 
imakuni
Advanced Cruncher
Joined: Jun 11, 2009
Post Count: 105
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Controlling the number of applications from each project.

Ty everyone for the replies. I'll try it once I get home.
----------------------------------------

Want to have an image of yourself like this on? Check this thread: https://secure.worldcommunitygrid.org/forums/wcg/viewthread_thread,29840
[Mar 13, 2015 1:22:10 PM]   Link   Report threatening or abusive post: please login first  Go to top 
imakuni
Advanced Cruncher
Joined: Jun 11, 2009
Post Count: 105
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Controlling the number of applications from each project.

Well, it seems that this solution was perfect. Although it was only a 3 threaded machine, I was able to completely control the number of WUs from each project, in whatever way I wanted. Tyvm for the quick response.

So the question is, can I "force"a set number of applications to run at any given time? I have a 16 thread machine, so could I force the client to always run, say, 5 instances of OET and 11 of CEP2?


Put this in a file called app_config.xml:

<app_config>
<app>
<name>cep2</name>
<max_concurrent>11</max_concurrent>
</app>
<app>
<name>oet1</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>

Put the file in this folder: C:\ProgramData\BOINC\projects\www.worldcommunitygrid.org

For more info see http://boinc.berkeley.edu/wiki/Cc_config.xml and/or search this forum for app_config.

----------------------------------------

Want to have an image of yourself like this on? Check this thread: https://secure.worldcommunitygrid.org/forums/wcg/viewthread_thread,29840
[Mar 14, 2015 3:50:34 AM]   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: Controlling the number of applications from each project.

I am not sure if App config will work for oet. It is low priority and AFAIK it will be downloaded only if it is selected as an exclusive project in profile confused

you select 2 project run in My profile...only those are sent (unless you also affirm the "send other science if work is not available")!

and you put that app_config...and it will work! :D


Sure, I am using app_config since it has been introduced in Alpha. As good as it is, it can't overcome some project-specific issues. Since I am not familiar with OET1 WCG sub-project, I was sceptic about its usefulness with it rolling eyes
----------------------------------------

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

----------------------------------------
[Edit 1 times, last edit by branjo at Mar 14, 2015 7:30:19 PM]
[Mar 14, 2015 7:28:45 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Cosmicboss
Cruncher
USA
Joined: Sep 14, 2011
Post Count: 34
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Controlling the number of applications from each project.

Hi I have kind of the opposite question. FYI I know almost nothing about programing.

What if I dont care about the max concurrent number of WU's?

What if all i care about is having at least one instance of a project running at all times? all this w/o affecting the all other parameters. In other words not running dry on the other sciences.

Can I do this with app_config as well?

Thanks
----------------------------------------


Barranquilla procera e inmortal. Corroncho Crunching
[Apr 17, 2015 12:48:18 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: Controlling the number of applications from each project.

You don't need app_config at all... set the My Projects to sent all [Tick all sciences except CEP2]. When selection is set this way, you don't even need the 'If there is no work...' as then the servers already assign anything available in the hopper... kind of the preferred way of operation by WCG. :D
[Apr 17, 2015 1:46:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 20   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread