Commit Graph

10045 Commits

Author SHA1 Message Date
Rom Walton 2c54c9735a - VBOX: Report the remote desktop connection information to the
core client.  Next commit will create an extra "VM Console"
        button in the manager when detected.  Volunteers will just have
        to click the button to see what is going on with the VM.

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

svn path=/trunk/boinc/; revision=25035
2012-01-12 20:57:23 +00:00
Rom Walton fea602b6e6 - VBOX: Enable remote desktop functionality for a VM that has
<enable_remotedesktop/> specified in its vbox_job.xml file.
        
      NOTE: It does require the VirtualBox extension pack, but that
        is freely available on the VirtualBox download page.
        
    samples/vboxwrapper
        vbox.cpp, .h
        vboxwrapper.cpp, .h

svn path=/trunk/boinc/; revision=25034
2012-01-12 15:54:28 +00:00
David Anderson d4a91e5877 - LAMMPS job submission: improve completion estimate
svn path=/trunk/boinc/; revision=25033
2012-01-12 08:01:07 +00:00
David Anderson 8d1af7892f - API: respect direct_process_action even if multi_process is set
svn path=/trunk/boinc/; revision=25031
2012-01-12 00:27:21 +00:00
David Anderson 125ad03a54 - vboxwrapper: add <pf_host_port> element to config file.
Specifies host port # for port forwarding.
    If absent or zero, assign a port.


svn path=/trunk/boinc/; revision=25030
2012-01-11 23:21:17 +00:00
Charlie Fenton 5273a32b68 Mgr: When launching Mac client as a daemon, allow time for it to start
svn path=/trunk/boinc/; revision=25027
2012-01-11 11:33:03 +00:00
David Anderson 5a3367015e - first stab at improving Disk View colors
svn path=/trunk/boinc/; revision=25024
2012-01-11 03:13:49 +00:00
Charlie Fenton 5ef74674e8 client: Fix idle detection for Apple Remote Desktop and screen sharing under Mac OS 10.7
svn path=/trunk/boinc/; revision=25018
2012-01-10 10:37:37 +00:00
David Anderson dd16170fc1 - scheduler: the p_fpops value reported by clients can't be trusted.
Some credit cheats (e.g. with credit_by_runtime) can be done
    by reporting a huge value.
    Fix this by capping the value at 1.1 times the 95th percentile
    of host.p_fpops, taken over active hosts.


svn path=/trunk/boinc/; revision=25017
2012-01-09 17:35:48 +00:00
Rom Walton 3f8ca51110 - VBOX: Fix one last regression related to failed start detection. If
only one CPU is allocated, manually disable VM hardware acceleration.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=25016
2012-01-09 15:37:26 +00:00
Charlie Fenton 7222bfa200 If we have AMD GPU without CAL or NVIDIA GPU without CUDA, set available GPU RAM equal to total GPU RAM
svn path=/trunk/boinc/; revision=25015
2012-01-09 08:13:01 +00:00
David Anderson e3beeb8721 - client: reset ACTIVE_TASK::bytes_sent and bytes_received
when the task is started or restarted


