Commit Graph

65 Commits

Author SHA1 Message Date
David Anderson 1e7e58875a - client: add cmdline options --exit_before_start and --exit_after_finish.
This cause the core client to exit immediately before or after
    running a job,
    letting you examine the contents of the slot directory.
- scheduler: changed max # of CPUs used in daily_result_quota
    limit from 4 to 8, and make it a compile-time parameter
- feeder/scheduler: make the number of work items in shared
    memory configurable (in config.xml).
    The element is <shmem_work_items>
- feeder: make the size of the work item query configurable
    (<feeder_query_size)
- feeder: remove code related to removing infeasible results
    from shared mem.
    This mechanism was never needed,
    and I think a timeout would accomplish the same effect.

client/
    app.C
    app_start.C
    client_state.C,h
    cs_cmdline.C
sched/
    feeder.C
    sched_array.C
    sched_config.C,h
    sched_send.C
    sched_shmem.C,h
    sched_util.C
    show_shmem.C

svn path=/trunk/boinc/; revision=12771
2007-05-29 21:45:01 +00:00
David Anderson 4f81994be6 - Add a mechanism for a project to shut down gracefully.
If <ended>1</ended> is included in config.xml,
    this gets send to clients,
    and they display a "Project ended - OK to detach" message.

client/
    client_state.C
    client_types.C,h
    scheduler_op.C
clientgui/
    VIewProjects.cpp
    VIewProjectsGrid.cpp
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
    gui_rpc_client_print.C
sched/
    sched_config.C,h
    server_types.C

svn path=/trunk/boinc/; revision=12742
2007-05-24 16:07:21 +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 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 a37403a673 - scheduler: add <workload_sim> config option.
If set, the scheduler will use EDF simulation,
    together with the in-progress workload reported by the client,
    to avoid sending results that
    1) will miss their deadline, or
    2) will cause an in-progress result to miss its deadline, or
    3) will make an in-progress result miss its deadline
        by more than is already predicted.
    If this option is not set, or if the client request doesn't
    include a workload description (i.e. the client is old)
    use the existing approach, which assumes there's no workload.
    NOTE: this is experimental.  Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
    - if an account is detach_when_done, set dont_request_more_work
    - check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)

client/
    acct_mgr.C
    work_fetch.C
html/
    inc/
        uotd.inc
        util.inc
    user/
        uotd_gadget.php (new)
sched/
    Makefile.am
    edf_sim.C
    sched_config.C,h
    sched_resend.C
    sched_send.C,h
    server_types.C,h

svn path=/trunk/boinc/; revision=12639
2007-05-10 21:50:52 +00:00
David Anderson 1880a50cc5 David 19 Apr 2007
- Change things so that make_project installs a test application
        (uppercase) and the daemons to go along with it
        (sample_work_generator, sample_bitwise_validator, sample_assimilator).
        This is mostly working, not completely.

    apps
        upper_case.C
    html/ops/
        mass_email_script.php
    py/Boinc/
        setup_project.py
    sched/
        sched_config.C,h
        sample_work_generator.C
    tools/
        make_project
        project.xml
        Makefile.am

svn path=/trunk/boinc/; revision=12422
2007-04-19 22:11:25 +00:00
David Anderson 1ea3bb781e David 18 Apr 2007
- bug fixes for sample work generator

    sched/
        sched_config.C,h
        sample_work_generator.C


svn path=/trunk/boinc/; revision=12417
2007-04-19 03:12:13 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson 564504eff6 svn path=/trunk/boinc/; revision=12402 2007-04-17 17:12:44 +00:00
David Anderson 66071c9de1 svn path=/trunk/boinc/; revision=12373 2007-04-16 22:22:15 +00:00
David Anderson 75a2b2c55b *** empty log message ***
svn path=/trunk/boinc/; revision=12322
2007-04-05 17:02:01 +00:00
David Anderson 5cb43bbcf5 *** empty log message ***
svn path=/trunk/boinc/; revision=12210
2007-03-11 03:15:17 +00:00
David Anderson ff91c8450f *** empty log message ***
svn path=/trunk/boinc/; revision=12004
2007-01-30 18:19:30 +00:00
David Anderson 76cc3ab30d *** empty log message ***
svn path=/trunk/boinc/; revision=11597
2006-11-28 03:27:13 +00:00
David Anderson e12f6efa55 *** empty log message ***
svn path=/trunk/boinc/; revision=11340
2006-10-23 14:08:20 +00:00
David Anderson c98a2415af *** empty log message ***
svn path=/trunk/boinc/; revision=11336
2006-10-22 00:42:44 +00:00
David Anderson 3c80d4726f verify-files-on-app-start option
svn path=/trunk/boinc/; revision=10413
2006-06-20 17:36:28 +00:00
David Anderson 016112bf0d scheduler logging
svn path=/trunk/boinc/; revision=10261
2006-06-07 04:10:04 +00:00
David Anderson 3199549ec8 *** empty log message ***
svn path=/trunk/boinc/; revision=10259
2006-06-07 00:09:05 +00:00
David Anderson 6519a32c8c *** empty log message ***
svn path=/trunk/boinc/; revision=10200
2006-05-25 18:51:57 +00:00
David Anderson 033cab5e44 *** empty log message ***
svn path=/trunk/boinc/; revision=10195
2006-05-25 05:22:10 +00:00
David Anderson 85be4593fa symstore support
svn path=/trunk/boinc/; revision=10174
2006-05-22 09:54:31 +00:00
David Anderson 50864e7dd9 *** empty log message ***
svn path=/trunk/boinc/; revision=9615
2006-03-07 21:46:49 +00:00
David Anderson bd1475e3a1 grant claimed credit option
svn path=/trunk/boinc/; revision=9558
2006-02-25 07:09:50 +00:00
Bruce Allen b87eed0dd0 [From Walt Gribben]
Cleanup of parameters that define disk free space requirements.
Previously these were spread around in different places.  Now
these are defined by some config.xml options that are used by
PHP pages and by the scheduler code.  See a description in
doc/configuration.php.

