Commit Graph

19467 Commits

Author SHA1 Message Date
David Anderson 446bc4ca28 - client: take GPU exclusions into account when making
initial work request to a project
- client: put some casts to double in NVIDIA detect code.
    Shouldn't make any difference.
- volunteer storage: truncate file to right size after retrieval


svn path=/trunk/boinc/; revision=26051
2012-08-20 23:41:27 +00:00
David Anderson 52068b5f2d - client: print log msgs (enabled by task_debug) if the client
times out on quitting or aborting a task, and has to kill it.
- volunteer storage: bug fixes


svn path=/trunk/boinc/; revision=26050
2012-08-20 19:48:57 +00:00
Charlie Fenton eb40422c34 client: If OpenCL detection gets an error for a platform or device, finish detection of the remaining platforms and / or devices
svn path=/trunk/boinc/; revision=26047
2012-08-20 10:04:19 +00:00
David Anderson 80be72e9b5 - file upload handler:
Do first read from socket before opening the disk file
    (an attempt to fix filesystem lockups on WCG).
    Increase buffer size from 16KB to 256KB.


svn path=/trunk/boinc/; revision=26046
2012-08-18 23:38:52 +00:00
David Anderson 4fea52c6f2 - client: if a project has excluded GPUs of a given type,
allow it to fetch work of that type if the # of runnable
    jobs it <= the # of non-excluded instances (rather than 0).


svn path=/trunk/boinc/; revision=26045
2012-08-18 23:26:10 +00:00
David Anderson c0058ee5eb - volunteer storage: various
svn path=/trunk/boinc/; revision=26043
2012-08-17 23:27:44 +00:00
David Anderson b029e352c9 - scheduler: if sending GPU description to pre-7.0 client,
call it CUDA instead of NVIDIA


svn path=/trunk/boinc/; revision=26042
2012-08-17 06:10:25 +00:00
David Anderson 0d42a4aa5c - file upload handler: add an #ifdef for disabling locking of files
while writing to them.
    It's not clear to me that this locking is beneficial,
    and it may be causing filesystem problems at WCG
- volunteer storage stuff


svn path=/trunk/boinc/; revision=26021
2012-08-15 21:27:38 +00:00
Charlie Fenton 5cc5c8b5b8 Mac installer: Fixes for short (posix) user names containing spaces
svn path=/trunk/boinc/; revision=26018
2012-08-15 09:09:41 +00:00
Charlie Fenton 7b46fdaa40 Mac installer: Fixes for short (posix) user names containing space
svn path=/trunk/boinc/; revision=26016
2012-08-15 07:11:08 +00:00
David Anderson 8290ce1d11 - volunteer storage stuff
svn path=/trunk/boinc/; revision=26015
2012-08-13 23:15:50 +00:00
Rom Walton 5cbdbe7977 - WINSETUP: Provide the ability to create the acct_mgr_login.xml from
from the command line.  Useful for mass deployments within companies
        and charities.


svn path=/trunk/boinc/; revision=26013
2012-08-13 19:46:04 +00:00
David Anderson 25c2f6b49c - client: treat all 4xx HTTP errors as permanent
- code cleanup
- API: increase a buffer in timer_handler() from 256 to 512.


svn path=/trunk/boinc/; revision=26012
2012-08-13 18:23:20 +00:00
Eric J. Korpela c6412b8d90 Added some entries for some missing checkins.
svn path=/trunk/boinc/; revision=26011
2012-08-13 17:34:01 +00:00
David Anderson b6234edc95 - db_purge: fix typo that cause bad DB query when using assignments
svn path=/trunk/boinc/; revision=26010
2012-08-12 06:54:20 +00:00
David Anderson f09596421c - server: compile fix
svn path=/trunk/boinc/; revision=26009
2012-08-11 16:42:29 +00:00
David Anderson 53782b7de4 - lib: switch include order to the way it was (general to specific).
Should fix MinGW compile


svn path=/trunk/boinc/; revision=26008
2012-08-11 05:47:18 +00:00
David Anderson afb86208d3 - client: Android-related tweaks, from Joachim
svn path=/trunk/boinc/; revision=26007
2012-08-11 04:52:53 +00:00
David Anderson 0129c1c53d - server: fix bug in restrict_wu_to_user() that caused it
to go into infinite loop