svn path=/trunk/boinc/; revision=25014
2012-01-09 03:00:10 +00:00
David Anderson 436d56e70b - scheduler: change vbox_mt plan function to use at most 2 cores, not 3
(CERN doesn't actually need 3)


svn path=/trunk/boinc/; revision=25013
2012-01-09 02:48:51 +00:00
Rom Walton 6d731ccc6d - VBOX: Fix regression where the ERR_CPU_VM_EXTENSIONS_DISABLED error
message wasn't being written to stderr when the VM extensions
        were disabled via the BIOS.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25010
2012-01-08 20:18:14 +00:00
David Anderson e8657adfd2 - scheduler: change vbox_mt app plan function to use 1, 2 or 3 CPUs
depending on how many the host has,
    and whether CPU VM extensions are present
    (this reflects the requirements of CernVM).


svn path=/trunk/boinc/; revision=25009
2012-01-08 01:28:39 +00:00
Rom Walton ba1169107e - VBOX: Sleep for the remainder of the polling period and not the
whole poll period.

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

svn path=/trunk/boinc/; revision=25008
2012-01-07 20:36:48 +00:00
Rom Walton dba49cb953 - MGR: Derive from the correct base class to make the sizers work
properly.
        
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp

svn path=/trunk/boinc/; revision=25007
2012-01-06 23:37:40 +00:00
David Anderson 5020e3af2f - validator: for credit_from_runtime,
use result.flops_estimate rather than host.p_fpops;
    otherwise it doesn't work for multicore apps.
    TODO: cheat-proofing


svn path=/trunk/boinc/; revision=25006
2012-01-06 22:22:02 +00:00
David Anderson 962cee0689 - manager: parse message contents with XML_PARSER::element_content().
svn path=/trunk/boinc/; revision=25005
2012-01-06 21:58:43 +00:00
Rom Walton c79945b782 Quick Updates
svn path=/trunk/boinc/; revision=25004
2012-01-06 18:47:21 +00:00
Rom Walton 9faee707fa - VBOX: Use sscanf instead of strtol to convert a hex string.
- VBOX: Use new FloppyIO implementation that reports image
        creation errors.


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

svn path=/trunk/boinc/; revision=25003
2012-01-06 18:44:34 +00:00
Rom Walton 1287b95f73 - MGR: Remove sash window divider between the task panel and list panel
in the advanced view. Retain the ability to dynamically adjust the
        width of the task panel based on widest button.
    - LIB: Use parse string instead of copy contents for messages RPC.
    
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp
        ViewStatistics.cpp
    lib/
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=25001
2012-01-06 17:12:19 +00:00
Charlie Fenton 9502d336c5 Mac Installer: Changes for integrated BOINC+VirtualBox Mac installer
svn path=/trunk/boinc/; revision=25000
2012-01-06 10:44:53 +00:00
Charlie Fenton 06af098512 client: Restore scaling factor for AMD OpenCL devices on Macs with OpenCL version < 1.2
svn path=/trunk/boinc/; revision=24999
2012-01-06 02:45:55 +00:00
David Anderson 57d1c580e8 - GUI RPC: use new XML parser
svn path=/trunk/boinc/; revision=24998
2012-01-05 19:58:51 +00:00
Rom Walton f9a0ba4759 - VBOX: Extract the various logs before attempting to cleanup if the
registration process fails.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24996
2012-01-05 06:34:22 +00:00
Rom Walton f9586cdf5f Quick Updates
svn path=/trunk/boinc/; revision=24995
2012-01-04 22:04:44 +00:00
Rom Walton a6f030beb4 - VBOX: Fix a crash bug if multiple virtual VICs are defined for a VM.
I'm not sure what the heck happened.  It probably has something to
        do with my \r removal code on Windows.  Bugs hidden by other bugs
        I suppose.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24994
2012-01-04 21:59:44 +00:00
Rom Walton 449cd6a1b4 - VBOX: Move start state change detection code from run() function to
start() function and use similar code to handle stop as well.
        
        Weird stuff happens when people start/stop BOINC quickly,
        it looks as though the previous VM instance isn't shutdown before we
        attempt to start it again.  Hopefully enough of a wait is in there
        for the VM to fully halt before the wrapper is terminated.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24993
2012-01-04 21:09:58 +00:00
Rom Walton ea726d4985 - VBOX: Use strtol instead of atol to parse Vbox error codes from
stderr/stdout output.
    - VBOX: Undo my reorg yesterday with regards to report_vm_pid and
        report_net_usage.
    - VBOX: Only report network usage in the status report if
        aid.global_prefs.daily_xfer_limit_mb is non-zero
    - VBOX: Add the VM log to the list of things reported on a start
        failure.  Hypervisor log suggests that it launched the VM but
        it failed unexpectedly.  So there might be cases where it
        actually exists.

    samples/vboxwrapper/
        vbox.cpp
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24992
2012-01-04 18:21:40 +00:00
Rom Walton 3bfd0a145f - VBOX: Restore the elapsed time from the checkpoint file instead of
aid.starting_elapsed_time.  It appears some older client versions
        are giving erratic results.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24991
2012-01-03 21:46:57 +00:00
Rom Walton d2784ffc4b - VBOX: Per tester feedback, at an hourly status report to track
network usage.
    - VBOX: For errors where an error code is specified in the output,
        use that value when returning from vbm_open().  Make it easier
        to track failure rates by problem type in the ops pages.
        (Windows Only)
    - VBOX: Try making the process of extracting the hypervisor system
        log more robust, make a temp copy of it in the slot directory.
        Avoid exclusive file lock issues since VboxSvc will still be
        logging to it.
    - VBOX: Change the session lock text to make it clearer that the
        use of other VirtualBox management tools can cause a problem.

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

svn path=/trunk/boinc/; revision=24990
2012-01-03 19:06:39 +00:00
Rom Walton 21aed83249 - client: Remove scaling factor for AMD OpenCL devices. Latest
generation of drivers now report the correct memory size.
        They didn't wait for the next OpenCL spec change.
    
    client/
        coproc_detect.cpp

svn path=/trunk/boinc/; revision=24989
2012-01-03 14:03:11 +00:00
David Anderson 580f3bfd49 - client: calculate disk share for zero-priority projects correctly
svn path=/trunk/boinc/; revision=24988
2012-01-03 10:14:02 +00:00
David Anderson 5be4be2c68 - LAMMPS
svn path=/trunk/boinc/; revision=24986
2012-01-03 09:47:21 +00:00
David Anderson fb8c2ee566 - remote job submission: show input file links
- ops: fix message: app.min_version applies to HR app versions,
    not client version


svn path=/trunk/boinc/; revision=24980
2012-01-03 03:51:43 +00:00
Rom Walton 5691f06dd6 - VBOX: Fix crashing issue I introduced last night attempting to
extract the hypervisor system log.
    - VBOX: Report the hypervisor system log with any failed vboxmanage
        command that happens during the phase where we setup the VM.
        
    samples/vboxwrapper/
        vbox.cpp, .h

svn path=/trunk/boinc/; revision=24977
2012-01-02 16:58:11 +00:00
Rom Walton 2c617ba8b5 Quick Updates
svn path=/trunk/boinc/; revision=24976
2012-01-02 16:53:43 +00:00
David Anderson 33b607dab1 - upgrade script:
- prompt user for DB user/passwd if DB updates needed
    - error out immediately if any DB update fails
    Fixes #1169, #1170
- create_work: check for duplicate <file_info>s in input template
    NOTE: the input template syntax is pretty clunky


svn path=/trunk/boinc/; revision=24969
2012-01-02 07:33:08 +00:00
David Anderson bba4ce24ce - client: compute projects' disk share (based on resource share).
Report it (along with disk usage) in scheduler request messages.
    This will allow the scheduler to send file-delete commands
    if the project is using more than its share.
- client: add <disk_usage_debug> log flag
- create_work: add --help, show --command_line option


svn path=/trunk/boinc/; revision=24968
2012-01-02 05:53:42 +00:00
Rom Walton 945267b14e - VBOX: If VirtualBox reports an error snag both the hypervisor system
log as well as the VM execution log.  Maybe the hypervisor log
        will tell us what is up with the virtual floppy device.
    - VBOX: Don't retry commands that are expected to fail in normal use
        cases.  It slows down getting the VM up and running.
    - VBOX: After starting the VM, use a timed loop waiting for the initial
        VM state change instead of just waiting for 5 seconds.  Older
        machines can take longer than 5 seconds to switch from poweroff
        to starting.  If we hit the main poll loop in that state the wrapper
        thinks we have crashed.
    - VBOX: Strip carriage returns from all the vboxmanage output on
        Windows.
        
    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24967
2012-01-02 04:30:42 +00:00
David Anderson fe56372ada - ops: fix link in index page
svn path=/trunk/boinc/; revision=24965
2012-01-02 02:31:12 +00:00
Rom Walton 474401c51d - OPS: Update error code translation table
html/inc
        result.inc

svn path=/trunk/boinc/; revision=24964
2012-01-01 23:54:58 +00:00
Rom Walton c55350d0a6 - OPS: Update failure_result_summary_by_platform.php to include
plan class information.
        
    html/ops
        failure_result_summary_by_platform.php

svn path=/trunk/boinc/; revision=24963
2012-01-01 23:44:48 +00:00
David Anderson cf4e77d089 - remote job stuff
svn path=/trunk/boinc/; revision=24962
2012-01-01 03:37:06 +00:00
David Anderson 8b4df3817e svn path=/trunk/boinc/; revision=24961 2012-01-01 03:35:29 +00:00
David Anderson 2b4e6c2f65 - web: new page to manage job submission
svn path=/trunk/boinc/; revision=24959
2011-12-31 08:57:53 +00:00
David Anderson 1eff1601d2 - web: add script for submission of batches of LAMMPS jobs
svn path=/trunk/boinc/; revision=24958
2011-12-31 07:50:55 +00:00
David Anderson c201b30561 - web: implement file sandbox for remote job submission
svn path=/trunk/boinc/; revision=24957
2011-12-31 04:33:11 +00:00
Rom Walton 1b2a01726a - WINSETUP: Hookup new custom actions to the BOINC Installers
win_build/installerv2/
        BOINC.ism
        BOINCx64.ism

svn path=/trunk/boinc/; revision=24952
2011-12-31 00:33:10 +00:00