Commit Graph

1053 Commits

Author SHA1 Message Date
David Anderson e3e70b9eb4 quorum size doesn't depend on nresults
svn path=/trunk/boinc/; revision=7710
2005-09-01 17:28:29 +00:00
David Anderson 99c9679b63 versions are major/minor/release
svn path=/trunk/boinc/; revision=7614
2005-08-31 00:18:36 +00:00
Jeff Cobb 52d8090ee4 *** empty log message ***
svn path=/trunk/boinc/; revision=7536
2005-08-27 15:13:53 +00:00
David Anderson 5cf2cb09b9 *** empty log message ***
svn path=/trunk/boinc/; revision=7535
2005-08-26 22:48:32 +00:00
David Anderson 8a5f66a616 *** empty log message ***
svn path=/trunk/boinc/; revision=7534
2005-08-26 22:47:29 +00:00
David Anderson 8a72aef655 remove email munge code
svn path=/trunk/boinc/; revision=7518
2005-08-26 22:26:26 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
Jeff Cobb b2ca67a47b *** empty log message ***
svn path=/trunk/boinc/; revision=7478
2005-08-24 21:55:37 +00:00
Eric J. Korpela 8e6a30f01f Added include of strings.h to pick up definition of rindex.
svn path=/trunk/boinc/; revision=7463
2005-08-22 19:29:27 +00:00
Bruce Allen 4d0bcfbe27 Restored 'delete antiques' code overwritten by Jeff Cobb
Now delete files in increasing mtime order
Additional paranoia to avoid deleting 'the wrong' files if there
  is a configuration or other user/admin error
Use C++ string type for storage efficiency in list
Only delete antique files when there is no OTHER file deletion to do

svn path=/trunk/boinc/; revision=7461
2005-08-20 02:45:49 +00:00
Bruce Allen 0d4174f61f Compile fix for OS X.
svn path=/trunk/boinc/; revision=7378
2005-08-16 23:47:51 +00:00
David Anderson 66fbe0cfbe *** empty log message ***
svn path=/trunk/boinc/; revision=7360
2005-08-16 20:48:21 +00:00
Jeff Cobb 12c5845715 *** empty log message ***
svn path=/trunk/boinc/; revision=7291
2005-08-12 19:19:46 +00:00
David Anderson d3876a2c6c bool XML notation
svn path=/trunk/boinc/; revision=7285
2005-08-12 18:31:47 +00:00
Jeff Cobb 0680f23b68 *** empty log message ***
svn path=/trunk/boinc/; revision=7280
2005-08-11 23:53:24 +00:00
David Anderson c487a35959 fix compile warnings
svn path=/trunk/boinc/; revision=7266
2005-08-11 17:41:08 +00:00
David Anderson 9276415e06 *** empty log message ***
svn path=/trunk/boinc/; revision=7234
2005-08-11 00:17:00 +00:00
Bruce Allen 8f66bece15 Corrected misleading message to users about free disk space.
svn path=/trunk/boinc/; revision=7212
2005-08-08 20:36:46 +00:00
Bruce Allen cb9349bcf9 Typo
svn path=/trunk/boinc/; revision=7210
2005-08-08 09:34:11 +00:00
Bruce Allen f0d55c9fd1 Fix/improve comments
svn path=/trunk/boinc/; revision=7209
2005-08-08 09:22:34 +00:00
Bruce Allen a59d530bb4 file_deleter: added a new argument -delete_antiques.
If this switch is enabled on the command line, then
periodically (once per hour) removes any files in the
upload/ directory that are older than the oldest WU in the
database.  These files are created when BOINC clients
return work really late after the deadline -- so late that
the corresponding WU has been deleted from the database.
About half the results in the E@H upload/ directory were
of this form.  The 'find' command is used to locate such
files.  This is potentially a dangerous operation since
if we find then delete the wrong file(s) all hell could
break lose on the server.  So a lot of 'paranoia and
sanity checking' is done before unlink(path) is called,
and we bail out at the first sign of something odd.

svn path=/trunk/boinc/; revision=7208
2005-08-08 09:11:37 +00:00
Bruce Allen 40321131e9 Improved wording of message to users about a file scheduled for
deletion by BOINC.  Some users thought that perhaps action was
needed on their part.

svn path=/trunk/boinc/; revision=7191
2005-08-05 12:55:19 +00:00
Bruce Allen a0b30471c8 File deleter: only log message at level CRIT if we fail to
file an output file for a SUCCESSFUL result.  Failure to
find an output file for an UNSUCCESSFUL result is OK, and
just logged at level DEBUG.

svn path=/trunk/boinc/; revision=7184
2005-08-04 08:56:20 +00:00
David Anderson 18bf9ebf22 *** empty log message ***
svn path=/trunk/boinc/; revision=7177
2005-08-04 03:58:00 +00:00
David Anderson 9898cdd8e3 split up scheduler code
svn path=/trunk/boinc/; revision=7171
2005-08-04 03:50:04 +00:00
David Anderson 6fa5d3f7e2 replace wait3(), wait4() with waitpid()
svn path=/trunk/boinc/; revision=7170
2005-08-04 00:12:50 +00:00
Bruce Allen b3d49b64c7 scheduler: update of the resend-lost-work algorithm. Now try and
extend deadline somewhat, or cancel rather than resend work if
it's not feasible.

