Commit Graph

5263 Commits

Author SHA1 Message Date
David Anderson d38bdf43ec *** empty log message ***
svn path=/trunk/boinc/; revision=5435
2005-02-15 22:29:32 +00:00
Bruce Allen e7e9d6d9a6 - Scheduler changes (global):
- Ignore CPU limitations and resource share entirely, IF
      a host:
        (1) has no work for this project
        (2) has no results in this sched reply
      This ensures that any host that wants to do work will at least
      get *something*. It liberalizes slightly David A's approach
      from 14 Feb 2005. Eliminate use_time_stats from wreq structure.
    - Scheduler changes (locality scheduling only):
    - Improve return value info for some functions.
    - Modify send_old_work() to accept a t_min < t < t_max time range
    - New sched locality algorithm to send work to hosts with no files.
      Send oldest result in the time range A < t < B where
      B = locality_scheduling_timeout/2
      A = B - rand*locality_scheduling_timeout/2
      Here rand is a uniformly distributed random number in [0,1].
    - When an unsent result is older than locality_scheduling_timeout, no
      longer send it to the FIRST host that requests work.  Instead send
      it to the first host which has a connection speed > 100kb/s.
    - Fix file deletion.  Previously we were deleting files from hosts
      when they got no work for that file.  But this might have been
      because the work was infeasible (cpu time).  Now delete files
      from host ONLY if there is no work remaining for that file.

svn path=/trunk/boinc/; revision=5434
2005-02-15 21:18:20 +00:00
David Anderson aa38e8837c *** empty log message ***
svn path=/trunk/boinc/; revision=5433
2005-02-15 20:50:28 +00:00
David Anderson 92add241b4 *** empty log message ***
svn path=/trunk/boinc/; revision=5432
2005-02-15 19:57:03 +00:00
David Anderson 443dd2147d *** empty log message ***
svn path=/trunk/boinc/; revision=5431
2005-02-15 18:17:14 +00:00
Rom Walton 2af7943e71 *** empty log message ***
svn path=/trunk/boinc/; revision=5430
2005-02-15 07:53:25 +00:00
Rom Walton a9923d7712 *** empty log message ***
svn path=/trunk/boinc/; revision=5429
2005-02-15 07:30:44 +00:00
David Anderson 142370216b *** empty log message ***
svn path=/trunk/boinc/; revision=5428
2005-02-15 06:46:42 +00:00
David Anderson 0b495765c4 *** empty log message ***
svn path=/trunk/boinc/; revision=5427
2005-02-15 06:32:43 +00:00
David Anderson c825780c5a *** empty log message ***
svn path=/trunk/boinc/; revision=5426
2005-02-14 20:11:01 +00:00
David Anderson cdfb27ce32 *** empty log message ***
svn path=/trunk/boinc/; revision=5425
2005-02-14 18:33:08 +00:00
David Anderson 08086a3376 *** empty log message ***
svn path=/trunk/boinc/; revision=5424
2005-02-14 05:40:21 +00:00
David Anderson 0ddf2ed101 *** empty log message ***
svn path=/trunk/boinc/; revision=5423
2005-02-14 04:39:07 +00:00
David Anderson a7320942ad *** empty log message ***
svn path=/trunk/boinc/; revision=5422
2005-02-13 21:33:02 +00:00
David Anderson e5296e5518 *** empty log message ***
svn path=/trunk/boinc/; revision=5421
2005-02-13 20:57:43 +00:00
David Anderson c0c82e71e4 *** empty log message ***
svn path=/trunk/boinc/; revision=5420
2005-02-13 19:20:02 +00:00
David Anderson 01326be47f *** empty log message ***
svn path=/trunk/boinc/; revision=5419
2005-02-13 19:04:20 +00:00
Bruce Allen 8884984105 Fix typo in print format, improve wording of error message, properly indent
comment

