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: 153
Posts: 153   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 32037 times and has 152 replies Next Thread
biini
Senior Cruncher
Finland
Joined: Jan 25, 2007
Post Count: 334
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Thanks Mike and Joe, I'll leave my rigs waiting :-)
----------------------------------------

rtx, xeon, i9, ryzen, rnd laptops
dAM0NES 1991 ppl interested in beer, amigas or electornic music
[Nov 7, 2021 12:32:04 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12298
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

None for over 5 weeks!
[Nov 26, 2021 7:24:56 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Jean-David Beyer
Senior Cruncher
USA
Joined: Oct 2, 2007
Post Count: 335
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

I completed 8 in the last week or two.
----------------------------------------

[Nov 26, 2021 7:42:15 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Mike.Gibson
Ace Cruncher
England
Joined: Aug 23, 2007
Post Count: 12298
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Lucky you. Do you have a secret?
[Nov 27, 2021 2:12:35 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Jean-David Beyer
Senior Cruncher
USA
Joined: Oct 2, 2007
Post Count: 335
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Lucky you. Do you have a secret?


Yes, but I do not know if it helps anymore.
I have a file that says:

$ cat /home/jeandavid8/HST.txt

#!/bin/bash
sleep 15
/usr/bin/boinccmd --project https://www.worldcommunitygrid.org update
exit 0


And my crontab reveals, in part:

$crontab -l
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed

# Try to get HST WCG work units.
17 4-7 * * * /home/jeandavid8/HST.txt

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

[Nov 27, 2021 4:39:34 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1672
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Jean-David,
since it is a bash script, the ending should be .sh in order to keep system consistent with the applicable conventions.
Additionally, chmod +x shall be applied to the script file.
Cheers,
Yves
----------------------------------------
[Nov 28, 2021 8:27:01 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Jean-David Beyer
Senior Cruncher
USA
Joined: Oct 2, 2007
Post Count: 335
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

-
since it is a bash script, the ending should be .sh in order to keep system consistent with the applicable conventions. Additionally, chmod +x shall be applied to the script file.


Since Linux does not care what the suffix is, does not even care if there is a suffix, I am consistent with a different convention in using a .txt suffix for files containing exclusively text.

Similarly, that file is marked executable.
rwxr-xr-x. 1 jeandavid8 jeandavid8 109 Oct 21 11:15 HST.txt
----------------------------------------

[Nov 28, 2021 7:46:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
keithhenry
Ace Cruncher
Senile old farts of the world ....uh.....uh..... nevermind
Joined: Nov 18, 2004
Post Count: 18665
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Asking for work often is only half the battle. The other half is ensuring that BOINC always thinks that you need work. You don't want to be the BOINC version of the kid asking every 30 seconds "are we there yet". Yes, using crontab on linux and the task scheduler on Windows to update the project regularly are necessary, BOINC will wait increasingly longer to ask for work if BOINC thinks you don't need any when you do ask. On the flip side, WCG will ignore requests if they are less than two minutes since the last request. If you ask too often, you can end up with a long string of requests that are ignored because of that and actually end up waiting longer to actually get new work. I do not recommend using crontab/scheduler to submit a project update request any more often than every five minutes. You also need to utilize the project limits in your device profiles in conjunction with your queue size to ensure that BOINC thinks you need new work each time you submit a project update request. That can be challenging depending on what projects you are crunching and how fast wu's from each of those projects take to complete on your machines. With the project limits in a device profile, 64 wu is the biggest limit other than unlimited. Using unlimited for a project that has wu's readily available effectively dooms any attempt to get any wu from limited volume projects like HSTB. Also, you have to balance that with maintaining a big enough work queue that your machines don't run out of work during any outage (it's the unplanned ones that are the main concern). So, for the projects you are crunching with readily available work, set their project limits so that you get enough work to keep your desired work queue size full or as close to that as possible. For projects like HSTB, set the project limit to unlimited. Finally, set the work queue size in the device profile to something that is larger than your volume from well supplied projects. Keep in mind as well what kind of deadline each project uses,

For example, the longest unplanned outage WCG has ever had was between 2-3 days. So, if you maintain a work queue of 3 days, your machines should stay busy crunching during any outage (planned or unplanned) at WCG and returned your backlog of completed work when the outage ends. If you have MCM, OPN and HSTB selected in your device profile and MCM wu's average 2 hours each to complete and OPN average 8 hours each and you want to split your runtime on the two equally, you would want to set the project limit for MCM to 18 and OPN to 5 for 36 and 40 hours of runtime each and just over the 72 hour (3 day) work queue size you really want. HSTB would be set to unlimited. Set the work queue size in the device profile to 4-5 days. Combined with your use of crontab/scheduler to submit regular project update requests, you will maintain your 3 day work queue of MCM and OPN work. However, because of the project limits you have set, you won't get any more than that even though you actually have your work queue set to 4-5 days. That way, each update request will be seen as you need more work but you have maxed MCM and OPN work so any work beyond that that is sent will be HSTB if there is any HSTB work available when that request is processed.

Given that most projects usually have a 5-7 day deadline, you definitely want to avoid having too much work in queue, Don't set your queue size higher than 5 days (probably 4.5 max actually). You do want to be careful. If you change projects, you have to do some planning beforehand so that you set the project limits accurately. If you have multiple machines that vary in their performance, it can get complicated figuring out the correct project limits (try figuring that for your machines in aggregate perhaps). Start out playing it conservative and do small upward tweaks.

I currently have 51 cores crunching and 78 HSTB wu in queue across those cores.
----------------------------------------
Join/Website/IMODB



[Dec 5, 2021 10:34:38 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Cirian
Cruncher
Joined: Dec 16, 2012
Post Count: 15
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: No work Units

Thank you heaps keithhenry !
[Dec 7, 2021 7:36:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 153   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Post new Thread