svn path=/trunk/boinc/; revision=6982
2005-08-02 19:38:43 +00:00
Jeff Cobb 6e87b15913 *** empty log message ***
svn path=/trunk/boinc/; revision=6885
2005-08-01 21:05:51 +00:00
Bruce Allen 6a978c3845 scheduler: don't resend a result to a host if any of the following is true:
[1] WU error flag set
      [2] WU already has canonical result
      [3] (report_deadline - current_time) < 25% of WU delay bound
      If any of these conditions is true, set the report deadline to the
      current time and set the WU transition time to the current time.
      The transitioner will then 'do the right thing'.

svn path=/trunk/boinc/; revision=6871
2005-07-29 22:38:27 +00:00
Bruce Allen a009ee9af7 scheduler: fixed to checkins on 28 July
(1) Put core client version number into wreq BEFORE searching for
          an app version. Problem is that reply.wreq.core_client_version was only being set in
          send_work(), which was too late for the resend_lost_work() part
          of the code.  You might want to move all the initialization of reply.wreq
          out of send_work().   The core client version is needed to see if the
          app is compatible with it when calling get_app_version().
      (2) In retransmitting lost work, do NOT set the deadline to new
          values.  Else the result will never time out!  But DO reset
          the sent_time, to indicate that result was resent.
transitioner:
          In the transitioner, make the next WU transition time be the min
          of deadlines of the in progress results, NOT the min of the
          sent_time+delay bound.  Unless a project wants to do dynamic
          adjustment of delay bounds for in progress results this should be OK.
          CPDN people: I don't think this does any harm for trickles but
          you might want to give it a quick look to be 100% sure.

svn path=/trunk/boinc/; revision=6870
2005-07-29 08:13:23 +00:00
Bruce Allen bedb30b032 In retransmitting lost work, do NOT set the send_time and the deadline to new
values.  Else the result will never time out!  (David, would it be OK to
simply modify the send_time but NOT the deadline?  This would make it easy
to see in the database that the result is being resent.)

svn path=/trunk/boinc/; revision=6868
2005-07-28 22:21:46 +00:00
Bruce Allen 3282d6125d David this is a bug fix for the 'resending lost results' part of the
scheduler.

Problem is that reply.wreq.core_client_version was only being set in
send_work(), which was too late for the resend_lost_work() part
of the code.  You might want to move all the initialization of reply.wreq
out of send_work().   The core client version is needed to see if the
app is compatible with it when calling get_app_version().

svn path=/trunk/boinc/; revision=6867
2005-07-28 15:12:51 +00:00
David Anderson 3f785e8bdd resend lost results
svn path=/trunk/boinc/; revision=6866
2005-07-28 10:13:30 +00:00
Bruce Allen 2e4989c238 Better logging
svn path=/trunk/boinc/; revision=6865
2005-07-28 09:48:12 +00:00
David Anderson 666da72e05 *** empty log message ***
svn path=/trunk/boinc/; revision=6864
2005-07-28 09:43:54 +00:00
David Anderson 4710fe1771 *** empty log message ***
svn path=/trunk/boinc/; revision=6863
2005-07-28 09:29:12 +00:00
David Anderson 793fbf57ee *** empty log message ***
svn path=/trunk/boinc/; revision=6862
2005-07-28 09:00:19 +00:00
David Anderson 3dfea63937 scheduler fix
svn path=/trunk/boinc/; revision=6860
2005-07-28 08:09:46 +00:00
Jeff Cobb e98554319c *** empty log message ***
svn path=/trunk/boinc/; revision=6822
2005-07-26 22:14:55 +00:00
David Anderson bb7f1e24b5 *** empty log message ***
svn path=/trunk/boinc/; revision=6721
2005-07-21 08:55:34 +00:00
David Anderson 511429769c *** empty log message ***
svn path=/trunk/boinc/; revision=6712
2005-07-21 08:24:09 +00:00
David Anderson d16fccdf1e *** empty log message ***
svn path=/trunk/boinc/; revision=6694
2005-07-19 19:33:22 +00:00
David Anderson 6adf04efda *** empty log message ***
svn path=/trunk/boinc/; revision=6684
2005-07-19 19:05:50 +00:00
David Anderson a400b6df5b *** empty log message ***
svn path=/trunk/boinc/; revision=6656
2005-07-17 19:52:44 +00:00
Bruce Allen 4d6193babb - Transitioner would not set a new WU transition time less
than 24 hours away, to prevent thrashing.  But this delayed
      reissuing of new results.  For example if two results were
      issued a hours 17 and 18, and both timed out (no reply). At
      time 17+deadline the first would time out and a new result
      would be issued.  But then instead of setting the transition
      time to 18+deadline it would be set to 18+deadline+1 day.

      To prevent thrashing I have fixed this so that if a transition
      time is in the past, I advance it by TWICE the amount it is late,
      but never less than 1 minute or more than 1 day.

    - Ops pages: show unsent/in-progress results in purple.  For
      unsent results show create time rather than deadline.

svn path=/trunk/boinc/; revision=6637
2005-07-14 20:22:53 +00:00
David Anderson a0c6b937a8 *** empty log message ***
svn path=/trunk/boinc/; revision=6611
2005-07-14 10:02:20 +00:00
David Anderson 21671f42de *** empty log message ***
svn path=/trunk/boinc/; revision=6608
2005-07-14 07:42:35 +00:00
Bruce Allen 03e53d6223 Brought comments into line with what the code actually does.
svn path=/trunk/boinc/; revision=6533
2005-07-06 08:44:44 +00:00
David Anderson e3b9e4d9e0 *** empty log message ***
svn path=/trunk/boinc/; revision=6525
2005-07-05 19:09:42 +00:00
Rom Walton 1e1b77375b *** empty log message ***
svn path=/trunk/boinc/; revision=6510
2005-07-04 21:47:53 +00:00