Commit Graph

46 Commits

Author SHA1 Message Date
David Anderson 70ae27f032 - client: if a project has DCF > 90 and has projected deadline misses,
give its jobs priority.
    (from John McLeod)

svn path=/trunk/boinc/; revision=14201
2007-11-14 17:15:46 +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 391ea79384 - back out my last change
svn path=/trunk/boinc/; revision=13185
2007-07-18 23:26:49 +00:00
David Anderson 32d1665178 - client: print time zone message at startup
- Manager: removed ForceRefresh() calls in grid views;
		reduces CPU usage, still seems to work (from Frank Weiler)

svn path=/trunk/boinc/; revision=13155
2007-07-14 20:04:47 +00:00
David Anderson dc46bdb019 - client simulator: rename "variety" to "monotony",
and redefine it so the range is
    zero (no monotony) to one (maximal monotony)

svn path=/trunk/boinc/; revision=13148
2007-07-12 19:52:58 +00:00
David Anderson a574d16ccd - client simulator: add --line_limit option;
splits up HTML output into multiple fixed-size files

svn path=/trunk/boinc/; revision=13147
2007-07-12 18:38:53 +00:00
David Anderson 4760e6d960 - client simulator: added '--work_fetch_old' option.
If set, the simulator uses an approximation of the old
    work fetch policy, where the client tries to maintain
    an amount of work for each project equal to
    the buffer size times its relative resource share

svn path=/trunk/boinc/; revision=13144
2007-07-11 20:13:53 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 17a83ada30 - feeder: fixed SQL query again
sched/
    feeder.C

svn path=/trunk/boinc/; revision=12707
2007-05-22 02:58:01 +00:00
David Anderson 826e65f8d0 - client simulator: fix cpu_sched_rr_only bug
- boinc_cmd: canonicalize URLs
- user web: fix link to Top Teams
- back end: remove code related to alternate download dir

client/
    cpu_sched.C
    sim.C
html/
    inc/
        stats_sites.inc
    user/
        stats.php
lib/
    boinc_cmd.C
sched/
    file_deleter.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12694
2007-05-18 22:02:51 +00:00
David Anderson f7e650191a - client: change Win program launch to suppress hourglass cursor
- client simulator: add --cpu_sched_rr_only and --dual_dcf options

client/
    app.h
    app_start.C
    client_types.C,h
    cpu_sched.C
    cs_scheduler.C
    sim.C,h
    work_fetch.C

svn path=/trunk/boinc/; revision=12671
2007-05-15 20:29:26 +00:00
David Anderson bd8b0aed41 - core client: on attach to project,
if the initial sched request failed,
		the manager would show "communicating" for 60 sec,
		then time out and show "failed to attach".
		But the project would actually be attached.
		This was due to a logic error,
		but I fixed it in a more fundamental way:
		by considering an attach to be complete immediately,
		without waiting for a successful scheduler RPC.

		This was originally done to ensure that the URL and account key were valid.
		But when using the BOINC Manager, we've already verified
		both of these before doing the attach project RPC.

		When using boinc_cmd, you now have to check for messages
		indicating a bad URL or account key.
		I changed things to print these messages on every sched RPC.

		Implementation: the notion of "tentative project" no longer exists.

	client/
		client_state.C,h
		client_types.C,h
		cs_account.C
		cs_benchmarks.C
		cs_scheduler.C
		gui_rpc_server_ops.C
		scheduler_op.C
		sim.C
		sim_util.C

svn path=/trunk/boinc/; revision=12663
2007-05-14 19:18:45 +00:00
David Anderson e6f92b3188 - Client simulator: added --dcf_dont_use and --dcf_stats options
(alternate ways of computing DCF)

    client/
        cpu_sched.C
        sim.C,h
        sim_util.C

svn path=/trunk/boinc/; revision=12628
2007-05-09 15:23:10 +00:00
David Anderson c08eddf7fe - GUI RPC: add new element d_boinc to DISK_USAGE;
tells how much disk space BOINC is using
        (not including projects).
    - added project.max_infeasible_count to client simulator

    client/
        gui_rpc_server_ops.C
        sim.C,h
        sim_util.C
    clientgui/
        ViewResources.cpp
    lib/
        filesys.C
        bui_rpc_client.h
        bui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12615
2007-05-08 23:12:40 +00:00
David Anderson f6a06c60ac - client simulator:
- Add --server_uses_workload option
            (simulate server that does EDF simulation)
        - Add simulation of exponential backoff when don't get work.
            Otherwise it will keep asking forever.
        - move non-interesting stuff to sim_util.C
    - change simulator code to use ' instead of " in compiled translations
    
    client/
        makefile_sim
        sim_util.C
        sim.C,h
        work_fetch.C
    html/inc/
        translation.inc
    sched/
        edf_sim.C
        edf_sim.h (new)

svn path=/trunk/boinc/; revision=12604
2007-05-08 01:55:28 +00:00
David Anderson d1adc3ab49 sim-related stuff
svn path=/trunk/boinc/; revision=12563
2007-05-04 23:05:17 +00:00
David Anderson 7619242655 - Core client: small changes to make the client simulator act reasonably.
- change > to >= for check for running beyond sched period
        - adjust debts before calculating anticipated debt
    
    client/
        client_types.h
        cpu_sched.C
        sim.C

