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: 39
Posts: 39   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3875 times and has 38 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Task queueing when you know ahead of time a lack of net connection

I am certain that if I had a week to parse threads and refine the question, I would find an answer, so I'll thank those souls who take a moment of pity in advance...

If I know that as I travel, I will be for various reasons temporarily out of net range, but the duration is anticipated, is there a way to ask the server queue for tasks with that knowledge in mind?

I don't mind letting my laptop crunch away in the background, but I'll not pay for huge roaming fee's(cell mobile access is not cheap, nor my companies concern in this case!) in the hope of snagging a task at the perfect moment.

Thank you for your interest and any replies.
[Jul 5, 2009 7:58:47 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sid2
Senior Cruncher
USA
Joined: Jun 12, 2007
Post Count: 259
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection



If I know that as I travel, I will be for various reasons temporarily out of net range, but the duration is anticipated, is there a way to ask the server queue for tasks with that knowledge in mind?



Hope this answers your question:


Boinc Manager >> Advanced >> Preferences >> Network Usage >> Additional Work Buffer.


Adjust Additional Work Buffer until you have enough work bunkered.
----------------------------------------

----------------------------------------
[Edit 1 times, last edit by Sid2 at Jul 5, 2009 8:34:03 PM]
[Jul 5, 2009 8:29:19 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: Task queueing when you know ahead of time a lack of net connection

JETSOLVER,

What Sid2 says is indeed correct.

Let's presume your laptop spends most of it's time working on fictitious project x. You know from past experience, your WU's take between 1 - 4 hours to complete one project x WU.

You know your machine will only be powered up say 4 hours / day. So this dictates how many additional days of buffer you can handle.

Presuming your WU's take 4 hours to complete, should your laptop run continuously, you could process between 5-6 WU's / 24 hours of time.

So if you can anticipate how much time your laptop will be able to process whilst not connected to a network, then setting a buffer to some quantity of days will do you nicely.

Of course, presuming you get a WU that is on a short leash (meaning needs to be back withing something like 2; 4; 6 days or shorter) you might process the WU and return it only to discover it was returned later than needed.

I'm sure one of our nice helpers here would be willing to step in and articulate all the things (good / bad) that happen under these conditions.

have fun on your trip cool
[Jul 5, 2009 9:27:26 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Steve WCG
Senior Cruncher
Joined: May 4, 2009
Post Count: 216
Status: Offline
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection

The max number of days you can cache is 10 (except HCMD2 wich is 14) but I would set it to only be one more day than you plan to be *roaming*.

I think you will also want to "suspend network activity" so it won't even try to connect, avoiding roaming charges, until you have returned.

Steve
[Jul 6, 2009 1:15:51 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection

1. HCMD2 Parent tasks: 14 day deadline,
2. HCMD2 Child tasks: 10 day deadline,
3. HCMD2 repairs tasks: 40% of deadlines 1 or 2 above

Latter only send to clients that return tasks continuously within 48 hour basis (not confirmed!) and are known from last ~15 results to produce valid results.

Never take more than you can chew. If switching from a 24-7 crunching pattern,m short buffer to a part time pattern with larger buffer, BOINC needs to learn, thus set additional buffer to the total days the PC is thought to be on times the number of cores times the factor of throttle. Example:

Away 5 days
On, using mains, 10 hours
Throttle 60% (% of CPU time while on)
When in use: Yes

5 x 10/24th x 0.6 = 1.25 day

BOINC automatically will multiply this with the number of cores in a computer allowed to BOINC. 2 cores in the example would fetch thus ~60 hours of work, based on the known CPU efficiency and Duration Correction Factor (plz don't roll eye's)

If you did take more than the computer can chew, you might see eventually High Priority processing. With other safety factors that BOINC has compulsively build in, such as always wanting to return work 24hours before deadline, best not exceed 7-8 days.

How not to get rush jobs for a planned trip: Increase buffer to 2.5 to 3 days several days before departure.

Note to self: hmmm, I think WCG might want to add an option to the device profile for those with 'mobile' crunching behavior: Don't send rush work. (Maybe knreed reads this)
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Jul 6, 2009 1:40:55 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: Task queueing when you know ahead of time a lack of net connection

In theory, setting the "Connect to network every x days" should allow more control for disconnected computing than using the work buffer setting.

In practise, though, I'm fairly sure this doesn't work as advertised. Judging by mikus' frequent complaints, it performs very poorly indeed - and I'm also reasonably certain that WCG restrict the "Connect to network" value anyway (although this is no longer a useful restriction).
[Jul 6, 2009 2:20:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection

The max number of days you can cache is 10 (except HCMD2 wich is 14)

Steve, don't get confused between WUs deadlines and the cache size.
As far as I know the max cache size is still 10 days, whatever the deadlines and the projects.

And by the way, Sek and Steve, the HCMD2 parents deadline has apparently (no formal announcement) been set to 10 days too, since June 28 or 29.

Cheers. Jean.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Jul 6, 2009 8:29:32 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Ingleside
Veteran Cruncher
Norway
Joined: Nov 19, 2005
Post Count: 974
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection

How not to get rush jobs for a planned trip: Increase buffer to 2.5 to 3 days several days before departure.

Note to self: hmmm, I think WCG might want to add an option to the device profile for those with 'mobile' crunching behavior: Don't send rush work. (Maybe knreed reads this)

There doesn't need to be a "mobile"-preference, since users can just set a large "Connect about every N days".

If "Connect about every N days" > "deadline", you won't get the Task... except, if WCG haven't removed it in their scheduler, there's still the hole in the scheduler there anyone that haven't got any work at all still will be assigned a single Task, even if have no hope of finishing it before the deadline... This "hole" doesn't apply for "hard" apps, but AFAIK none of WCG's apps is "hard"...


So, to make sure you'll not get any "rush"-jobs, just set "Connect about every N days" to be 4.1 days or something...
----------------------------------------


"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
[Jul 6, 2009 9:01:04 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: Task queueing when you know ahead of time a lack of net connection

So, all we need is a scheduler that works as expected.

Not much to ask for, right?
[Jul 6, 2009 9:14:46 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Task queueing when you know ahead of time a lack of net connection

How not to get rush jobs for a planned trip: Increase buffer to 2.5 to 3 days several days before departure.

Note to self: hmmm, I think WCG might want to add an option to the device profile for those with 'mobile' crunching behavior: Don't send rush work. (Maybe knreed reads this)

Quoting self, post by knreed today discusses this to as a consideration for adding as a function on the server side, not hours later cool

@JETSOLVER, put 12 programmers in a room to code a program and you get 13 solutions... give it KISS and increase Connect and Buffer to your needs. One way order the other, the client will want to report any completed tasks when having the chance to go on line. It's not a must though... you have until deadline ;>)
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Jul 6, 2009 9:29:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 39   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread