Commit Graph

53 Commits

Author SHA1 Message Date
David Anderson ec2c92665a - client: change the calculation of exponential backoff used for
1) individual file transfers
    2) project-level file transfer backoff
    3) scheduler operations
    Old: scale by e.
        Use random backoff in the range min..x
    New: scale by 2.
        Use random backoff in the rand x/2..x
- client: for file transfers, use backoff range of 10 min .. 12 hrs
    rather than 1 min .. 4 hrs


svn path=/trunk/boinc/; revision=21887
2010-07-09 19:24:13 +00:00
David Anderson 7daae1d0c7 - client: when emerge from bandwidth quota network suspension,
add 0..1hr random delay to existing transfers,
    to avoid DDOS effect

svn path=/trunk/boinc/; revision=21415
2010-05-07 20:08:59 +00:00
David Anderson b0cb81159f - client: when looking for new file xfers to start,
favor those that are partially done
- client: fix crashing bug if a project is detached
    while an RSS feed fetch for it is in progress
- code cleanup: switch from /// back to // for comments
    (so much for doxygen)

svn path=/trunk/boinc/; revision=21041
2010-04-01 05:54:29 +00:00
David Anderson 7bca6c021b - client: in the final stage of CPU scheduling,
give preference to multi-threaded jobs.
    Avoid running N-1 1-thread jobs and 1 N-thread job on N CPUs
- client: change file transfer giveup time from 14 to 90 days

svn path=/trunk/boinc/; revision=18845
2009-08-14 19:00:29 +00:00
David Anderson f17c0879de - changed some comments for Doxygen
svn path=/trunk/boinc/; revision=16130
2008-10-04 23:44:24 +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 eeeb3b7951 - client: on startup, detect when the system clock has been set backwards,
and clear all timeout variables.
    This should fix the situation where, say:
    1) the user sets the system clock forward by a year;
    2) all projects get their min_rpc_time set;
    3) the user sets the system clock back to the correct time.
    Previously, BOINC would not do anything for a year.

    Note: a restart of BOINC is required to fix things.
    It would be harder to do this on the fly.