svn path=/trunk/boinc/; revision=9081
2005-12-17 04:53:48 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 9e318ef772 *** empty log message ***
svn path=/trunk/boinc/; revision=8781
2005-11-01 04:19:10 +00:00
David Anderson 4710fe1771 *** empty log message ***
svn path=/trunk/boinc/; revision=6863
2005-07-28 09:29:12 +00:00
David Anderson 7b1bb7bc8f *** empty log message ***
svn path=/trunk/boinc/; revision=6232
2005-05-24 04:32:36 +00:00
David Anderson 46b0941447 *** empty log message ***
svn path=/trunk/boinc/; revision=5650
2005-03-13 20:10:03 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 0ddf2ed101 *** empty log message ***
svn path=/trunk/boinc/; revision=5423
2005-02-14 04:39:07 +00:00
Bruce Allen 84a2eb306e Added new tag pair to config.xml:
<min_core_client_version_announced> N </min_core_client_version_announced>
<min_core_client_upgrade_deadline>  M </min_core_client_upgrade_deadline>
This is used to warn users in advance if a new minimum core client is going
to be required.  Users have until time 'M' (Unix epoch time(2) format)
to upgrade. Not yet tested.

svn path=/trunk/boinc/; revision=5370
2005-02-09 04:38:19 +00:00
Bruce Allen 21e1990508 Made the caching of md5 info for source files a configuration option in
config.xml.  Use the boolean tag <cache_md5_info> to enable it.
This prevents the work generation library from having to go back and
continuously regenerate the md5 sums of your input data files.  Note
that reading these from disk can be expensive if you have many such files
that are large and that you re-use. See check-in notes from 30/31 Dec 2004
for some details.

svn path=/trunk/boinc/; revision=5281
2005-02-02 21:57:11 +00:00
Bruce Allen a27705fd59 Improvements to the file deletion mechanism. Now try removing files if
no work was sent to hosts, and available space<0 OR if available space>0
      but work was unfeasible because the disk bound requirements of the work
      exceeded the available space.
Added a new config.xml boolean element called 'choose_download_url_by_timezone'
      This requires that projects provide a 2-column file in the project root named
      'download_servers'.  An example is:
           3600   http://einstein.aei.mpg.de
         -21600   http://einstein.phys.uwm.edu
      The first column is offset from UTC in seconds, and the second column is the URL
      of the download server.  When enabled, the scheduler will replace the download
      path for data and executables by a list of download URLs, ordered by proximity
      to the host's timezone.  The download path must start with the
      BOINC default download/ and the different download servers must have identical
      file paths under download/, in other words they must be mirrored.

svn path=/trunk/boinc/; revision=5275
2005-02-02 18:13:00 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 1f5ef06046 *** empty log message ***
svn path=/trunk/boinc/; revision=5140
2005-01-19 05:34:18 +00:00
David Anderson 2cdb9fc3ef *** empty log message ***
svn path=/trunk/boinc/; revision=5073
2005-01-12 00:50:32 +00:00
David Anderson ef3b4b5a8e *** empty log message ***
svn path=/trunk/boinc/; revision=5036
2005-01-09 06:38:42 +00:00
David Anderson 6e94de0a6c *** empty log message ***
svn path=/trunk/boinc/; revision=4240
2004-09-24 21:28:12 +00:00
David Anderson e6cdca41e0 *** empty log message ***
svn path=/trunk/boinc/; revision=4237
2004-09-24 20:17:52 +00:00
David Anderson e01aa9de45 *** empty log message ***
svn path=/trunk/boinc/; revision=4182
2004-09-10 21:02:11 +00:00
David Anderson 156930d204 *** empty log message ***
svn path=/trunk/boinc/; revision=4003
2004-08-06 11:42:41 +00:00
Brian Boshes 13200c3f4c *** empty log message ***
svn path=/trunk/boinc/; revision=3999
2004-08-05 22:14:23 +00:00
David Anderson 240dcb0dfc *** empty log message ***
svn path=/trunk/boinc/; revision=3985
2004-08-05 11:35:09 +00:00
David Anderson 8c1f2ee9f2 *** empty log message ***
svn path=/trunk/boinc/; revision=3976
2004-08-04 10:34:33 +00:00
David Anderson ecf08e05cd *** empty log message ***
svn path=/trunk/boinc/; revision=3880
2004-07-15 18:54:17 +00:00
David Anderson 290f54e6eb server_types.C
svn path=/trunk/boinc/; revision=3698
2004-06-24 21:00:13 +00:00
David Anderson c46546288e *** empty log message ***
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00
David Anderson 9f1e5b1da6 *** empty log message ***
svn path=/trunk/boinc/; revision=3457
2004-05-27 18:13:00 +00:00