Commit Graph

5315 Commits

Author SHA1 Message Date
David Anderson 20656a03df *** empty log message ***
svn path=/trunk/boinc/; revision=5499
2005-02-23 00:11:59 +00:00
Jeff Cobb d517061a45 *** empty log message ***
svn path=/trunk/boinc/; revision=5498
2005-02-23 00:11:17 +00:00
Rom Walton e37d98052d *** empty log message ***
svn path=/trunk/boinc/; revision=5497
2005-02-22 23:40:38 +00:00
David Anderson 41fb9a9e8c *** empty log message ***
svn path=/trunk/boinc/; revision=5496
2005-02-22 20:12:31 +00:00
David Anderson 1e808b012c *** empty log message ***
svn path=/trunk/boinc/; revision=5494
2005-02-22 19:37:55 +00:00
Bruce Allen 0f6202fc9e When daily result quota exceeded, tell users what its value is for that host.
svn path=/trunk/boinc/; revision=5493
2005-02-22 17:53:17 +00:00
Bruce Allen b3f75a8aee - Bug fixes to scheduler code
- For locality scheduler, if anonymous platform lacks app, don't do deterministic
      search for work!
    - For locality scheduler, remove 'unsent' constraint from initial query so that
      existing index in result table can be used to perform a more efficient search.
    - Send multi-message replies to core clients > 4.19
    - Change 'no work available' message to 'no work sent' since this is often due
      to constraints at the client end, NOT lack of work at project end.

svn path=/trunk/boinc/; revision=5492
2005-02-22 17:37:03 +00:00
Rom Walton 2cdba7ae88 *** empty log message ***
svn path=/trunk/boinc/; revision=5491
2005-02-22 07:10:44 +00:00
Bruce Allen 964d34b0e0 Correctly handle case where anonymous platform does NOT have a suitable
app.  Previously the code would do an exhaustive search of every unsent
result.

svn path=/trunk/boinc/; revision=5490
2005-02-22 04:38:09 +00:00
Rom Walton b06592c020 *** empty log message ***
svn path=/trunk/boinc/; revision=5489
2005-02-22 03:38:33 +00:00
Bruce Allen f27abb4ea9 Break out of deterministic search if no work needed because we have
(for example) violated cpu, disk or mem limits.

svn path=/trunk/boinc/; revision=5488
2005-02-21 22:48:53 +00:00
Bruce Allen bca7853358 Eliminate a constraint from the query in the interest of efficiency. The
alternative is to add another index on (name, server_state) to the
result table.

svn path=/trunk/boinc/; revision=5487
2005-02-21 22:32:38 +00:00
Janus B. Kristensen 9b23331b4a Multilanguage support for some of the accountcreation steps
svn path=/trunk/boinc/; revision=5486
2005-02-21 18:02:56 +00:00
Rom Walton 7edbc6fc7d *** empty log message ***
svn path=/trunk/boinc/; revision=5485
2005-02-21 17:36:19 +00:00
Rom Walton 116ae7da2d *** empty log message ***
svn path=/trunk/boinc/; revision=5484
2005-02-21 08:22:27 +00:00
Rom Walton 4d8fc0dd80 *** empty log message ***
svn path=/trunk/boinc/; revision=5483
2005-02-21 08:02:48 +00:00
Bruce Allen 73a99d6d17 Fixed a bug in locality scheduling. When old work was being sent,
the daily_result_quota constraint was not being enforced.
Normally this constraint is enforced in the work_needed()
function.  However note that the critical send_work() function
NEVER checks work_needed() [DAVID, perhaps it should?] before
calling send_work_locality() or scan_work_array().  Then, when
send_work_locality() was called, it would in turn call
send_old_work() immediately, WITHOUT checking to see if
work_needed() was TRUE.  This allowed the daily_result_quota
constraint to be broken.

    Possible fixes included:
      test work_needed() before calling send_old_work()
      test work_needed() WITHIN send_old_work()
      test work_needed() within possibly_send_result()
      test work_needed() within wu_is_infeasible()

Conclusion: work is ONLY sent by the function
possibly_send_result() which is called in two places in
sched_locality.C: once in send_results_for_file() and once in
send_old_work().  The first of these DOES check the value of
work_needed().  The second does NOT.  So I added a check of
work_needed() within send_old_work().  A also added
added another check of work_needed() at the top of
send_results_for_file() BEFORE any DB access is done.  It might be
better to put this test of work_needed() lower down (within
possibly_send_result()) or higher up (where send_old_work())
is called.  I am not sure. David, I'd appreciate your advice.

