Commit Graph

18110 Commits

Author SHA1 Message Date
David Anderson fa419731dd - scheduler RPC: add <override_file_present> element to
the <working_global_preferences> element in
    scheduler RPC request
    (tells the server that there's an override file).
- account manager RPC: add <working_global_preferences> element,
    including the override flag.
- web: add "no time limit" option for forum search
- web: increase show-user-post query limit to 10000


svn path=/trunk/boinc/; revision=24129
2011-09-06 04:34:29 +00:00
David Anderson 7c81d72378 - web: fix warnings in forum pages
- scheduler: when using elapsed time stats to predict runtime,
    cap the estimated FLOPS at twice the peak FLOPS;
    otherwise, if a host has received a lot of very short jobs
    recently, it will get a too-high FLOPS estimate and
    will exceed the rsc_fpops_bound limit.


svn path=/trunk/boinc/; revision=24128
2011-09-05 17:29:53 +00:00
David Anderson 60f0b3ed4e - web: when displaying a user's posts, limit the query to 1000
so the page doesn't exceed CPU limit


svn path=/trunk/boinc/; revision=24127
2011-09-03 04:24:01 +00:00
David Anderson 3eabc15a84 - lib: minor code shuffle
svn path=/trunk/boinc/; revision=24126
2011-09-02 22:06:30 +00:00
Charlie Fenton b042ad7b42 lib: Fix compile errors; add app_control.cpp to XCode project
svn path=/trunk/boinc/; revision=24125
2011-09-02 21:54:35 +00:00
David Anderson 94d32d8eb9 - web: fix bug in add project prefs for a venue
svn path=/trunk/boinc/; revision=24124
2011-09-02 21:45:13 +00:00
David Anderson 4e946854c1 - client/API/vboxwrapper:
add a mechanism so that apps can report sub-processes
    that are not descendants (e.g., virtual machines)
    These processes are then counted as part of the app,
    not as "non-BOINC CPU time".
    This fixes a bug where processing was incorrectly suspended
    because CPU usage by VM apps exceeded the "CPU usage limit" pref.

    Implementation:
    - the PIDs of the processes in question
        are passed from app to client via shared-memory,
        in the app_status channel.
        A new variant of boinc_report_app_status() supports this.
    - the VBox wrapper queries the PID of the VM,
        and reports it in this way.
    - procinfo_app() includes a new argument: a list of PIDs
        that are part of the app, although not ancestrally
        related to the main process.
    - in the client, ACTIVE_TASK now includes a vector "other_pids".
        If this is nonempty, it's passed to procinfo_app().


svn path=/trunk/boinc/; revision=24123
2011-09-02 20:47:05 +00:00
David Anderson 4778836022 - Win compile fixes
svn path=/trunk/boinc/; revision=24122
2011-09-02 18:47:15 +00:00
David Anderson ac67e5c5ee - code shuffle
svn path=/trunk/boinc/; revision=24121
2011-09-02 18:32:32 +00:00
David Anderson 8ad9d7d98b - more code shuffling:
proc_control: controlling processes
    procinfo: enumerating and querying processes
    run_app_windows: launching apps as other users on Win


svn path=/trunk/boinc/; revision=24120
2011-09-02 18:23:13 +00:00
David Anderson ecf614812e - code shuffling
svn path=/trunk/boinc/; revision=24119
2011-09-02 18:04:10 +00:00
David Anderson 1aa8675162 - win compile fixes
svn path=/trunk/boinc/; revision=24118
2011-09-02 17:57:18 +00:00
David Anderson b16f603a8a - client (and API and manager): change the data structure
used for system process info
    Old: vector of PROCINFO.
        Descendants of a process were found by recursively
        iterating through the vector.
        Operations are O(n)
    New: map of (id, PROCINFO),
        and each PROCINFO has a vector of its children.
        Operations are O(log(n))
    Also combined Mac/Win/Linux variants of code that
    was essentially the same.


svn path=/trunk/boinc/; revision=24117
2011-09-02 17:45:29 +00:00
Rom Walton 897f7abb9d Quick Updates
svn path=/trunk/boinc/; revision=24116
2011-09-02 17:06:29 +00:00
Rom Walton e8fe929958 Quick Updates
svn path=/trunk/boinc/; revision=24115
2011-09-02 16:54:46 +00:00
Rom Walton 0db859fc07 Quick Updates
svn path=/trunk/boinc/; revision=24114
2011-09-02 16:54:31 +00:00
Rom Walton 815186ab08 Quick Updates
svn path=/trunk/boinc/; revision=24113
2011-09-02 16:30:58 +00:00
Rom Walton a6de614071 - VboxWrapper: Add a way to extract the VM process id from the VM's
log file.
        
    samples/vboxwrapper/
        vbox.cpp, .h

svn path=/trunk/boinc/; revision=24112
2011-09-02 00:19:05 +00:00
David Anderson f6a12075af - Win: don't build wrappture by default
svn path=/trunk/boinc/; revision=24111
2011-09-01 22:51:39 +00:00
David Anderson 696d380254 - wrapper compile fixes
svn path=/trunk/boinc/; revision=24110
2011-09-01 22:48:29 +00:00
David Anderson 4d55e4db1b - web: fix bug in "allow beta apps" preferences editing
svn path=/trunk/boinc/; revision=24109
2011-09-01 20:54:49 +00:00
David Anderson f75ffd88f2 - server: factor process_input_template() into smaller pieces
svn path=/trunk/boinc/; revision=24108
2011-09-01 20:26:12 +00:00
David Anderson c529c3c50d - server: rename process_wu_template() to process_input_template(),
and move it to its own file


svn path=/trunk/boinc/; revision=24107
2011-09-01 19:58:27 +00:00
David Anderson 20d4906deb - Win: remove boinc_opencl from API lib
svn path=/trunk/boinc/; revision=24106
2011-09-01 17:06:31 +00:00
Charlie Fenton ad2bbfc41c lib, api: bring Xcode and make files into agreement
svn path=/trunk/boinc/; revision=24105
2011-09-01 09:26:13 +00:00
Charlie Fenton 5c02c6a01e lib, api: bring Xcode and make files into agreement
svn path=/trunk/boinc/; revision=24104
2011-09-01 09:02:54 +00:00
Charlie Fenton 0e5e4da926 API: More fixes to boinc_get_opencl_ids()
svn path=/trunk/boinc/; revision=24103
2011-09-01 08:31:55 +00:00
David Anderson c3c2d33827 - web: show relative performance on GPU list
svn path=/trunk/boinc/; revision=24102
2011-09-01 05:05:53 +00:00
Charlie Fenton a02c37cbce API: Fix compile errors and warnings, add documentation
svn path=/trunk/boinc/; revision=24101
2011-09-01 00:06:34 +00:00
Rom Walton 60b4546c75 - VboxWrapper: Specify a configuration directory under the slot directory to
try and avoid permission errors on multiple platforms when BOINC
        is installed as a daemon.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24100
2011-08-31 22:51:33 +00:00
David Anderson 0972aa28d4 svn path=/trunk/boinc/; revision=24099 2011-08-31 20:09:58 +00:00
David Anderson a427bc43a6 - scheduler: make sure there's a \n after </workunit> and </result>.
Otherwise older clients won't be able to parse.


svn path=/trunk/boinc/; revision=24098
2011-08-31 18:52:57 +00:00
David Anderson f1c201ab40 - API: boinc_get_opencl_ids() doesn't need to link
the OpenCL library at runtime.
    It's used only in OpenCL applications,
    which already include the library.


svn path=/trunk/boinc/; revision=24097
2011-08-31 17:36:16 +00:00
David Anderson a65291ce1f - web: show actual project info on "forget password?" page
svn path=/trunk/boinc/; revision=24096
2011-08-31 17:14:51 +00:00
David Anderson c0f977b19c - client: fix bugs related to white space around code signing keys
- win compile fixes

svn path=/trunk/boinc/; revision=24095
2011-08-31 16:36:17 +00:00
David Anderson 9bbbb3ea38 - boinc_get_opencl_ids():
- change signature to return int error code
    - no function overloading


svn path=/trunk/boinc/; revision=24094
2011-08-31 16:12:14 +00:00
David Anderson f1040e87ec - move boinc_get_opencl_ids() from lib/ to api/.
lib/ is for code that's used by >1 part of BOINC


svn path=/trunk/boinc/; revision=24093
2011-08-31 15:54:41 +00:00
Charlie Fenton f5a28b279d lib: rename boinc_getopencl_ids() to boinc_get_opencl_ids()
svn path=/trunk/boinc/; revision=24092
2011-08-31 11:18:29 +00:00
Charlie Fenton 69debb0743 lib: Add boinc_getopencl_ids() to be called by OpenCL project applications
svn path=/trunk/boinc/; revision=24091
2011-08-31 11:10:22 +00:00
Charlie Fenton 97f5146f2a define GPU_TYPE_NVIDIA, GPU_TYPE_ATI, use everywhere instead of literal strings "NVIDIA" and "ATI" to ensure uniformity
svn path=/trunk/boinc/; revision=24090
2011-08-31 11:08:13 +00:00
Charlie Fenton a761294166 Vbox wrapper: create XCode project
svn path=/trunk/boinc/; revision=24089
2011-08-31 03:04:15 +00:00
David Anderson 9b89168c49 - validator: in "credit_from_wu" case, record what the new credit
system would have assigned in result.claimed_credit.

svn path=/trunk/boinc/; revision=24088
2011-08-30 22:28:52 +00:00
David Anderson 8b409fffa2 svn path=/trunk/boinc/; revision=24087 2011-08-30 21:51:28 +00:00
David Anderson aa4ba885e9 - vbox wrapper: check for boinc_status.reread_init_data_file,
and if set reread the file, set throttles, and clear flag


svn path=/trunk/boinc/; revision=24086
2011-08-30 21:50:08 +00:00
David Anderson d36ebb68c3 - web: sort GPUs by average elapsed time
svn path=/trunk/boinc/; revision=24085
2011-08-30 21:39:05 +00:00
David Anderson 1bf54d11ff - client: send all running jobs a "reread app info" message
when global prefs change
    (they might have to suspend or resume network activity)


svn path=/trunk/boinc/; revision=24084
2011-08-30 21:34:27 +00:00
David Anderson dde093a021 - client: fix a couple of valgrind warnings
svn path=/trunk/boinc/; revision=24076
2011-08-30 15:36:31 +00:00
Charlie Fenton 7975f0b6ed Vbox wrapper: create XCode project
svn path=/trunk/boinc/; revision=24075
2011-08-30 12:42:23 +00:00
Charlie Fenton 8960452e02 Mac: Copy BOINC libraries built with XCode 4.1 to locations where built by earlier versions of XCode so dependent builds can always find them
svn path=/trunk/boinc/; revision=24074
2011-08-30 11:36:40 +00:00
Charlie Fenton 6b20e6c3a3 Mac: Copy BOINC libraries built with XCode 4.1 to locations where built by earlier versions of XCode so dependent builds can always find them
svn path=/trunk/boinc/; revision=24073
2011-08-30 10:50:41 +00:00