svn path=/trunk/boinc/; revision=5418
2005-02-13 15:54:24 +00:00
David Anderson a6d5713db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5417
2005-02-13 06:13:33 +00:00
David Anderson 66fccb3a8a *** empty log message ***
svn path=/trunk/boinc/; revision=5416
2005-02-13 02:23:20 +00:00
David Anderson 20f7b5bbf6 *** empty log message ***
svn path=/trunk/boinc/; revision=5415
2005-02-12 21:57:50 +00:00
Janus B. Kristensen 894d38b05e Delete thread feature added and "double post" to the list of possible reasons for deleting a post.
svn path=/trunk/boinc/; revision=5414
2005-02-12 09:54:35 +00:00
Janus B. Kristensen a5986e276d Added "double post" to the list of possible reasons
svn path=/trunk/boinc/; revision=5413
2005-02-12 09:50:42 +00:00
Janus B. Kristensen 53cc977ad2 Delete thread forum moderation feature
svn path=/trunk/boinc/; revision=5412
2005-02-12 09:50:13 +00:00
Rom Walton 1433fcdcc5 *** empty log message ***
svn path=/trunk/boinc/; revision=5411
2005-02-12 08:14:00 +00:00
Rom Walton 9a42b82940 *** empty log message ***
svn path=/trunk/boinc/; revision=5410
2005-02-12 01:36:14 +00:00
David Anderson e0b82d7ed5 *** empty log message ***
svn path=/trunk/boinc/; revision=5409
2005-02-12 01:26:46 +00:00
David Anderson 6c6b2b7ba2 *** empty log message ***
svn path=/trunk/boinc/; revision=5408
2005-02-11 23:47:49 +00:00
David Anderson 4ad1b176f8 *** empty log message ***
svn path=/trunk/boinc/; revision=5407
2005-02-11 23:39:38 +00:00
David Anderson 292fc5ce7c *** empty log message ***
svn path=/trunk/boinc/; revision=5406
2005-02-11 23:34:09 +00:00
Rom Walton 2298daa8b6 *** empty log message ***
svn path=/trunk/boinc/; revision=5405
2005-02-11 22:48:17 +00:00
Janus B. Kristensen 02271491ae Translation features enabled on create account form
svn path=/trunk/boinc/; revision=5404
2005-02-11 22:14:34 +00:00
Janus B. Kristensen 8ecc7868ea Translation features enabled on create account form
svn path=/trunk/boinc/; revision=5403
2005-02-11 22:08:56 +00:00
Eric J. Korpela 7cf972f9f0 *** empty log message ***
svn path=/trunk/boinc/; revision=5402
2005-02-11 19:43:52 +00:00
David Anderson 11b99c7b32 *** empty log message ***
svn path=/trunk/boinc/; revision=5401
2005-02-11 18:26:59 +00:00
Bruce Allen abb06c404e Janus, hope this is OK, got rid of double 'getting started' (thanks David H)
svn path=/trunk/boinc/; revision=5400
2005-02-11 16:44:50 +00:00
Bruce Allen 7a68df5b2a Got rid of annoying 'no <host_venue>' tag messages from scheduler
svn path=/trunk/boinc/; revision=5399
2005-02-11 05:45:49 +00:00
Bruce Allen 87d0753b1a Add CVS-id RCS tags to files.
svn path=/trunk/boinc/; revision=5398
2005-02-11 04:46:01 +00:00
Bruce Allen b193f36131 Sched locality change: if the host does not have enough memory to satisfy
a work request, do not search for or send further work.  This is the same
      way that disk space limits are handled.  This is necessary since otherwise
      a host with small memory will endlessly trigger the WU generator, churning
      out infeasible WUs.
Added boolean arg to host_has_file() following David A's advice. This
      eliminates the 'expensive' copy of a large data structure. The bool arg
      makes host_has_file() skip the final WU in the vector in hunting for a file.
Better log message for setting coredump size.
Added RCSID tag to sched_timezone.C

svn path=/trunk/boinc/; revision=5397
2005-02-11 04:00:51 +00:00
Rom Walton 0c633c49aa *** empty log message ***
svn path=/trunk/boinc/; revision=5396
2005-02-11 02:35:07 +00:00
Eric J. Korpela 7450ffd910 There was a problem using dynamic allocations (with new) in many of the
graphics classes.  In many places the code was written assuming default values
of 0, especially for pointers and booleans.  While that's true in the case of
a static instance with the default constructors, it not generally true with
dynamic allocation unless the default constructor is replaced.  Therefore I've
added constructors in the following classes/structs:  MOVING_TEXT_PANEL, COLOR,
PROGRESS, PROGRESS_2D, TEXTURE_DESC, REDUCED_ARRAY.

This will be a problem is any are used from C code unless the constructors
declarations are enclosed in "#ifdef __cplusplus" blocks.

There was also a problem that showed up under Windows when dynamic allocations
were used.  app_graphics_resize() gets called before app_graphics_init().  This
usually results in a crash since classes haven't yet been constructed.  To work
around this I've added a case for WM_CREATE in the WndProc() which calls
app_graphics_init.  Under windows this will get passed before WM_SIZE does.

svn path=/trunk/boinc/; revision=5395
2005-02-11 02:15:20 +00:00
Rom Walton d80fe863cc *** empty log message ***
svn path=/trunk/boinc/; revision=5394
2005-02-11 00:08:01 +00:00
Janus B. Kristensen ffe71595e1 It is attach_project, not add_project.
svn path=/trunk/boinc/; revision=5393
2005-02-10 22:27:44 +00:00
David Anderson 0cda636912 *** empty log message ***
svn path=/trunk/boinc/; revision=5392
2005-02-10 22:26:31 +00:00
David Anderson b401819be1 *** empty log message ***
svn path=/trunk/boinc/; revision=5391
2005-02-10 20:53:50 +00:00
David Anderson 0aa720e8e1 *** empty log message ***
svn path=/trunk/boinc/; revision=5390
2005-02-10 20:31:11 +00:00
Eric J. Korpela 17c77f320e *** empty log message ***
svn path=/trunk/boinc/; revision=5388
2005-02-10 20:03:40 +00:00
Eric J. Korpela c05d6d23a0 Because FCGI doesn't support fscanf() and fgetc(), the FILE pointers need to be
wrapped in a call to FCGI_ToFILE().  In the case where FCGI isn't being used
FCGI_ToFILE(x) is defined to (x).

svn path=/trunk/boinc/; revision=5387
2005-02-10 19:39:37 +00:00
Eric J. Korpela 738ddf7b57 Added check for _USING_FCGI_ in std_fixes.h in order to prevent redefinition
of stdlib functions with LARGEFILE_BREAKS_CXX is defined.

svn path=/trunk/boinc/; revision=5386
2005-02-10 19:20:35 +00:00
Bruce Allen 5e98d1457d Added code to the scheduler so that it will dump core on SEGV. This
is disabled by default.  Having this
is really useful if the scheduler is crashing some of the time.  You
can load the core dump file into a debugger to see where things are
breaking.  To use this, edit sched/main.C by hand and set
#define DUMP_CORE_ON_SEGV 1

svn path=/trunk/boinc/; revision=5385
2005-02-10 16:50:37 +00:00