Commit Graph

146 Commits

Author SHA1 Message Date
David Anderson da6b6b33fe - client: fix notification display logic
svn path=/trunk/boinc/; revision=20119
2010-01-10 21:57:15 +00:00
David Anderson 3f084596e0 - scheduler: fix bug that caused no ATI jobs to be sent
if max_jobs_in_progress defined.

svn path=/trunk/boinc/; revision=19529
2009-11-10 22:19:36 +00:00
David Anderson fe2a18f282 - client/scheduler: standardize the FLOPS estimate between NVIDIA and ATI.
Make them both peak FLOPS,
    according to the formula supplied by the manufacturer.

    The impact on the client is minor:
    - the startup message describing the GPU
    - the weight of the resource type in computing long-term debt

    On the server, I changed the example app_plan() function
    to assume that app FLOPS is 20% of peak FLOPS
    (that's about what it is for SETI@home)

svn path=/trunk/boinc/; revision=19310
2009-10-16 00:13:01 +00:00
David Anderson fa0c32c20e - scheduler: compile fixes
svn path=/trunk/boinc/; revision=18783
2009-07-30 17:00:43 +00:00
David Anderson 75bb5a4fa9 - client: if file < 8KB, upload it in its entirety and skip size check
- client: (refinement to previous checkin)
    don't skip file size check if file has multiple upload URLs.
    We might have uploaded different amounts on different servers.

svn path=/trunk/boinc/; revision=18606
2009-07-16 20:14:57 +00:00
David Anderson 4cf6b7793c - server: move python modules from PROJECT/bin to PROJECT/py/Boinc.
make_project now generates PROJECT/bin/boinc_path_config.py
    to ensure that the interpreter will find the modules.
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18374
2009-06-11 15:38:48 +00:00
David Anderson 9dc7ecb22a - make_project: get rid of verbosity-level stuff
and fancy overwriting of stdout lines


svn path=/trunk/boinc/; revision=17736
2009-04-06 18:27:02 +00:00
David Anderson 8470b55be3 - web: link to 3rd-party signature sources on community prefs page
svn path=/trunk/boinc/; revision=17417
2009-03-01 19:00:40 +00:00
David Anderson 350f62223f - scheduler: accept CUDA version 1.0
svn path=/trunk/boinc/; revision=16968
2009-01-21 17:36:26 +00:00
David Anderson e3fd56f5e8 - client: work-fetch tweak: don't increment overall CPU shortfall
if any jobs pending in simulation

svn path=/trunk/boinc/; revision=16595
2008-12-01 22:06:24 +00:00
David Anderson c8c0e06d2e - web: rename Bossa functions to avoid name conflict
- web: bug fix in example core for app selection

svn path=/trunk/boinc/; revision=16546
2008-11-24 20:27:18 +00:00
David Anderson 56db46b0ef - typo in sample_index.php
svn path=/trunk/boinc/; revision=15892
2008-08-19 21:33:21 +00:00
David Anderson b16fb12329 - manager: fix some strings ("comm" is not an OK abbrev.)
Also got rid of references to Yahoo.

svn path=/trunk/boinc/; revision=15406
2008-06-14 20:38:57 +00:00
David Anderson 956a5a2cc5 - web: fixed numerous bugs in team founder transfer mechanism
svn path=/trunk/boinc/; revision=15398
2008-06-13 16:40:51 +00:00
David Anderson db4164daba - Client (Windows) change the way core/app shmem segs are created.
Old: get_shmem_seg_name() tries names of the form shm_boinc_N
        until it finds one for which creating succeeds.
        Then it detaches (deletes) the segment and records the name.
        Later, the segment is created again.
        This creates a race condition if two core clients
        are running on the same host.
        It's also kind of silly.
    New: get_shmem_seg_name() doesn't detach the segment,
        and we dont have to create it again later.

svn path=/trunk/boinc/; revision=15172
2008-05-11 23:11:16 +00:00
David Anderson d2a02a5184 - client and server: in coprocessor records, change "name" to "type"
to avoid confusion with "name" field of CUDA.
    This is a bug fix - please port.
- start script: don't error out if run_state.xml file is empty
    (which happens if project runs out of disk space)

svn path=/trunk/boinc/; revision=15168
2008-05-09 20:54:52 +00:00
David Anderson d439244f3f - fixes for gcc 4.3
svn path=/trunk/boinc/; revision=15020
2008-04-06 03:15:36 +00:00
David Anderson b543bcc3c4 svn path=/trunk/boinc/; revision=14730 2008-02-13 04:25:52 +00:00
David Anderson 51286a03dc - Initial checkin of Bossa code
svn path=/trunk/boinc/; revision=14716
2008-02-11 23:38:31 +00:00
David Anderson ebed572d4f - API: allow Win apps to have icon
svn path=/trunk/boinc/; revision=14625
2008-01-28 15:48:09 +00:00
David Anderson daac96c05f - create_work: added -opaque option (to specify workunit.opaque)
svn path=/trunk/boinc/; revision=14605
2008-01-21 14:02:22 +00:00
David Anderson d642cd6815 - small web fixes; fixes #421
svn path=/trunk/boinc/; revision=14485
2008-01-07 23:33:48 +00:00
David Anderson 300d3ed48f - scheduler: change <max_wus_in_progress> to be per CPU, not per host
svn path=/trunk/boinc/; revision=14475
2008-01-06 22:23:51 +00:00
David Anderson 0a6753ad0f - web: add "Find friends" link to private friends list
- web: in user search form, give input focus to name field

svn path=/trunk/boinc/; revision=14459
2008-01-02 17:52:21 +00:00
David Anderson 55c0ee22a0 - web: default for user_links() is to not show profile pic.
Show the pic only in the context of friends list.

svn path=/trunk/boinc/; revision=14444
2007-12-27 18:37:22 +00:00
David Anderson fc2784895d - user web: add <team_forums_members_only> config option.
If set, only team members can see team forums

svn path=/trunk/boinc/; revision=14297
2007-11-25 04:47:54 +00:00
David Anderson fb8b4ffabb - user web: added the notion of "Team Admin": team members,
appointed by the founder, who have most of the same
    rights as the founder (edit team info, view/remove users).
    They can't, however, change the founder, or select/remove Admins.
- user web: added the ability for founder to delete an empty team
- user web: count/show all team members, not just those with credit
- user web: Team Search returns top team if form fields left blank
- Added db_update.php entry for Eric's banishment_vote stuff

svn path=/trunk/boinc/; revision=14108
2007-11-07 17:23:29 +00:00
David Anderson dc4ca1e5cd - user web: changes to use new DB framework and eliminate PHP warnings
svn path=/trunk/boinc/; revision=13981
2007-10-28 15:03:14 +00:00
David Anderson 1239291e44 - client: add <active_task_state> to <active_task> elements in state file.
These are needed by some 3rd-party software that uses
    the state file instead of GUI RPCs


svn path=/trunk/boinc/; revision=13921
2007-10-21 20:54:24 +00:00
David Anderson 2272891035 - user web: add "team search" page, which does a multi-criteria
search (keywords, country, type).
    Have the new-user scenario route the user through this page.
    Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
    and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
    Just take them to their user page.

svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
David Anderson a1590ff580 - scheduler: <max_wus_in_progress> option wasn't working,
because the reply.req structure was getting zeroed
    AFTER nresults_on_host was being set.


svn path=/trunk/boinc/; revision=13712
2007-09-28 18:27:02 +00:00
David Anderson aadcc979cd - client: first pass at fixing a fundamental design flaw:
there's a single GUI_HTTP object,
    and it works only if used sequentially,
    i.e. an op is started only after the previous one ends.
    This breaks if a GUI RPC triggerse and op while
    a project-list fetch (initiated by the client itself) is in progress.
    Or if two managers are connected at the same time,
    and both do HTTP ops.
    The solution: have a separate GUI_HTTP object for each GUI_RPC_CONN,
    and an additional one for use by the client itself.

svn path=/trunk/boinc/; revision=13692
2007-09-27 21:03:15 +00:00
David Anderson 00e3ddad69 - client: zero out xfer_speed in HTTP_OP constructor
(may fix problem w/ #INF bandwidth display)

svn path=/trunk/boinc/; revision=13517
2007-09-02 19:39:21 +00:00
David Anderson c38c8fc4df - sample app: adapt the one from boinc_samples
svn path=/trunk/boinc/; revision=13199
2007-07-20 18:47:52 +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 f8af50e685 - client: fetch all-projects list at startup if it doesn't exist
- client: if result in statefile is labeled with unsupported platform,
    set its platform to primary
    (this completes the fix of 11 June, hopefully fixes #262)

client/
    client_state.C
    cs_statefile.C

svn path=/trunk/boinc/; revision=12907
2007-06-12 16:15:53 +00:00
David Anderson e8d8a28e63 - client: enforce_schedule(): if try to preempt a
process that's not running, at least mark it as preempted.
    (this should never happen in principle)
- API: compile fix for Mac

api/
    graphics2_unix.C
client/
    cpu_sched.C

svn path=/trunk/boinc/; revision=12895
2007-06-11 21:56:56 +00:00
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 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 bc98f0e90c *** empty log message ***
svn path=/trunk/boinc/; revision=12367
2007-04-13 22:55:18 +00:00
David Anderson f3a7e400fd *** empty log message ***
svn path=/trunk/boinc/; revision=12287
2007-03-30 03:33:57 +00:00
David Anderson 1567aa1d91 *** empty log message ***
svn path=/trunk/boinc/; revision=12040
2007-02-06 16:41:33 +00:00
David Anderson ac3e809427 *** empty log message ***
svn path=/trunk/boinc/; revision=12026
2007-02-02 17:12:07 +00:00
David Anderson 6a10211584 *** empty log message ***
svn path=/trunk/boinc/; revision=11960
2007-01-24 22:55:00 +00:00
David Anderson b68d10ee59 *** empty log message ***
svn path=/trunk/boinc/; revision=11889
2007-01-17 17:34:59 +00:00
David Anderson 6b300c8048 *** empty log message ***
svn path=/trunk/boinc/; revision=11817
2007-01-09 20:48:41 +00:00
David Anderson 19504cc033 *** empty log message ***
svn path=/trunk/boinc/; revision=11798
2007-01-07 19:45:26 +00:00
David Anderson 19785132bc *** empty log message ***
svn path=/trunk/boinc/; revision=11712
2006-12-21 16:56:33 +00:00
David Anderson e5109e69d4 *** empty log message ***
svn path=/trunk/boinc/; revision=11701
2006-12-19 22:11:53 +00:00
David Anderson 017927ba8c *** empty log message ***
svn path=/trunk/boinc/; revision=11700
2006-12-19 20:49:12 +00:00