Commit Graph

18149 Commits

Author SHA1 Message Date
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
David Anderson 228f626a01 - API: change boinc_get_opencl_ids() to use APP_INIT_DATA
instead of cmdline


svn path=/trunk/boinc/; revision=24159
2011-09-11 22:22:55 +00:00
David Anderson 9b7d5702ab - manager, simple view:
- edit label text
		- increase opacity of main area;
			otherwise some text is hard to read
		- change borders from blue to light gray.
			In general shouldn't use primary colors
		- display credit as integer
		- reduce size of project name;
			otherwise long names don't fit (on Win)
		- don't use "(in slot x)".
			"Slot" is not part of the vocabulary here.

svn path=/trunk/boinc/; revision=24158
2011-09-11 18:55:19 +00:00
David Anderson 8b5344e922 - client: finish next-to-last checkin
svn path=/trunk/boinc/; revision=24157
2011-09-11 17:26:31 +00:00
David Anderson 4e8177eb04 - client: fix error in parsing of XML comments
svn path=/trunk/boinc/; revision=24156
2011-09-11 05:41:46 +00:00
David Anderson a858fe79d7 - client: don't pass --gpu_type to GPU apps;
this breaks many existing apps.
    Instead, pass the GPU type (and the device number)
    in app_init_data.xml


svn path=/trunk/boinc/; revision=24155
2011-09-11 03:28:22 +00:00
David Anderson e9d37aa65e - client: XML-escape the URLs in RSS feed lists
- lib: make xml_unescape work for arbitrarily large strings


svn path=/trunk/boinc/; revision=24154
2011-09-09 20:13:35 +00:00
Rom Walton 4e1318da86 Quick Updates
svn path=/trunk/boinc/; revision=24153
2011-09-09 19:57:25 +00:00
David Anderson 61082ca10a - web: suppress warning on cache unlink
svn path=/trunk/boinc/; revision=24152
2011-09-09 16:05:46 +00:00
Rom Walton 292995e0cc - Tag for 6.13.3 release, all platforms
boinc_core_release_6_13_3

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24149
2011-09-09 15:00:51 +00:00
Charlie Fenton 0413467723 Mac: More fixes for building under XCode 4.1
svn path=/trunk/boinc/; revision=24148
2011-09-09 10:18:12 +00:00
David Anderson 699ae76f8e - client: new XML parser had a limit of 8KB for strings.
This broke things.  Increase it to 256KB.


svn path=/trunk/boinc/; revision=24147
2011-09-09 06:50:00 +00:00
David Anderson 826cd355e5 - validator: old scheduler bugs may cause result.flops_estimate
to be negative in some cases.
    Detect this, and use 1e10 instead


svn path=/trunk/boinc/; revision=24146
2011-09-08 19:36:14 +00:00
David Anderson 90c84d2c7b - web: fix PHP warning
svn path=/trunk/boinc/; revision=24145
2011-09-08 19:10:10 +00:00
David Anderson 760c16eb03 - scheduler: in work_needed(), ignore requests for resource
types for which we have no app versions
- client: if too many <coproc> elements in cc_config.xml,
    detect it and inform user


svn path=/trunk/boinc/; revision=24144
2011-09-08 18:55:55 +00:00
David Anderson 3fe4507e37 - client: make exit_before_start a cc_config.xml option
(as well as a cmdline option)
- wrapper: print error messages if stdin/out/err files don't exist


svn path=/trunk/boinc/; revision=24143
2011-09-07 22:45:00 +00:00
David Anderson b80f1525f6 - feeder: change the DB query to skip jobs for deprecated apps.
Otherwise, if you have a deprecated app with >= 200 jobs
    (200 is the query's limit)
    it could always get jobs for that app,
    and never put anything into the cache.


svn path=/trunk/boinc/; revision=24142
2011-09-07 19:57:46 +00:00
Rom Walton 731cd277a4 - Tag for 6.13.2 release, all platforms
boinc_core_release_6_13_2

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24140
2011-09-07 17:49:23 +00:00
David Anderson 249435f0d8 - scheduler: fix crashing bug
svn path=/trunk/boinc/; revision=24139
2011-09-07 17:37:50 +00:00
Rom Walton 71d96f22b9 Quick Updates
svn path=/trunk/boinc/; revision=24138
2011-09-07 14:49:34 +00:00
David Anderson 8c49c174c3 - preliminary stuff for mechanism where privileged users
can create apps and app versions
- crontab commands should be preceded by cd to project root


svn path=/trunk/boinc/; revision=24137
2011-09-07 06:54:44 +00:00
David Anderson 8870839583 - scheduler: use new XML parser for most request elements
- scheduler: parse NVIDIA as well as CUDA in app version descriptions
    (workaround for recent clients)


svn path=/trunk/boinc/; revision=24136
2011-09-06 22:53:48 +00:00
David Anderson 8cd20da680 - client: fix bugs with white space around code sign keys
and file signatures
	- client: when describing app versions in scheduler requests,
		we still must use CUDA instead of NVIDIA; that's what's in the server code.

svn path=/trunk/boinc/; revision=24135
2011-09-06 22:50:46 +00:00
David Anderson 248282685e - scheduler: add a debug message
svn path=/trunk/boinc/; revision=24134
2011-09-06 19:34:15 +00:00
Rom Walton 2dbdd61fbb Update Translations
svn path=/trunk/boinc/; revision=24132
2011-09-06 13:57:14 +00:00
Rom Walton f3c9a7295e Update Translations
svn path=/trunk/boinc/; revision=24130
2011-09-06 13:36:49 +00:00
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