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: 3596
Posts: 3596   Pages: 360   [ Previous Page | 50 51 52 53 54 55 56 57 58 59 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5905083 times and has 3595 replies Next Thread
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12594
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

The advantage of using app_config is that you don't need to suspend any units (and so stop new units arriving) in order to restrict work on particular projects. It helps to prevent overloading with high dependency projects such as arp1 & mip1.

It is a simple piece of coding:

<app_config>
<app>
<name>arp1</name>
<max_concurrent>4</max_concurrent>
</app>
<app>
<name>mcm1</name>
<max_concurrent>4</max_concurrent>
</app>
<app>
<name>mip1</name>
<max_concurrent>4</max_concurrent>
</app>
</app_config>

There are 4 lines for each project that you wish to restrict and any not coded would not be restricted. There is also a line at the beginning and another at the end.

My example shows arp1, mcm1 & mip1, but you could equally use scc1, hsst1 or fahb.

The second line of the 4 gives the project to be restricted and the third line gives the maximum units to be crunched at any one time. Please note that inserting a 0 (zero) does not work.

The coding above is for a machine with 8 threads and allows for a maximum of 4 arp1 units with allowance for up to 4 each for the other 2 projects in case of an absence of arp1 units. Generally arp1 units start fairly soon after arrival because they are longer and the others clear more quickly.

The module should be in an otherwise empty file called app_config.xml in a folder that you will have, probably called C:\programdata\BOINC\projects\www.worldcommunitygrid.org

To activate it you click on the Options tab and select Read config files.

I use it in conjunction with a Device Profile setting of 6 arp1 units and 5 each for mcm1 & mip1, together with cache settings of 1.5 + 1.5 days.

I hope it helps.

Mike
----------------------------------------
[Edit 1 times, last edit by Mike.Gibson at Jan 3, 2020 5:49:30 PM]
[Jan 3, 2020 5:45:15 PM]   Link   Report threatening or abusive post: please login first  Go to top 
RTorpey
Advanced Cruncher
Joined: Aug 24, 2005
Post Count: 67
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

Correct, except it stops requesting WUs so you have less of a chance of getting the scarcer WUs.
[Jan 3, 2020 6:41:03 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12594
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

My settings do an update every time a unit finishes and as the mcm1 & mip1 units are short, an update takes place frequently.

Mike
[Jan 3, 2020 7:50:52 PM]   Link   Report threatening or abusive post: please login first  Go to top 
RTorpey
Advanced Cruncher
Joined: Aug 24, 2005
Post Count: 67
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

My settings do an update every time a unit finishes and as the mcm1 & mip1 units are short, an update takes place frequently.

Mike

"Frequent" is relative and that approach requests updates much less often than if a machine is trying to fill its queue.
Whatever approach works for you is fine. I'm just pointing out what has been working for me.
[Jan 3, 2020 8:03:13 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12594
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

Mcm1 & mip1 are readily available so their quotas are topped up immediately they finish which is about every half hour. At the same time, arp1 units are requested if that quota is not full.

The problem with randomisation is that any form of update can miss them.

If I had more threads available, like you seem to have judging from your badges, the updates would be even more frequent.

The other thing that I find is that if I had a higher cache of arp1 units, I would need to run more to keep my machine listed as 'reliable' and that would mean that the units would take longer. As I think that all the projects deserve our support, I prefer the higher efficiency of running a mix of projects on my machine.
[Jan 3, 2020 9:39:34 PM]   Link   Report threatening or abusive post: please login first  Go to top 
RTorpey
Advanced Cruncher
Joined: Aug 24, 2005
Post Count: 67
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

Mcm1 & mip1 are readily available so their quotas are topped up immediately they finish which is about every half hour. At the same time, arp1 units are requested if that quota is not full.

The problem with randomisation is that any form of update can miss them.

If I had more threads available, like you seem to have judging from your badges, the updates would be even more frequent.

The other thing that I find is that if I had a higher cache of arp1 units, I would need to run more to keep my machine listed as 'reliable' and that would mean that the units would take longer. As I think that all the projects deserve our support, I prefer the higher efficiency of running a mix of projects on my machine.


And that is why I was pointing out that in the current climate, a mix of ARP, FAH and HST works well in keeping the machines busy without need for any other intervention (manual or automatic)!
[Jan 3, 2020 11:53:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12594
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

You said that my way stops requesting work, but my way keeps requesting more every half hour or so.

Mike
[Jan 4, 2020 1:17:57 AM]   Link   Report threatening or abusive post: please login first  Go to top 
RTorpey
Advanced Cruncher
Joined: Aug 24, 2005
Post Count: 67
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

You said that my way stops requesting work, but my way keeps requesting more every half hour or so.

Mike


It stops requesting work because the queue is full - and it waits until a WU is completed until requesting a new one. This was in the context of manually managing queues.
I said that was no longer necessary due to the available mix of projects with limited WUs.
Sorry, but the sophistry is getting tiresome.
[Jan 4, 2020 1:29:54 AM]   Link   Report threatening or abusive post: please login first  Go to top 
DCS1955
Veteran Cruncher
USA
Joined: May 24, 2016
Post Count: 668
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

For the holiday period I have had at least 12 WU in the que with two of my machines with a total of 12 threads. I have set each with a 2 day cache and kept them topped up with MIP work. My fast machine crunches ARP in 15 hrs and the other one takes 52 hrs. Hope to get ruby by the end of next week.
----------------------------------------



[Jan 4, 2020 2:13:05 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12594
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work Available

During the holiday period I had as many as 14 units at a time. Since then, very little and nothing for 2 days.

Were many machines given a holiday, too!

Mike
[Jan 7, 2020 1:28:00 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 3596   Pages: 360   [ Previous Page | 50 51 52 53 54 55 56 57 58 59 | Next Page ]
[ Jump to Last Post ]
Post new Thread