Commit Graph

30 Commits

Author SHA1 Message Date
David Anderson 1013cf02c5 - validator: add a global variable WORKUNIT* g_wup;
that points to the workunit being processed;
    you can use this in your init_result(), compare_result() etc.
    if you need it.

svn path=/trunk/boinc/; revision=15919
2008-08-21 20:58:32 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson 577e4ac47d - make_project: initialize send_result_abort=1 in config file
- web: "least recent" => "oldest", "most recent" => "newest"
- scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0.
    Otherwise, a host that has max_wus_in_progress,
    completes one, and sends a work request before the upload is finished
    will delay (and maybe sit idle) for 20 min.
    Better to have a few extra scheduler requests
    and let the client's backoff take care of things.

svn path=/trunk/boinc/; revision=14822
2008-02-28 21:22:50 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson 797c464b3a - Back end: add a feature for "blackballing" hosts.
To do this, set host.max_results_day to -1.
    If you do this, scheduler requests from that host
    will get an error message, and will otherwise be ignored
    (no jobs in or out, no trickles).
- Scheduler: send_message() should be called ONLY if you're
    not going to call handle_request();
    otherwise we'll write two separate replies.
    To fix this, I added a separate function (send_error_message())
    that can be called within handle_request()
    to deal with error situations.
- Scheduler: moved debug_sched() to main.C
- Scheduler: moved logic to send "delete file" commands
    out of handle_request() into a separate function,
    send_file_deletes() in sched_locality.C.
    Remove #ifdef EINSTEIN_AT_HOMEs; maybe someday another project
    will use locality scheduling!

svn path=/trunk/boinc/; revision=13108
2007-07-06 16:37:00 +00:00
David Anderson 0bbe224c21 - scheduler: the "max_wus_in_progress" option only worked if
"resend_lost_results" option was used also
    (because the count of in-progress results was
    based from the DB query used by resend_lost_results).

    Fix: initialize the count of in-progress results to
    the list provided in the scheduler request.
- scheduler: add "--mark_jobs_done" flag; if set, all jobs
    sent are marked as done, and their WUs enabled for transition.
    This is used for simulation purposes,
    in conjunction with sched_driver.
- scheduler: if --batch option is set, don't check RPC seqnos
    (for simulation purposes)

svn path=/trunk/boinc/; revision=13101
2007-07-05 04:18:48 +00:00
David Anderson 01f4851323 - scheduler: add max_wus_in_progress option.
Limits total # of in-progress results per host
    (independently of #CPUs)

sched/
    sched_config.C,h
    sched_resend.C
    sched_send.C
    server_types.h


svn path=/trunk/boinc/; revision=12661
2007-05-14 15:21:38 +00:00
David Anderson 7ecdc2f44e - Scheduler: in reply, add <platform> element to each <app_version,
and add <platform> and <version_num> elements to <result>
        (server half of multi-version changes)
    - scheduler: make ssp a global; could eliminate from args everywhere

    db/
        boinc_db.h
    sched/
        feeder.C
        main.C,h
        sched_send.C
        sched_shmem.C,h
        server_types.C

svn path=/trunk/boinc/; revision=12535
2007-05-02 23:14:00 +00:00
David Anderson 60e224aa18 *** empty log message ***
svn path=/trunk/boinc/; revision=11472
2006-11-05 00:15:10 +00:00
David Anderson 0f9b83a55b project files
svn path=/trunk/boinc/; revision=10517
2006-06-26 22:58:24 +00:00
David Anderson 18bf9ebf22 *** empty log message ***
svn path=/trunk/boinc/; revision=7177
2005-08-04 03:58:00 +00:00
David Anderson 359c5de98f *** empty log message ***
svn path=/trunk/boinc/; revision=6282
2005-06-02 21:38:20 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 161fb2868f *** empty log message ***
svn path=/trunk/boinc/; revision=4189
2004-09-13 18:05:54 +00:00
David Anderson 29d50db100 checkin changes
svn path=/trunk/boinc/; revision=3948
2004-07-24 00:09:28 +00:00
David Anderson a5565d4b82 *** empty log message ***
svn path=/trunk/boinc/; revision=3616
2004-06-16 23:06:47 +00:00
David Anderson a211c97bd0 *** empty log message ***
svn path=/trunk/boinc/; revision=3311
2004-05-02 15:55:17 +00:00
David Anderson 00191f0456 *** empty log message ***
svn path=/trunk/boinc/; revision=3308
2004-04-30 18:26:20 +00:00
David Anderson d240b170b1 *** empty log message ***
svn path=/trunk/boinc/; revision=3215
2004-04-04 01:59:47 +00:00
David Anderson f1eceb8605 *** empty log message ***
svn path=/trunk/boinc/; revision=2220
2003-09-02 21:16:55 +00:00
Karl Chen ddcc744a2b *** empty log message ***
svn path=/trunk/boinc/; revision=2113
2003-08-15 19:23:44 +00:00
David Anderson 636bb2ce04 license change
svn path=/trunk/boinc/; revision=1629
2003-07-01 20:37:09 +00:00
Eric Heien 65dbd70e64 *** empty log message ***
svn path=/trunk/boinc/; revision=1397
2003-06-11 23:36:40 +00:00
David Anderson 2ae654544b DB interface
svn path=/trunk/boinc/; revision=1293
2003-06-04 17:21:26 +00:00
David Anderson dc21c52bdf rename db.h
svn path=/trunk/boinc/; revision=1137
2003-04-07 19:06:00 +00:00
David Anderson 5100dcd7e9 server logging
svn path=/trunk/boinc/; revision=796
2003-01-07 01:02:08 +00:00
David Anderson 431ba7d081 add validation to standard test
svn path=/trunk/boinc/; revision=680
2002-12-03 18:57:40 +00:00
David Anderson b277cee6cf sched compile
svn path=/trunk/boinc/; revision=463
2002-10-04 20:35:56 +00:00
David Anderson 9796a5e881 *** empty log message ***
svn path=/trunk/boinc/; revision=399
2002-08-30 22:11:36 +00:00