Commit Graph

19501 Commits

Author SHA1 Message Date
David Anderson 0a3e2fd553 svn path=/trunk/boinc/; revision=26110 2012-09-14 06:20:10 +00:00
David Anderson cc13f2ee6f - scheduler: fix logic error limited locality scheduling.
In LLS array pass, skip file-on-host check if host
    doesn't have any sticky files.
    TODO: it should actually be "any sticky files for this app".
    But we currently don't have any way to know that.


svn path=/trunk/boinc/; revision=26108
2012-09-13 17:38:55 +00:00
Wenjing Wu d00c1bce58 svn path=/trunk/boinc/; revision=26107 2012-09-13 11:41:23 +00:00
David Anderson 96b8bc39d0 - user web: fix bug when do forum search on Google
svn path=/trunk/boinc/; revision=26101
2012-09-12 22:31:23 +00:00
Charlie Fenton aff3b7675c client: Don't support CUDA on dual-GPU MacBooks with automatic GPU switching to save battery power
svn path=/trunk/boinc/; revision=26088
2012-09-12 10:05:41 +00:00
Eric J. Korpela b7741c880e -fixed bug in plan_class_spec.cpp the resulting in GPU performance
not being included in scheduler or credit calculations.


svn path=/trunk/boinc/; revision=26087
2012-09-10 22:56:46 +00:00
Rom Walton 2882d5bc29 - client: initialize memfree and memtotal before use for Nvidia
cards.  It appears that the Nvidia API was only setting 32-bits
        of the 64-bit value.  The remaining 32-bits were whatever
        was on the stack.
        
    client/
        gpu_nvidia.cpp

svn path=/trunk/boinc/; revision=26084
2012-09-10 17:56:09 +00:00
Charlie Fenton a02ceae225 client: work around a nasty bug which crashes OSX (!) on some dual-gpu MacBooks with CUDA
svn path=/trunk/boinc/; revision=26082
2012-09-08 13:04:37 +00:00
David Anderson 5a7f63db93 svn path=/trunk/boinc/; revision=26081 2012-09-08 05:39:44 +00:00
David Anderson 77f44e521c - scheduler: more detailed msgs for NCI job sending
svn path=/trunk/boinc/; revision=26080
2012-09-08 04:05:50 +00:00
David Anderson 6b81e2ffc3 - scheduler: fix sending of NCI jobs.
We were failing to mark the cache entries as free.
- API: initialize GPU device # to -1;
    If client doesn't give us a device number, something is wrong
    and it's better to not start computing.


svn path=/trunk/boinc/; revision=26079
2012-09-06 23:44:03 +00:00
David Anderson 6ba0dd5722 svn path=/trunk/boinc/; revision=26078 2012-09-06 22:46:02 +00:00
David Anderson d83b882851 svn path=/trunk/boinc/; revision=26077 2012-09-06 19:41:49 +00:00
David Anderson 455dd3bb95 - scheduler: fix bug in homogeneous app version.
We were using a static BEST_APP_VERSION in
    check_homogeneous_app_version(),
    and it wasn't being initialized on each call
    (e.g. its HOST_USAGE was not being cleared).


svn path=/trunk/boinc/; revision=26076
2012-09-06 19:25:05 +00:00
David Anderson d339beb76e - admin web: credit browser tweaks
svn path=/trunk/boinc/; revision=26075
2012-09-06 17:13:35 +00:00
David Anderson 19602f45f0 - admin web: improve script for browsing credit info
- client: add a coproc-missing message


svn path=/trunk/boinc/; revision=26074
2012-09-06 03:58:24 +00:00
Wenjing Wu 487916c8e9 ICT job submission
svn path=/trunk/boinc/; revision=26073
2012-09-05 14:36:39 +00:00
David Anderson b412b9d172 - client: fix bug that broke file signing with X.509 certificates.
From matszpk.  Fixes #1168.


svn path=/trunk/boinc/; revision=26071
2012-09-02 20:05:20 +00:00
Wenjing Wu 0f8cb89499 create_work for treeThreader
svn path=/trunk/boinc/; revision=26070
2012-09-01 06:34:04 +00:00
David Anderson 8fb14e28ba svn path=/trunk/boinc/; revision=26069 2012-09-01 06:28:46 +00:00
David Anderson 11a6e85632 - scheduler: support for projects with some non-CPU-intensive apps
(but not all) wasn't finished.
    New logic: if the project has an NCI app then:
    - make a list of NCI apps for which the client doesn't have
        a job in progress.
    - try to send one job for each of these apps
    - do this even if no work is being requested.
    - don't send jobs for NCI apps by other mechanisms

