Commit Graph

4996 Commits

Author SHA1 Message Date
David Anderson 6df7ebc5e8 *** empty log message ***
svn path=/trunk/boinc/; revision=5144
2005-01-19 19:08:46 +00:00
Bruce Allen a447159e31 Added is_dir() prototype -- generally useful function.
svn path=/trunk/boinc/; revision=5143
2005-01-19 17:53:27 +00:00
Bruce Allen 37a49c9b09 Patches from Reinhard Prix to fix several problems.
(1) apps being suspended would call boinc_finish(nonzero) and
          core client would treat this as app failure.  Introduce
          a new function boinc_exit() and call that instead.
(2) improvements to GUI build with wxWidgets
(3) improved X event handling loop now ensures that X window
          is taken away when window killed.

svn path=/trunk/boinc/; revision=5142
2005-01-19 15:54:04 +00:00
David Anderson 240c121a00 *** empty log message ***
svn path=/trunk/boinc/; revision=5141
2005-01-19 05:44:12 +00:00
David Anderson 1f5ef06046 *** empty log message ***
svn path=/trunk/boinc/; revision=5140
2005-01-19 05:34:18 +00:00
David Anderson a65c68db19 *** empty log message ***
svn path=/trunk/boinc/; revision=5139
2005-01-18 23:35:53 +00:00
Rom Walton d5bdf66960 *** empty log message ***
svn path=/trunk/boinc/; revision=5138
2005-01-18 23:09:25 +00:00
David Anderson e7d78df6ae *** empty log message ***
svn path=/trunk/boinc/; revision=5137
2005-01-18 22:47:08 +00:00
Rom Walton 3646066ad5 *** empty log message ***
svn path=/trunk/boinc/; revision=5136
2005-01-18 22:15:36 +00:00
David Anderson cc9c0a6341 *** empty log message ***
svn path=/trunk/boinc/; revision=5135
2005-01-18 19:56:18 +00:00
Janus B. Kristensen b7582f1095 Initial test-version of moderation system
svn path=/trunk/boinc/; revision=5134
2005-01-18 13:15:24 +00:00
Janus B. Kristensen b15132830b Initial test-version of moderation system
svn path=/trunk/boinc/; revision=5133
2005-01-18 13:00:38 +00:00
Rom Walton 038c8ab264 *** empty log message ***
svn path=/trunk/boinc/; revision=5132
2005-01-18 00:56:33 +00:00
Rom Walton bc8ca8d46f *** empty log message ***
svn path=/trunk/boinc/; revision=5131
2005-01-17 22:12:07 +00:00
David Anderson 6bdc90bb4f *** empty log message ***
svn path=/trunk/boinc/; revision=5130
2005-01-17 21:29:46 +00:00
Bruce Allen 4746ea019f - Additional work on locality scheduling.
(a) make DB queries more efficient using name>'FILE__' and name<'FILE__~' rather than
          name like 'FILE__%'
      (b) Set 'no remaining work for this file' flag correctly by making a DB scan if needed.
          One can show that this is the 'cheapest' reliable place to put this scan.
      (c) Modify deterministic algorithm for finding unsent results so that instead of
          starting with FILE="" and scanning forward over all files, it starts at a random
          place in file space, scans cyclicly to the end, and then from "" to the start
          point.
      (d) Satisfy work request if possible.  Don't terminate sending work until none left that
          is feasible, or request satisfed.
      (e) If a new file is needed, first pick file associated with unsent results which are more
          than 2 hours old.  Note: need to make this a user-configurable option, and add some
          random +- slack.

       For the record, here is the current locality scheduler logic.
       I will update the docs once this is a bit better tested and
       stable.

      (1) If there is an (one) unsent result which is older than
      (1) config.locality_scheduling_send_timeout (7 days) and is
      (1) feasible for the host, sent it.

      (2) If we did send a result in the previous step, then send any
      (2) additional results that are feasible for the same input file.

      (3) If additional results are needed, step through input files on
      (3) the host.  For each, if there are results that are feasible for
      (3) the host, send them.  If there are no results that are feasible
      (3) for the host, delete the input file from the host.

      (4) If additional results are needed, and there is (one) unsent
      (4) result which is older than 2 hours and is feasible for the
      (4) host, send it.

      (5) If we did send a result in the previous step, then send any
      (5) additional results that are feasible for the same input file.

      (6) If additional results are needed, select an input file name at
      (6) random from the current input file working set advertised by
      (6) the WU generator.  If there are results for this input file
      (6) that are feasible for this host, send them.

      (7) If additional results are needed, carry out an expensive,
      (7) deterministic search for ANY results that are feasible for the
      (7) host.  This search starts from a random filename advertised by
      (7) the WU generator, but continues cyclicly to cover ALL results
      (7) for ALL files. If a feasible result is found, send it.  Then
      (7) send any additional results that use the same input file.  If
      (7) there are no feasible results for the host, we are finished:
      (7) exit.

      (8) If addtional results are needed, return to step 4 above.

