Commit Graph

18213 Commits

Author SHA1 Message Date
David Anderson 9a7d25966c - client: fix bug in ATI GPU detection, caused zero RAM measurements
svn path=/trunk/boinc/; revision=24251
2011-09-21 22:25:08 +00:00
David Anderson 9d2ba11e09 - back end: extend the access control system for remote job submission
and other operations.
    You can now designate a user as "manager" for a particular app.
    They can then:
    - control job-submit permissions for that app
    - deprecate/undeprecate versions of the app.
    - abort jobs for that app

    You can also designate a user a manage for the project.
    They can then edit permissions and quotas,
    as well as performing the app-specific functions for all apps.

    This is described here:
    http://boinc.berkeley.edu/trac/wiki/MultiUser#Accesscontrol

    This required some changes to the DB schema.


svn path=/trunk/boinc/; revision=24250
2011-09-21 21:26:00 +00:00
Rom Walton 11c9b6015e fix build break
svn path=/trunk/boinc/; revision=24249
2011-09-21 19:18:22 +00:00
Rom Walton da714ad0f9 Quick Updates
svn path=/trunk/boinc/; revision=24248
2011-09-21 17:46:36 +00:00
Charlie Fenton 1aca80cc94 Release Mac BOINC 6.13.4 to alpha test
svn path=/trunk/boinc/; revision=24247
2011-09-20 21:45:03 +00:00
Charlie Fenton 8dad0c1c80 Release Mac BOINC 6.13.4 to alpha test
svn path=/trunk/boinc/; revision=24246
2011-09-20 21:40:51 +00:00
David Anderson 9d2d540267 - client: intermediate checkin for replicated trickle-ups.
Not finished yet.
- example app: add --trickle_up and --trickle_down options,
    for testing trickle messages


svn path=/trunk/boinc/; revision=24245
2011-09-20 18:49:38 +00:00
Rom Walton db41f34252 Quick Updates
svn path=/trunk/boinc/; revision=24244
2011-09-20 16:55:11 +00:00
Rom Walton 7a90002aa6 Quick Updates
svn path=/trunk/boinc/; revision=24243
2011-09-20 15:39:27 +00:00
Rom Walton 28bba3c25f Quick Updates
svn path=/trunk/boinc/; revision=24241
2011-09-20 15:38:49 +00:00
Charlie Fenton ced250fcd2 Mac: Remove app_graphics.cpp from Client, add thread.cpp,.h to libboinc.a in XCode Project
svn path=/trunk/boinc/; revision=24239
2011-09-20 07:28:40 +00:00
David Anderson 0e3d27961c - client: in handling the acct_mgr GUI RPC,
don't start the RPC directly;
    that might fail if CLIENT_STATE::gui_http is busy.
    Instead, set a timer field.
- client: structure ACCT_MGR_OP the same as other GUI_HTTP_OP variants
- client: clarify the comments on GUI_HTTP and GUI_HTTP_OP

Note: GUI_HTTP and GUI_HTTP_OP are misnomers; they refer to
any HTTP op other than scheduler requests and file transfers.
Should change the name, maybe to CLIENT_HTTP*


svn path=/trunk/boinc/; revision=24238
2011-09-19 21:15:36 +00:00
Rom Walton ad274a1288 - Tag for 6.13.4 release, all platforms
boinc_core_release_6_13_4

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24236
2011-09-19 16:06:21 +00:00
David Anderson a4a59cc533 svn path=/trunk/boinc/; revision=24235 2011-09-19 05:57:53 +00:00
David Anderson f56020dd84 - lib: add generic interfaces for threads and thread synchronization
svn path=/trunk/boinc/; revision=24234
2011-09-19 05:48:43 +00:00
David Anderson c544a81742 - Win fixes
svn path=/trunk/boinc/; revision=24233
2011-09-18 21:28:31 +00:00
David Anderson c61103ac26 - client: make the attributes of GUI RPCs (network, authentication)
explicit rather than determined by position in a list.
- client: add a new "read-only" attribute for GUI RPCs.
    This is in preparation for handling GUI RPCs in separate threads.