NOTE: the client logic isn't quite right for mixed NCI projects.
    If there's no job for a given NCI app,
    the client should do a scheduler RPC.
    This isn't critical so we won't do this now.


svn path=/trunk/boinc/; revision=26068
2012-09-01 04:58:12 +00:00
David Anderson b1d1e21de4 - remote job submission: start writing a general-purpose
cmdline tool for remote job submission (not done)
- remote job submission: support the 4 file modes described
    in the documentation (not done)


svn path=/trunk/boinc/; revision=26067
2012-08-31 06:11:06 +00:00
David Anderson 6b7fb36056 - scheduler: msg tweaks
svn path=/trunk/boinc/; revision=26066
2012-08-29 18:08:15 +00:00
David Anderson 96b6e172f9 - scheduler: improved log messages for limited locality scheduling
svn path=/trunk/boinc/; revision=26065
2012-08-29 03:09:10 +00:00
Charlie Fenton be91b976ce Mac: minor tweak to Xcode project
svn path=/trunk/boinc/; revision=26064
2012-08-28 11:36:03 +00:00
David Anderson d02ff6e1c5 - fix typo
svn path=/trunk/boinc/; revision=26063
2012-08-28 06:33:53 +00:00
David Anderson 9ccb8fa38d - scheduler: add support for limited locality scheduling
- API: remove support for PPM files


svn path=/trunk/boinc/; revision=26062
2012-08-27 17:00:43 +00:00
David Anderson 0483da30f4 - server: compile fix
- server: add nfiles_on_host(),
    a support function for "locality scheduling lite".


svn path=/trunk/boinc/; revision=26061
2012-08-26 21:24:18 +00:00
David Anderson 32da1a7e37 - server: add support for having a mixture of CPU-intensive
and non-CPU-intensive applications.
    An app can be specified as non-CPU-intensive in project.xml,
    and this attribute can be set or cleared using the admin web interface.
    Note: support for this was added to the client in 2011,
    but we didn't add server-side support at that time.
    This change is in 6.12 and later clients.


svn path=/trunk/boinc/; revision=26060
2012-08-25 04:09:24 +00:00
David Anderson a9e78b6459 - volunteer storage: fix the way that hosts are classified as alive/dead
- add a config item vda_host_timeout.
        A host that hasn't done a scheduler RPC for this long
        is considered dead.
    - a host that's not running a version 7+ client is considered dead
    - host.cpu_efficiency (an otherwise unused field) is used
        as a flag for dead hosts
    - the scheduler clears the flag if the client is v7+
    - vdad sets the flag for hosts where last RPC is old
    - before choosing a host for chunk download,
        vdad checks its client version.


svn path=/trunk/boinc/; revision=26059
2012-08-24 19:06:41 +00:00
Eric J. Korpela d08a619acc - fixed bug in generate_svn_version.sh that generated incorrect output
on unix systems that don't synchronize writes to the same file from 
  opposite sides of a pipe. 


svn path=/trunk/boinc/; revision=26058
2012-08-24 00:36:13 +00:00
Rom Walton 5a6b02985d - client: streamline the console detach process under Windows.
svn path=/trunk/boinc/; revision=26057
2012-08-22 21:58:55 +00:00
David Anderson 2ebc7de2cb - file_upload_handler: bug fix
- volunteer storage: buf fixes


svn path=/trunk/boinc/; revision=26056
2012-08-22 18:23:01 +00:00
David Anderson e79d3ea4c8 - client: change the way project disk share is computed.
- Allow projects to report "desired disk usage" (DDU).
        If the client learns that a project wants disk space,
        it can shrink the allocation to other projects.
    - Base share computation on DDU rather than disk usage.
    - Introduce the notion of "disk resource share".
        This is defined (somewhat arbitrarily) as resource share
        plus 1/10 of the largest resource share.
        This is intended to ensure that even zero-share projects
        get enough disk space to store app versions and data files;
        otherwise they wouldn't be able to compute.
- server: use host.d_boinc_max (which wasn't being used)
    to start d_project_share reported by client.
- volunteer storage: change the way hosts are allocated to chunks.
    Allow hosts to store several chunks of the same file, if needed


svn path=/trunk/boinc/; revision=26052
2012-08-22 04:02:52 +00:00
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