svn path=/trunk/boinc/; revision=26006
2012-08-11 04:20:48 +00:00
David Anderson cd1f79fbbc - API: add boinc_set_min_checkpoint_period(int).
Lets application specify a min checkpoint interval.
    The actual min checkpoint interval is the max of this
    and the user-specified pref for min disk interval.


svn path=/trunk/boinc/; revision=26005
2012-08-10 22:20:41 +00:00
David Anderson 294ffea97a code tweak
svn path=/trunk/boinc/; revision=26004
2012-08-10 19:54:17 +00:00
David Anderson 9fa75d5044 - client: tweak to the above: never ask for work if buffer > max.
This is needed to prevent projects that use next_rpc_delay
    from queuing unbounded work.


svn path=/trunk/boinc/; revision=26003
2012-08-10 18:49:22 +00:00
David Anderson ff1a391ced - client: when we're making a scheduler RPC
for a reason other than work fetch,
    and we're deciding whether to piggyback a work request,
    skip the checks for hysteresis (buffer < min)
    and for per-resource backoff time.
    These checks are there only to limit the rate of RPCs,
    which is not relevant since we're doing one any.

    This fixes a bug where a project w/ sporadic jobs specifies
    a next_rpc_delay to ensure regular polling from clients.
    When these polls occur they should request work regardless of backoff.


svn path=/trunk/boinc/; revision=26002
2012-08-10 18:29:00 +00:00
Eric J. Korpela d49976d6c6 svn path=/trunk/boinc/; revision=26001 2012-08-09 20:34:35 +00:00
Eric J. Korpela 9b9ec18d69 - Fixed typo
svn path=/trunk/boinc/; revision=26000
2012-08-09 16:23:38 +00:00
Eric J. Korpela 5c24fc50eb - Credit is more stable when pegged_avg() is used.
- When a normal and an approx result are compared the normal result now gets
  double weight in a pegged_avg() with any approx results. "Normal mode" GPU 
  results are frequently resulting in bad credit values for yet undetermined 
  reasons.  Since GPUs are so fast, there can be a lot of bad values in a 
  short time.  Including the prior average and another result even seems to
  prevent this in many case.
- Replaced many of the if { msg_log.printf } with msg_log.cond_printf()
- Accidentally changed some of the formatting when trying a new editor that
  apparently autoformats. Sorry for the extra diff lines.
- There's a problem with pfc calculation for hosts whose credit calculation
  fails the sanity check.  This has been a problem for a long time.  Because the
  result fails the sanity check, the host_app_version pfc is never updated.
  Because hav.pfc is never updated, the credit calculation continues to be
  wrong. To quote Quinn, it's like one of those viscious things. I hope to 
  fix that soon.

svn path=/trunk/boinc/; revision=25999
2012-08-09 03:02:51 +00:00
Eric J. Korpela 9df37a1b89 - Added conditional printf to the message log class, since most scheduler log
output seems to be conditional on config parameters such as
  config.debug_version_select.

svn path=/trunk/boinc/; revision=25998
2012-08-09 01:49:03 +00:00
Charlie Fenton 31c4aa49c5 MGR: Fix build break
svn path=/trunk/boinc/; revision=25997
2012-08-09 00:56:10 +00:00
David Anderson d085bc4ee6 - Client/manager: there was a bug because some code was writing
"cpu" in XML, and other code was looking for "CPU".
    To fix this and prevent similar problems,
    processor type names are now encapsulated in proc_type_name_xml().
    Code should use this rather than having hard-wired names.
    Redefine: GPU_TYPE_* as macros that call proc_type_name_xml().


svn path=/trunk/boinc/; revision=25996
2012-08-08 23:09:43 +00:00
David Anderson 7335c036fc - server: volunteer storage bug fixes.
Note to self: jerasure's decoder program loops or crashs
        if there are no missing chunks.

svn path=/trunk/boinc/; revision=25995
2012-08-08 21:37:51 +00:00
Eric J. Korpela 04c485b8da svn path=/trunk/boinc/; revision=25994 2012-08-08 20:20:52 +00:00
Charlie Fenton 0c30ba9784 WIN: Remove reference to deleted tgalib.cpp file
svn path=/trunk/boinc/; revision=25993
2012-08-08 01:20:51 +00:00
David Anderson 2dd5276300 - client: parse <network_wifi_only> in prefs
- server: compile fix


