Commit Graph

18185 Commits

Author SHA1 Message Date
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
Rom Walton cc5da892c7 Quick Updates
svn path=/trunk/boinc/; revision=24198
2011-09-14 00:51:06 +00:00
Rom Walton cedd8dfbd1 Quick Updates
svn path=/trunk/boinc/; revision=24197
2011-09-14 00:41:13 +00:00
Rom Walton fafb8a9bbf Quick Updates
svn path=/trunk/boinc/; revision=24196
2011-09-14 00:30:42 +00:00
Rom Walton 54c27ff947 Quick Updates
svn path=/trunk/boinc/; revision=24195
2011-09-14 00:20:17 +00:00
Rom Walton c94af43ea3 Quick Updates
svn path=/trunk/boinc/; revision=24194
2011-09-14 00:15:25 +00:00
Rom Walton d9de7596e6 Quick Updates
svn path=/trunk/boinc/; revision=24193
2011-09-13 23:59:19 +00:00
Rom Walton 4dcb0a5859 Quick Updates
svn path=/trunk/boinc/; revision=24192
2011-09-13 23:58:18 +00:00
David Anderson 74c77c865a - client: fixes to the above
- client: prevent infinite recursion (and stack overflow)
        in procinfo.cpp:add_child_totals().
        Not sure how this could happen.

svn path=/trunk/boinc/; revision=24191
2011-09-13 23:57:44 +00:00
Rom Walton 0dd791ad69 Quick Updates
svn path=/trunk/boinc/; revision=24190
2011-09-13 23:41:32 +00:00
Rom Walton 65fb6c7e0e Quick Updates
svn path=/trunk/boinc/; revision=24189
2011-09-13 23:38:56 +00:00
David Anderson 7f2a3c0ce1 - client: get GPU available RAM at startup (only)
- client: fix compile warning


svn path=/trunk/boinc/; revision=24188
2011-09-13 22:58:39 +00:00
Rom Walton c2f1855be3 - VBOX: Make is_running() a bit smarter about detecting the running state
of a virtual machine.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24187
2011-09-13 22:52:28 +00:00
Rom Walton 8ce3da18ce Quick Updates
svn path=/trunk/boinc/; revision=24186
2011-09-13 22:04:49 +00:00
Rom Walton 8f3249720f - VBOX: Don't attempt to stop a VM that is already shut down.
samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24185
2011-09-13 21:49:42 +00:00
Rom Walton 98efec4538 - VBOX: Properly trap stderr output from vboxmanage by redirecting it to
stdout.  Error messages should now be properly detected on Linux and
        Mac.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24184
2011-09-13 21:43:58 +00:00
David Anderson e9c5bfe7a8 - wrapper: don't delete task-level checkpoint file when starting task;
that defeats the purpose.  From Uwe Becker.


svn path=/trunk/boinc/; revision=24183
2011-09-13 21:21:40 +00:00
David Anderson 176b0a4327 - validator: add a --credit_from_runtime option.
This assigns credit proportional to runtime*p_fpops.
    To prevent cheating, p_fpops is capped at the 95th percentile value
    among active hosts,
    and runtime is capped at a specified limit.
    This option supports apps, like LHC's CERNvm app,
    that run for a certain amount of time and then exit.
    The CreditNew system doesn't work for such apps.
- trickle_credit:
    To prevent cheating,
    cap p_fpops at the 95th percentile value among active hosts,
    and require a limit on runtime.
- require that trickle handlers supply an initialization function


svn path=/trunk/boinc/; revision=24182
2011-09-13 21:01:42 +00:00
Rom Walton 26fdc9b1f7 Quick Updates
svn path=/trunk/boinc/; revision=24181
2011-09-13 20:59:01 +00:00
Rom Walton 0ebb45cc14 Quick Updates
svn path=/trunk/boinc/; revision=24180
2011-09-13 19:48:32 +00:00
Rom Walton 273327044b - VBOX: Add more trace messages to the wrapper to help resolve
issues.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24179
2011-09-13 19:43:52 +00:00
David Anderson 55b9d48deb - client, GUI RPC, Manager:
in GUI RPC, change RESULT.gpu_mem_wait to scheduler_wait.
    It means that the app did a boinc_temporary_exit(),
    and is waiting to be rescheduled.
    GPU mem wait is one source of this, not the only one


svn path=/trunk/boinc/; revision=24176
2011-09-13 05:54:55 +00:00
David Anderson 048c6a48a4 - validator: add --no_credit option;
maintains stats but doesn't grant credit


svn path=/trunk/boinc/; revision=24175
2011-09-13 05:23:10 +00:00
David Anderson 38d6c26fff - web: add <no_web_account_creation> config option
svn path=/trunk/boinc/; revision=24174
2011-09-13 04:53:13 +00:00
David Anderson bdd0abf9ec - client: make file upload work w/ old handlers
svn path=/trunk/boinc/; revision=24173
2011-09-13 00:51:20 +00:00
David Anderson 9856f795ed - client: remove code related to debt-based scheduling
svn path=/trunk/boinc/; revision=24163
2011-09-12 17:57:31 +00:00
David Anderson be1d379f6a - client: message tweak
svn path=/trunk/boinc/; revision=24162
2011-09-12 17:22:36 +00:00
David Anderson f81cb82b8e - client: make RR simulation more accurate
by simulating time-slicing explicitly.
    Also simulate changes in project REC
    and hence in scheduling priority.
- client: add a log flag "rrsim_detail" that prints
    time-slice-level info.


svn path=/trunk/boinc/; revision=24161
2011-09-12 17:01:54 +00:00
David Anderson ec33994fe7 - API; fix the above fix
svn path=/trunk/boinc/; revision=24160
2011-09-12 03:48:16 +00:00