Exactly the same phenomenon happens when there *are* files to upload.

Task finishes : cache recalculated with new DCF : shortfall found : work 
fetch issued : result upload starts : scheduler contact complete : upload 
complete : another scheduler contact needed later.

That's what we were trying to get across in 
http://boinc.berkeley.edu/trac/ticket/728, but the discussion got 
sidetracked into a non-existent bug allegation concerning reporting before 
upload complete.


----- Original Message ----- 
From: "Rytis Slatkevičius" <[email protected]>
To: "BOINC Developers Mailing List" <[email protected]>
Sent: Saturday, September 12, 2009 9:19 AM
Subject: [boinc_dev] Multiple sched requests with no output files


> Hello all,
> I'm working on a project which is non-cpu-intensive and does not have 
> result
> files (instead, all network communication is done by the app itself). This
> causes an interesting phenomenon when a workunit finishes:
>
> *20:29:27 AProject Computation for task pinger_15571_0 finished
> 20:29:27 AProject Sending scheduler request: To fetch work.
> 20:29:27 AProject Requesting new tasks
> 20:29:32 AProject Scheduler request completed: got 1 new tasks
> 20:29:35 AProject Starting pinger_15796_0
> 20:29:35 AProject Starting task pinger_15796_0 using pinger version 103
> 20:29:43 AProject Sending scheduler request: To report completed tasks.
> 20:29:43 AProject Reporting 1 completed tasks, not requesting new tasks
> 20:29:48 AProject Scheduler request completed*
>
> As you can see, a task finishes and immediately a scheduler request is 
> done,
> because there is no more work in the queue, however, the WU that has
> finished hasn't yet reached ready_to_report state, so it is not reported.
> Instead, it is reported on a separate sched request, as soon as the first
> scheduler request (to fetch new work) is completed.
>
> This would be fine if we were doing file uploads, because then the 
> workunit
> would not be ready_to_report until the file upload was complete, but in 
> this
> case there is no file upload.
>
> Tested with 6.2.19, 6.6.36, 5.10.45 - same issue, although it does not
> always manifest itself. Some users have it more often, some don't at all.
>
> -- 
> Rytis Slatkevičius
> +370 670 77777
> ICQ 270359185; MSN [email protected]; GTalk [email protected]; Skype 
> rytis.s
> (text only)
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address. 


_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to