- client: remove code to support pre-V6 graphics.


svn path=/trunk/boinc/; revision=24232
2011-09-18 21:06:49 +00:00
Charlie Fenton 3ae3bb1099 wrapper: Update Mac build script for XCode 4.1 and OS 10.7 (supports Intel Macs only)
svn path=/trunk/boinc/; revision=24231
2011-09-16 23:51:43 +00:00
David Anderson 53133f126d - client: with VBox on Win, the process graph sometimes has cycles.
Not sure where this comes from.
    But avoid infinite recursion when traversing descendants.


svn path=/trunk/boinc/; revision=24230
2011-09-16 22:22:45 +00:00
David Anderson 61dc940872 - validator: add runtime_outlier message
svn path=/trunk/boinc/; revision=24229
2011-09-16 21:30:21 +00:00
David Anderson a886e0be7c - transitioner: fix bug related to new runtime_outlier field
svn path=/trunk/boinc/; revision=24228
2011-09-16 20:42:45 +00:00
David Anderson d8f20bceea - vboxwrapper: report network usage to the client
- client: include the above in enforcing network quota preferences


svn path=/trunk/boinc/; revision=24227
2011-09-16 19:16:12 +00:00
David Anderson 2bd5b194b2 - vboxwrapper: code cleanup
- use double for potentially large quantities
    - factor out repetitive code, rather than copy and paste


svn path=/trunk/boinc/; revision=24226
2011-09-16 17:25:36 +00:00
David Anderson e49f945908 - Validator: allow project-specific code to mark a result
is a "runtime outlier", i.e. its runtime does
    not correspond to the job's rsc_fpops_est.
    Runtime outliers are not counted in the statistics for
    elapsed time, turnaround time, and peak FLOPs count.

    The is intended for applications like SETI@home,
    some of whose jobs finish more or less instantly
    (this happens if the data contains a lot of interference).
    If a host happens to get a bunch of these short jobs,
    its statistics will get skewed: in essence, the server
    will think that the host is extremely fast,
    and will send it too many jobs.


svn path=/trunk/boinc/; revision=24225
2011-09-16 16:43:15 +00:00
Rom Walton 7d9384075d Quick Updates
svn path=/trunk/boinc/; revision=24224
2011-09-15 23:05:43 +00:00
Rom Walton e27ee6f152 - VBOX: Add a way to track overall network utilization of a VM.
samples/vboxwrapper/
        vbox.cpp, .h

svn path=/trunk/boinc/; revision=24223
2011-09-15 23:04:10 +00:00
David Anderson e0956b06df - minor code shuffle
svn path=/trunk/boinc/; revision=24222
2011-09-15 17:12:18 +00:00
Charlie Fenton 9ea1f2156d vboxwrapper: update XCode project for easier access to built executables and symbol tables under XCode 4.1
svn path=/trunk/boinc/; revision=24221
2011-09-15 10:33:04 +00:00
Charlie Fenton 1d5fe1a286 Mac: Change XCode project to build both 32-bit and 64-bit BOINC libraries for debug as well as for deployment
svn path=/trunk/boinc/; revision=24220
2011-09-15 10:32:07 +00:00
Charlie Fenton 6314930e4f vboxwrapper: fix compiler warning
svn path=/trunk/boinc/; revision=24219
2011-09-15 09:02:05 +00:00
Charlie Fenton bce695214c lib: fix compiler warning
svn path=/trunk/boinc/; revision=24218
2011-09-15 08:28:04 +00:00
David Anderson a4cccec2cc - scheduler: revise [21428] to include non-anonymous-platform,
and change the ratio limit from 2 to 10.


svn path=/trunk/boinc/; revision=24217
2011-09-15 06:53:01 +00:00
David Anderson 49a7287949 - scheduler: in app_plan functions for GPUs,
use available RAM if reported by client;
    otherwise use physical RAM.