svn path=/trunk/boinc/; revision=5129
2005-01-17 19:20:56 +00:00
Bruce Allen 39ade71711 Issue better warning message if dependencies not found
svn path=/trunk/boinc/; revision=5128
2005-01-17 15:25:27 +00:00
Karl Chen 8d3e716729 added support for make_project --db_user --db_passwd
svn path=/trunk/boinc/; revision=5127
2005-01-17 00:21:19 +00:00
David Anderson 29031dba75 *** empty log message ***
svn path=/trunk/boinc/; revision=5126
2005-01-16 21:38:16 +00:00
Rom Walton 6429c25bff *** empty log message ***
svn path=/trunk/boinc/; revision=5125
2005-01-15 07:11:00 +00:00
Rom Walton f5810abf30 *** empty log message ***
svn path=/trunk/boinc/; revision=5124
2005-01-15 05:23:35 +00:00
David Anderson 0d38d3febe *** empty log message ***
svn path=/trunk/boinc/; revision=5123
2005-01-15 01:10:01 +00:00
David Anderson 335af90e5f *** empty log message ***
svn path=/trunk/boinc/; revision=5122
2005-01-14 21:21:04 +00:00
David Anderson 0fd0d4d551 *** empty log message ***
svn path=/trunk/boinc/; revision=5121
2005-01-14 19:45:43 +00:00
David Anderson aa1fceb978 *** empty log message ***
svn path=/trunk/boinc/; revision=5120
2005-01-14 03:32:16 +00:00
Rom Walton fcd5fde1d9 *** empty log message ***
svn path=/trunk/boinc/; revision=5119
2005-01-14 02:51:26 +00:00
Rom Walton 25edc20b51 *** empty log message ***
svn path=/trunk/boinc/; revision=5118
2005-01-14 01:54:52 +00:00
Rom Walton 5319aaa6ed *** empty log message ***
svn path=/trunk/boinc/; revision=5117
2005-01-14 00:27:32 +00:00
Rom Walton 24b5a922ad *** empty log message ***
svn path=/trunk/boinc/; revision=5116
2005-01-13 23:45:16 +00:00
Rom Walton 62a4da6eee *** empty log message ***
svn path=/trunk/boinc/; revision=5115
2005-01-13 23:39:47 +00:00
Bruce Allen b3ca6c771c Not incrementing nsent correctly
svn path=/trunk/boinc/; revision=5114
2005-01-13 23:24:49 +00:00
David Anderson f3d6116223 *** empty log message ***
svn path=/trunk/boinc/; revision=5113
2005-01-13 23:06:15 +00:00
David Anderson ef34ef63d7 *** empty log message ***
svn path=/trunk/boinc/; revision=5112
2005-01-13 21:17:41 +00:00
Rom Walton 62549ae250 *** empty log message ***
svn path=/trunk/boinc/; revision=5111
2005-01-13 20:22:57 +00:00
Rom Walton 5f55ded91d *** empty log message ***
svn path=/trunk/boinc/; revision=5110
2005-01-13 20:07:17 +00:00
Rom Walton d02c07c0a5 *** empty log message ***
svn path=/trunk/boinc/; revision=5108
2005-01-13 19:37:32 +00:00
David Anderson d7d6199b16 *** empty log message ***
svn path=/trunk/boinc/; revision=5107
2005-01-13 18:57:27 +00:00
Bruce Allen dd0ff1ac2b - More work on sched_locality.C. Note that the 'wacky' warning is
actually not impossible.  Consider the following scenario: WU A
has result 1 and WU B has result 2.  These are both sent to a
host.  Some time later, result 1 fails and the transitioner
creates a new result, result 3 for WU A.  Then the host requests
a new result.  The maximum result already sent to the host is 2.
The next unsent result (sorted by ID) is #3.  But since it is
for WU A, and since the host has already gotten a result for WU
A, it's infeasible.  So I think this is only wacky if
!one_wu_per_result_per_host.

- David, I simplified the inner part of send_results_for_file()
somewhat.  I can't see the need/use for the bool bool
in_working_set argument.  If I have really screwed the pooch
please revert.

svn path=/trunk/boinc/; revision=5106
2005-01-13 17:33:29 +00:00
Bruce Allen ba3d3b4fef Another test
svn path=/trunk/boinc/; revision=5105
2005-01-13 10:08:59 +00:00
Bruce Allen 1e413a6605 Another test
svn path=/trunk/boinc/; revision=5103
2005-01-13 09:55:28 +00:00
Bruce Allen e25da19388 Another test to see if CVS mailings from top directory work...
svn path=/trunk/boinc/; revision=5102
2005-01-13 09:44:06 +00:00
Bruce Allen 6556d94527 Working on cvs mailings
svn path=/trunk/boinc/; revision=5100
2005-01-13 09:35:44 +00:00
Bruce Allen 061fbc1f78 Trying to get CVS mailing of top level directory content changes
svn path=/trunk/boinc/; revision=5098
2005-01-13 09:31:01 +00:00
Bruce Allen adc038ad5a Testing CVS loginfo
svn path=/trunk/boinc/; revision=5096
2005-01-13 09:24:49 +00:00
Bruce Allen b3055022e9 Comments for David
svn path=/trunk/boinc/; revision=5094
2005-01-13 06:23:49 +00:00
Rom Walton c2eef83b85 *** empty log message ***
svn path=/trunk/boinc/; revision=5093
2005-01-13 05:18:15 +00:00
Rom Walton e8bab722b1 *** empty log message ***
svn path=/trunk/boinc/; revision=5092
2005-01-13 04:44:21 +00:00
Rom Walton 3a3141d637 *** empty log message ***
svn path=/trunk/boinc/; revision=5091
2005-01-13 01:52:56 +00:00
David Anderson 7987a2d9dc *** empty log message ***
svn path=/trunk/boinc/; revision=5090
2005-01-13 01:00:46 +00:00
Bruce Allen 3d5ea7f3c4 Embedded comment describing start/end transaction bug. I'm too 'BOINCed'
to fix it.  David, your turn.

svn path=/trunk/boinc/; revision=5089
2005-01-12 22:32:42 +00:00