svn path=/trunk/boinc/; revision=5482
2005-02-20 14:19:12 +00:00
Janus B. Kristensen ca9f0ea0c8 Updated to use >=GD2 if available (better images)
svn path=/trunk/boinc/; revision=5481
2005-02-20 10:16:56 +00:00
David Anderson 5db48631f9 *** empty log message ***
svn path=/trunk/boinc/; revision=5480
2005-02-19 08:06:53 +00:00
David Anderson 629f379c4b *** empty log message ***
svn path=/trunk/boinc/; revision=5479
2005-02-19 00:14:16 +00:00
David Anderson aaa135c3d3 *** empty log message ***
svn path=/trunk/boinc/; revision=5478
2005-02-19 00:12:59 +00:00
David Anderson 9c2889e1c8 *** empty log message ***
svn path=/trunk/boinc/; revision=5477
2005-02-18 23:50:38 +00:00
David Anderson 09d574d246 *** empty log message ***
svn path=/trunk/boinc/; revision=5476
2005-02-18 23:43:28 +00:00
David Anderson 506baf9595 *** empty log message ***
svn path=/trunk/boinc/; revision=5475
2005-02-18 17:14:13 +00:00
David Anderson 7736082ca6 *** empty log message ***
svn path=/trunk/boinc/; revision=5474
2005-02-18 16:52:46 +00:00
Rom Walton 252b167955 *** empty log message ***
svn path=/trunk/boinc/; revision=5473
2005-02-18 03:26:14 +00:00
Rom Walton ad0f085756 *** empty log message ***
svn path=/trunk/boinc/; revision=5472
2005-02-18 03:08:32 +00:00
Rom Walton 4cb4bb2346 *** empty log message ***
svn path=/trunk/boinc/; revision=5471
2005-02-18 02:45:22 +00:00
Rom Walton e323d5805d *** empty log message ***
svn path=/trunk/boinc/; revision=5470
2005-02-17 23:44:35 +00:00
David Anderson de5ec1ff32 *** empty log message ***
svn path=/trunk/boinc/; revision=5469
2005-02-17 22:46:52 +00:00
Bruce Allen e35fe95365 Oops, style
svn path=/trunk/boinc/; revision=5468
2005-02-17 22:04:10 +00:00
Bruce Allen f4c8853f0b Forgot to document new interpretation for daily result bound (that it's now
PER CPU)

svn path=/trunk/boinc/; revision=5467
2005-02-17 22:01:28 +00:00
Bruce Allen e5cc67c06d make daily_result_quota be PER CPU with a hardwired limit of
4 CPUS.
Improved error messages if users are being denied work because of
      lack of CPU.  The message reports back their on fraction, active
      fraction, and resouce share fraction, as percentages.

svn path=/trunk/boinc/; revision=5466
2005-02-17 21:58:40 +00:00
David Anderson 4f0047a46f *** empty log message ***
svn path=/trunk/boinc/; revision=5465
2005-02-17 21:18:17 +00:00
Rom Walton 07a2e3adc2 *** empty log message ***
svn path=/trunk/boinc/; revision=5464
2005-02-17 21:05:24 +00:00
David Anderson 308a6abe8d *** empty log message ***
svn path=/trunk/boinc/; revision=5460
2005-02-17 20:35:41 +00:00
Rom Walton 30d14ba8ad *** empty log message ***
svn path=/trunk/boinc/; revision=5459
2005-02-17 19:53:41 +00:00
Janus B. Kristensen 0cef4de8d7 - Build interface from project default language instead of explicitly writing it in a file.
- Added a new layer of translation - the project specifc one, where projects can add their own translations.
- Moderation security checks

svn path=/trunk/boinc/; revision=5458
2005-02-17 12:36:05 +00:00
Janus B. Kristensen 95fda61c2e - Build interface from project default language instead of explicitly writing it in a file.
- Added a new layer of translation - the project specifc one, where projects can add their own translations.

svn path=/trunk/boinc/; revision=5457
2005-02-17 12:26:04 +00:00
Janus B. Kristensen 4e10456dc5 Not needed anymore
svn path=/trunk/boinc/; revision=5456
2005-02-17 12:24:33 +00:00
Janus B. Kristensen ef05d3672f Dummy file
svn path=/trunk/boinc/; revision=5455
2005-02-17 12:23:24 +00:00
Janus B. Kristensen b221a57b2d Checking input parameters
svn path=/trunk/boinc/; revision=5454
2005-02-17 11:43:49 +00:00
Bruce Allen bc7a5cf597 Reduced redundant verbosity in debug mode
svn path=/trunk/boinc/; revision=5453
2005-02-17 03:17:49 +00:00
David Anderson 1e2c3e1266 *** empty log message ***
svn path=/trunk/boinc/; revision=5452
2005-02-16 23:30:29 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 45942fbe5f *** empty log message ***
svn path=/trunk/boinc/; revision=5442
2005-02-16 19:47:00 +00:00
Matt Lebofsky 04d55abd73 *** empty log message ***
svn path=/trunk/boinc/; revision=5441
2005-02-16 19:40:23 +00:00
David Anderson d56dd39413 *** empty log message ***
svn path=/trunk/boinc/; revision=5440
2005-02-16 19:08:07 +00:00
Bruce Allen 15c5fd2f11 Add curly brackets a la David
svn path=/trunk/boinc/; revision=5439
2005-02-16 01:26:43 +00:00
David Anderson e0291445e6 *** empty log message ***
svn path=/trunk/boinc/; revision=5438
2005-02-16 01:21:41 +00:00