svn path=/trunk/boinc/; revision=25991
2012-08-07 22:49:40 +00:00
Rom Walton 813409168b - WINSCR: Fix problem with the screensaver needlessly cycling in
preview mode.  Ugh.

svn path=/trunk/boinc/; revision=25990
2012-08-07 21:43:30 +00:00
Rom Walton fd631016cb - API: Remove ttfont.cpp from Makefile.am. Apps should include it
in there Makefile as needed.

svn path=/trunk/boinc/; revision=25989
2012-08-07 18:11:38 +00:00
Rom Walton 8a5053e670 - MGR: Enforce the 0..10 day limit on the connect interval for the
advanced preferences dialog.  At some point we should rename
        it.

    clientgui/
        DlgAdvPreferences.cpp

svn path=/trunk/boinc/; revision=25988
2012-08-07 17:21:58 +00:00
David Anderson 26d702789c - client: fix error in runtime estimation for active tasks
svn path=/trunk/boinc/; revision=25987
2012-08-06 23:25:31 +00:00
Rom Walton abc3c85ce8 - WIN: Don't include the newer DBGHELP symbols in MinGW64.
(From Oliver Bock)
        
    lib/
        stackwalker_imports.h

svn path=/trunk/boinc/; revision=25986
2012-08-06 15:39:37 +00:00
David Anderson 13b6aefbd7 - scheduler: fix message typo
svn path=/trunk/boinc/; revision=25985
2012-08-05 01:40:19 +00:00
Eric J. Korpela 89695dd531 - Added check of header <sys/sem.h> and associated macro HAVE_SYS_SEM_H
svn path=/trunk/boinc/; revision=25984
2012-08-04 19:04:35 +00:00
David Anderson e20c9a42b7 - client: other Android stuff, from Joachim
svn path=/trunk/boinc/; revision=25983
2012-08-04 00:56:08 +00:00
David Anderson 22f93cf009 - Client: initial checkin for Android version. From Joachim Fritzsch.
svn path=/trunk/boinc/; revision=25982
2012-08-04 00:27:32 +00:00
Charlie Fenton 0dc55b4634 Mac: Update build instructions and build script
svn path=/trunk/boinc/; revision=25980
2012-08-03 22:20:28 +00:00
Charlie Fenton ea7f93f484 Mac: Update build instructions and build script
svn path=/trunk/boinc/; revision=25978
2012-08-03 22:08:27 +00:00
Charlie Fenton 74452bfbd0 API: remove references to removed files bmplib.h and tgalib.h
svn path=/trunk/boinc/; revision=25977
2012-08-03 22:07:04 +00:00
David Anderson 2b2e7c5cf9 - API: remove support for BMP and TGA image files;
the code to parse these had no license info.
    Only JPEG is supported now.


svn path=/trunk/boinc/; revision=25976
2012-08-03 21:56:42 +00:00
Rom Walton 1799dd2620 - WIN: Make the example graphics application build again.
- WIN: Get rid of the linker warnings for both the default screensaver and
        the example graphics application

svn path=/trunk/boinc/; revision=25975
2012-08-03 21:12:49 +00:00
David Anderson 1189951953 - volunteer storage. Seems to be working, at least in simulation
svn path=/trunk/boinc/; revision=25974
2012-08-03 16:41:00 +00:00
Rom Walton e613459377 - VBOX: Do not perform the hardware virtualization check when the
guest VM is 64-bit.  64-bit guest vms require hardware virtualization
        and should fail without it.
    - VBOX: Implement the <copy_to_shared/> directive in the vbox_job.xml file.
        if <copy_to_shared>init_data.xml</copy_to_shared> is set, the wrapper will
        copy the init_data.xml file to the shared directory before the VM is launched.

svn path=/trunk/boinc/; revision=25973
2012-08-03 16:24:12 +00:00
Charlie Fenton 21cd3d3ffd Sample Graphics app: Switch from *.txf fonts to TrueType font
svn path=/trunk/boinc/; revision=25972
2012-08-03 12:11:27 +00:00