svn path=/trunk/boinc/; revision=12546
2007-05-03 21:22:24 +00:00
David Anderson 4a1741e220 - Core client: handle multiple platforms correctly.
Remove the tacet assumption that a host can handle
        applications for a single platform.
        With the Apr 30 scheduler changes,
        a project may (at different times)
        send app versions for the same app and version number,
        but different platforms.
        Before we would have ignored all but the first;
        now we handle them correctly.

        Implementation notes:
        - Add APP_VERSION.platform, RESULT.platform,
            and RESULT.version_num.
            If these are missing from an XML doc
            (e.g. an existing state file or a scheduler reply
            from a project not running current server)
            then set to the primary platform.
        - Continue to write workunit.version_num
            and active_task.version_num to state file,
            even though these are no longer part of the struct.
            This allows users to revert to an older version.

    client/
        app.C
        check_state.C
        client_state.C,h
        client_types.C,h
        cs_apps.C
        cs_scheduler.C
        cs_statefile.C
        sim.C

svn path=/trunk/boinc/; revision=12542
2007-05-03 17:14:30 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
David Anderson fb47db934a *** empty log message ***
svn path=/trunk/boinc/; revision=12341
2007-04-10 21:56:11 +00:00
David Anderson 44c53cb5f5 *** empty log message ***
svn path=/trunk/boinc/; revision=12339
2007-04-10 20:13:15 +00:00
David Anderson 11869bc0be *** empty log message ***
svn path=/trunk/boinc/; revision=12333
2007-04-09 02:17:26 +00:00
David Anderson 133b7a8b20 *** empty log message ***
svn path=/trunk/boinc/; revision=12330
2007-04-06 22:19:17 +00:00
David Anderson da318cafbf *** empty log message ***
svn path=/trunk/boinc/; revision=12328
2007-04-06 19:47:37 +00:00
David Anderson f85822140a *** empty log message ***
svn path=/trunk/boinc/; revision=12326
2007-04-06 16:20:19 +00:00
David Anderson 1411e4c003 *** empty log message ***
svn path=/trunk/boinc/; revision=12324
2007-04-05 23:15:20 +00:00
David Anderson 5677316798 *** empty log message ***
svn path=/trunk/boinc/; revision=12313
2007-04-04 21:12:00 +00:00
David Anderson 82816b451e *** empty log message ***
svn path=/trunk/boinc/; revision=12311
2007-04-04 19:34:01 +00:00
David Anderson 0d54805329 *** empty log message ***
svn path=/trunk/boinc/; revision=12307
2007-04-04 16:15:18 +00:00
David Anderson 904fbfb211 *** empty log message ***
svn path=/trunk/boinc/; revision=12306
2007-04-04 15:40:07 +00:00
David Anderson 275427c9a2 *** empty log message ***
svn path=/trunk/boinc/; revision=12304
2007-04-03 20:30:44 +00:00
David Anderson 1be9af1b1a *** empty log message ***
svn path=/trunk/boinc/; revision=12303
2007-04-03 19:35:33 +00:00
David Anderson e4ddb2a0a1 *** empty log message ***
svn path=/trunk/boinc/; revision=12302
2007-04-03 19:06:26 +00:00
David Anderson ebf7dd730d *** empty log message ***
svn path=/trunk/boinc/; revision=12301
2007-04-03 17:16:39 +00:00
David Anderson 2dd4d7cb10 *** empty log message ***
svn path=/trunk/boinc/; revision=12292
2007-04-02 18:04:54 +00:00
David Anderson 6ebb7207aa *** empty log message ***
svn path=/trunk/boinc/; revision=12280
2007-03-29 16:40:43 +00:00
David Anderson b8a107c995 *** empty log message ***
svn path=/trunk/boinc/; revision=12265
2007-03-23 18:48:06 +00:00
David Anderson 2b67a5e84e *** empty log message ***
svn path=/trunk/boinc/; revision=12185
2007-03-04 02:30:48 +00:00
David Anderson 1e26582c8c *** empty log message ***
svn path=/trunk/boinc/; revision=12151
2007-02-24 20:10:06 +00:00
David Anderson 4e7032159e *** empty log message ***
svn path=/trunk/boinc/; revision=12148
2007-02-24 04:29:58 +00:00
David Anderson b23d197f31 *** empty log message ***
svn path=/trunk/boinc/; revision=12147
2007-02-24 00:11:30 +00:00
David Anderson 4d76b40d04 *** empty log message ***
svn path=/trunk/boinc/; revision=12144
2007-02-23 17:29:19 +00:00
David Anderson 6ff0977570 *** empty log message ***
svn path=/trunk/boinc/; revision=12139
2007-02-22 16:33:37 +00:00
David Anderson e3dd5f75f9 *** empty log message ***
svn path=/trunk/boinc/; revision=12136
2007-02-21 22:27:35 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson e980ba94af *** empty log message ***
svn path=/trunk/boinc/; revision=12096
2007-02-15 21:11:05 +00:00