svn path=/trunk/boinc/; revision=24216
2011-09-15 04:28:21 +00:00
David Anderson a2f6b62d97 - lib: parse <available_ram> in coproc XML
- lib: do coproc XML parsing using new XML parser


svn path=/trunk/boinc/; revision=24215
2011-09-15 04:24:40 +00:00
Rom Walton 3d9e3097ee Quick Updates
svn path=/trunk/boinc/; revision=24214
2011-09-14 23:33:11 +00:00
David Anderson 3a87fbd227 - client: report available GPU RAM to scheduler
svn path=/trunk/boinc/; revision=24213
2011-09-14 23:30:51 +00:00
David Anderson 4f21108bc2 - fix compile warnings
svn path=/trunk/boinc/; revision=24212
2011-09-14 23:22:48 +00:00
David Anderson f6cd51fe72 - vboxwrapper: we don't seem to be getting the VM PID.
Add some printfs.


svn path=/trunk/boinc/; revision=24211
2011-09-14 23:22:08 +00:00
David Anderson 7411dd60aa - client: change in the use of GPU available RAM:
- measure the available RAM of each GPU when BOINC starts up.
        If this fails, set available = physical.
        Show available RAM in startup messages.
    - use available RAM rather than physical RAM in selecting
        the "best" GPU instance
    - report available RAM to the scheduler
TODO: change the scheduler to use available rather than physical
    if it's reported


svn path=/trunk/boinc/; revision=24210
2011-09-14 22:45:26 +00:00
Rom Walton 9e1cafbf4d Quick Updates
svn path=/trunk/boinc/; revision=24209
2011-09-14 22:09:12 +00:00
Rom Walton c2e922b3df - client: Update Windows detection code to support Windows 8.
(From: [P3D] Crashtest)
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=24208
2011-09-14 22:03:16 +00:00
Rom Walton 6a0d6088a3 Quick Updates
svn path=/trunk/boinc/; revision=24207
2011-09-14 21:02:42 +00:00
David Anderson 9dddcdb10c - XML parsing: do XML unescaping in place rather than allocating
a buffer on the stack.
    Fixes a Manager crash on the Mac,
    where the default thread stack size seems to be 512KB.


svn path=/trunk/boinc/; revision=24206
2011-09-14 17:58:53 +00:00
David Anderson 1c039bab77 - client: curl_easy_escape() escapes way too much. Just escape spaces.
svn path=/trunk/boinc/; revision=24205
2011-09-14 06:45:04 +00:00
David Anderson 11a5372961 - client: escape URLs for curl, otherwise filenames with spaces don't work
svn path=/trunk/boinc/; revision=24204
2011-09-14 05:44:09 +00:00
Rom Walton 6c0a8d9035 - VBOX: Add a register_only command line argument to help debug VM related issues.
- VBOX: Add some suggestions to the source on how to debug VM related issues.
    - VBOX: Add a quick sanity check when the enable_shared_directory option is
        enabled.

    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24203
2011-09-14 04:16:00 +00:00
Rom Walton a2c40ce0b6 Quick Updates
svn path=/trunk/boinc/; revision=24202
2011-09-14 03:17:13 +00:00
Rom Walton 9c20f59c15 - VBOX: Increase the pipe buffer on Windows from the default to 128k. Despite what
the docs say, if the buffer isn't large enough VboxManage hangs attempting to
        write the VM log file to it.  Luckly the VM log file is only 64k.
    - VBOX: Fix a couple of parsing errors.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24201
2011-09-14 03:15:17 +00:00
Rom Walton 62ef962134 Quick Updates
svn path=/trunk/boinc/; revision=24200
2011-09-14 01:19:35 +00:00
Rom Walton 6ebadb3085 Quick Updates
svn path=/trunk/boinc/; revision=24199
2011-09-14 01:11:31 +00:00