svn path=/trunk/boinc/; revision=15314
2008-05-28 19:15:44 +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 d8c6e5a17f - client: clean up (old undergrad-written) code related to pers file xfer.
The main goal is to fix a bug where,
        if a file is deleted from a project's download server,
        a client will keep trying to download it for 2 weeks.
        A download "file not found" is a permanent error, not transient.
        (fixes #383)
        In general, revised and renamed things to clarify the
        distinction between permanent and transient errors.
        Old functions:
            handle_xfer_failure(), try_next_url(), xfer_failed(), retry_or_backoff()
        New functions:
            permanent_failure(), transient_failure()
    - manager: compile fix for win (don't include sys/wait.h)

svn path=/trunk/boinc/; revision=13641
2007-09-24 18:32:55 +00:00
David Anderson 1fa2e3de0a *** empty log message ***
svn path=/trunk/boinc/; revision=10393
2006-06-19 04:29:26 +00:00
Walt Gribben d8314118f4 *** empty log message ***
svn path=/trunk/boinc/; revision=9503
2006-02-18 01:57:24 +00:00
David Anderson 52fddc3b96 PROJECT copy function
svn path=/trunk/boinc/; revision=9261
2006-01-18 21:07:04 +00:00
David Anderson d9ece901de file transfer backoff policy change
svn path=/trunk/boinc/; revision=8371
2005-09-30 21:29:31 +00:00
David Anderson 9c07f39813 *** empty log message ***
svn path=/trunk/boinc/; revision=6292
2005-06-07 19:22:50 +00:00
David Anderson b48e79ccbd *** empty log message ***
svn path=/trunk/boinc/; revision=5546
2005-03-01 19:56:30 +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 134043fec2 *** empty log message ***
svn path=/trunk/boinc/; revision=4692
2004-12-01 20:56:20 +00:00
David Anderson c02e5dfa4a *** empty log message ***
svn path=/trunk/boinc/; revision=4423
2004-10-25 20:16:30 +00:00
David Anderson 37adf79297 *** empty log message ***
svn path=/trunk/boinc/; revision=4328
2004-10-14 22:01:05 +00:00
David Anderson ed3659b9e2 *** empty log message ***
svn path=/trunk/boinc/; revision=4247
2004-09-26 04:16:52 +00:00
David Anderson e468bec5b7 *** empty log message ***
svn path=/trunk/boinc/; revision=4149
2004-09-04 05:21:33 +00:00
Brian Boshes ef4bb882d2 *** empty log message ***
svn path=/trunk/boinc/; revision=3787
2004-07-06 17:37:58 +00:00
Eric J. Korpela 7cd5c7911a *** empty log message ***
svn path=/trunk/boinc/; revision=3725
2004-06-30 18:17:21 +00:00
David Anderson 4df39e85e4 *** empty log message ***
svn path=/trunk/boinc/; revision=3543
2004-06-12 04:45:36 +00:00
David Anderson baabcc5f41 *** empty log message ***
svn path=/trunk/boinc/; revision=3509
2004-06-07 18:48:49 +00:00
David Anderson 59e790eb1b *** empty log message ***
svn path=/trunk/boinc/; revision=3223
2004-04-05 06:55:09 +00:00
Rom Walton 200a3e2674 *** empty log message ***
svn path=/trunk/boinc/; revision=3031
2004-03-05 04:37:53 +00:00
Rom Walton 475c5ed811 *** empty log message ***
svn path=/trunk/boinc/; revision=3029
2004-03-04 11:41:43 +00:00
David Anderson 973bc92fd6 *** empty log message ***
svn path=/trunk/boinc/; revision=2576
2003-10-27 17:10:48 +00:00
David Anderson 0a60793d52 allow sched RPC while suspended
svn path=/trunk/boinc/; revision=1864
2003-07-29 23:26:32 +00:00
Karl Chen cb30dcdb9d *** empty log message ***
svn path=/trunk/boinc/; revision=1780
2003-07-23 22:24:28 +00:00
David Anderson 537b48cc13 license change
svn path=/trunk/boinc/; revision=1405
2003-06-11 23:36:48 +00:00
Eric Heien d0fd21f8f6 exponential backoff variables can now be specified via cmd line
svn path=/trunk/boinc/; revision=1358
2003-06-11 22:15:25 +00:00
David Anderson 9844f440f4 user-specified files in app versions
svn path=/trunk/boinc/; revision=1219
2003-05-20 00:03:39 +00:00
David Anderson 9d1397e0e8 file upload restart
svn path=/trunk/boinc/; revision=1209
2003-05-16 19:22:57 +00:00
David Anderson 20984fa488 file upload permanent errors
svn path=/trunk/boinc/; revision=1159
2003-05-06 21:43:26 +00:00
David Anderson 2d3ae2c71f docs
svn path=/trunk/boinc/; revision=1062
2003-03-16 21:59:11 +00:00
David Anderson 727214d3fa messages
svn path=/trunk/boinc/; revision=1060
2003-03-13 21:49:52 +00:00
Eric Heien b2a0184dcf strcpy changed to safe_strncpy, added retval checks
svn path=/trunk/boinc/; revision=1033
2003-03-08 23:48:05 +00:00
Eric Heien d92791ca94 tab formatting
svn path=/trunk/boinc/; revision=873
2003-02-06 19:01:49 +00:00
Eric Heien 10e0e29487 network error catching
svn path=/trunk/boinc/; revision=862
2003-02-04 21:47:12 +00:00
Eric Heien 78e7500deb keep track of total time and suspension
svn path=/trunk/boinc/; revision=856
2003-02-03 22:47:08 +00:00
Eric Heien fa7470b3f1 removed DEBUG flag which was causing compile warnings
svn path=/trunk/boinc/; revision=786
2002-12-20 22:21:29 +00:00
Hamid Aghdaee 6ffee81198 *** empty log message ***
svn path=/trunk/boinc/; revision=781
2002-12-20 02:12:27 +00:00
Hamid Aghdaee 54bb40beef *** empty log message ***
svn path=/trunk/boinc/; revision=713
2002-12-09 22:36:46 +00:00
Hamid Aghdaee 3b4fe0eff3 *** empty log message ***
svn path=/trunk/boinc/; revision=668
2002-11-27 21:31:17 +00:00
Hamid Aghdaee d2772eec1e *** empty log message ***
svn path=/trunk/boinc/; revision=653
2002-11-22 23:25:19 +00:00
Eric Heien abb51a2feb formatting fixes
svn path=/trunk/boinc/; revision=640
2002-11-19 22:57:05 +00:00
Eric Heien 96c0ded3a8 Persistent file xfer, minor Mac fixes
svn path=/trunk/boinc/; revision=356
2002-08-21 19:12:42 +00:00