Commit Graph

18305 Commits

Author SHA1 Message Date
Rom Walton 7de6b8a378 - Tag for 6.13.7 release, all platforms
boinc_core_release_6_13_7

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24375
2011-10-11 15:07:58 +00:00
Charlie Fenton 2b1a5beb9e Mac installer: start boinc users & groups at ID 501, find human users via Directory Services, use LoginItemAPI.c
svn path=/trunk/boinc/; revision=24374
2011-10-11 13:10:02 +00:00
Charlie Fenton 37837fc394 code optimization
svn path=/trunk/boinc/; revision=24373
2011-10-11 00:35:52 +00:00
Rom Walton 3f180b0278 Quick Updates
svn path=/trunk/boinc/; revision=24364
2011-10-10 14:22:28 +00:00
Rom Walton edbbf54a92 - client: Fix crashing bug in OpenCL detection on Windows.
- lib: Fix crashing bug for debug builds of the BOINC client
    
    client/
        coproc_detect.cpp
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24363
2011-10-10 14:21:08 +00:00
Charlie Fenton 89a6164e64 code cleanup
svn path=/trunk/boinc/; revision=24362
2011-10-10 12:36:26 +00:00
Charlie Fenton e456d3c831 code cleanup
svn path=/trunk/boinc/; revision=24361
2011-10-10 11:50:00 +00:00
Charlie Fenton 33bebdc50a code cleanup
svn path=/trunk/boinc/; revision=24360
2011-10-10 07:09:24 +00:00
David Anderson a33728dbe7 - client: fix bugs in acct manager attach/detach
svn path=/trunk/boinc/; revision=24359
2011-10-09 06:14:25 +00:00
David Anderson f17f816041 - client: fix bugs in acct manager attach/detach
svn path=/trunk/boinc/; revision=24358
2011-10-09 06:01:30 +00:00
David Anderson 1f2accb000 - API: don't crash if send trickle msg running standalone.
From Christian Ries.


svn path=/trunk/boinc/; revision=24357
2011-10-08 16:33:31 +00:00
Charlie Fenton 88128c901d client: Fill in peak flops for each OpenCL GPU before compare
svn path=/trunk/boinc/; revision=24356
2011-10-08 09:44:08 +00:00
David Anderson e00b080b5e - scheduler: fix crashing bug when using HR. From Kevin Reed.
svn path=/trunk/boinc/; revision=24355
2011-10-08 08:16:24 +00:00
David Anderson dd3b628748 - client: compare OpenCL-only devices the same as other devices
- code cleanup


svn path=/trunk/boinc/; revision=24354
2011-10-08 06:33:39 +00:00
David Anderson 279c3a2b37 - scheduler: problem: in the daily quota mechanism,
the boundary between days is 00:00 in server local time.
    This creates a spike of jobs being dispatched
    (and files being downloaded) after that time.

    Solution: distribute the boundary uniformly,
    using a random number determined by the host ID.
    (Make sure to save/restore the seed around this,
    so we don't destroy the randomness of other things)


svn path=/trunk/boinc/; revision=24353
2011-10-08 05:17:44 +00:00
Charlie Fenton ab30d18736 client: Compare openCL-only devices by estimated peak flops
svn path=/trunk/boinc/; revision=24352
2011-10-08 01:38:37 +00:00
Charlie Fenton 3645b573a9 client: Compare openCL-only devices by estimated peak flops
svn path=/trunk/boinc/; revision=24351
2011-10-08 01:20:44 +00:00
Charlie Fenton 973d113569 client: improve code which writes OpenCL descriptions
svn path=/trunk/boinc/; revision=24350
2011-10-08 00:03:50 +00:00
David Anderson dc7e407532 - client/scheduler: the code for estimating peak FLOPS of ATI GPUs
(from Crunch3r) has a multiplier of 2.5 for cores/processor.
    This is possibly because give a double-precision estimate.
    But actually we want single-precision.  Change it to 5. See
    http://golubev.com/about_cpu_and_gpu_2_en.htm


svn path=/trunk/boinc/; revision=24349
2011-10-07 21:59:07 +00:00
David Anderson 57c04979b3 - client: don't do scheduler-requested RPCs if
- project is set to No New Work, and
    - project has no jobs on the client


svn path=/trunk/boinc/; revision=24348
2011-10-07 21:20:42 +00:00
David Anderson 0e225d889d - client (Mac): there was no error check of the creation
of a memory-mapped file used for communication with an app.
     Add a check, and don't start the job if it fails.


svn path=/trunk/boinc/; revision=24347
2011-10-07 20:05:54 +00:00
David Anderson c6327eeb73 - client and scheduler: estimate peak FLOPS for GPUs that
are detected by OpenCL but not by native APIs (CUDA/CAL).
    This is limited by the fact that OpenCL doesn't give
    us the necessary hardware info
    (ATI; wavefrontSize; NVIDIA: compute capability).
    We use the minimum values for these,
    so in most cases we'll be underestimating the peak FLOPS.


svn path=/trunk/boinc/; revision=24346
2011-10-07 19:47:35 +00:00
David Anderson 6da80764fc - scheduler add app_plan() support for plan classes
opencl_nvidia_101 and opencl_ati_101


svn path=/trunk/boinc/; revision=24345
2011-10-07 19:23:37 +00:00
David Anderson 3acc4fa77d - client/server: change field names in OPENCL_DEVICE_PROP
to match those in the clGetDeviceInfo() calls.
    Principles:
    - if there's already a name for something, use it.
    - follow case conventions


svn path=/trunk/boinc/; revision=24344
2011-10-07 18:11:52 +00:00
Charlie Fenton be38cab062 client: write descriptions of OpenCL devices to stdout; work around a bug where OpenCL reports global RAM of ATI GPUs incorrectly
svn path=/trunk/boinc/; revision=24343
2011-10-07 12:05:19 +00:00
Charlie Fenton 3e125d15a9 client: write descriptions of OpenCL devices to stdout; work around a bug where OpenCL reports global RAM of ATI GPUs incorrectly
svn path=/trunk/boinc/; revision=24342
2011-10-07 11:45:44 +00:00
David Anderson 56492aaeac - client: fix bug in writing daily xfer history file
svn path=/trunk/boinc/; revision=24341
2011-10-06 17:39:13 +00:00
David Anderson 115ca46730 - GUI RPC: add get_daily_xfer_history() RPC for getting
the daily records of #bytes uploaded and downloaded


svn path=/trunk/boinc/; revision=24340
2011-10-06 17:23:16 +00:00
David Anderson 6911932d84 - client: problem: suppose a project has 2 data servers,
and one of them is down.
    If several downloads from the broken one fail,
    we go into "project-level backoff"
    and don't start downloads from either server.
    (Same applies to uploads).

    Solution: make project-level backoff apply only to
    transfers that have already failed at least once


svn path=/trunk/boinc/; revision=24339
2011-10-06 06:13:33 +00:00
David Anderson ae3d5a85dd - scheduler: fix bug that caused scheduler to not send GPU jobs
svn path=/trunk/boinc/; revision=24338
2011-10-06 02:56:30 +00:00
David Anderson 0990d99fdb - client: free vectors in NOTICES, RSS_FEEDS, and DAILY_XFER_HISTORY
in free_mem() (for mem leak checking)


svn path=/trunk/boinc/; revision=24337
2011-10-06 01:14:21 +00:00
David Anderson c7e505dc81 - client: fix memory leak when reading stderr of completed job.
This caused 128KB + size of stderr loss for each job.
- client: print error message if reading stderr fails
    (e.g. because of malloc failure)


svn path=/trunk/boinc/; revision=24336
2011-10-05 22:16:02 +00:00
Rom Walton f304e50691 - Lib: Re-enable boinc lib mem snapshots for BOINC based applications (boinc,
boincmgr, boinc.scr) on Windows.
        
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24335
2011-10-05 21:45:35 +00:00
Rom Walton 68d7bb0426 Quick Updates
svn path=/trunk/boinc/; revision=24334
2011-10-05 21:33:51 +00:00
David Anderson 0224ea7bb2 - client: fix a memory leak; would lose ~120 bytes each time a job is started
svn path=/trunk/boinc/; revision=24333
2011-10-05 19:20:53 +00:00
David Anderson 228f56b464 - client: in the function that sorts jobs by arrival time,
don't use name as a tiebreaker.
    The will typically group jobs of the same application,
    and (it is believed that) things run faster when
    applications are mixed.
- scheduler: bug: if a client gets host-specific prefs
    (e.g. from an account manager)
    it will send only the working prefs to the scheduler.
    The scheduler then always sends back the DB prefs,
    overwriting the host-specific prefs.
    Fix: note the mod time in the working prefs,
    and only send the DB prefs if they're more recent.


svn path=/trunk/boinc/; revision=24332
2011-10-05 04:12:16 +00:00
Rom Walton 0671d2ed97 - WINSCR: Before shutting down the screensaver, quickly reinitialize the OpenGL device
on the primary display.  Some of the issues being reported with the screensaver
        is a left over ghost image of the OpenGL display before the graphics application
        was terminated because keyboard/mouse activity was detected.

    clientscr/
        screensaver_win.cpp
    win_build/
        boinc_os_ss.vcproj

svn path=/trunk/boinc/; revision=24331
2011-10-04 18:39:02 +00:00
David Anderson 80a6db29d6 - client: win compile fixes
svn path=/trunk/boinc/; revision=24330
2011-10-04 18:19:57 +00:00
David Anderson abbdd5c71a - client: don't show "(device N)" if there's only 1 device
svn path=/trunk/boinc/; revision=24329
2011-10-04 18:11:47 +00:00
David Anderson 1e4f187cb5 - client: don't generate notice if lookup of host
in remote_hosts.cfg fails.

svn path=/trunk/boinc/; revision=24328
2011-10-04 17:14:17 +00:00
David Anderson c84ede6156 - scheduler: record VirtualBox version # in the host table
svn path=/trunk/boinc/; revision=24327
2011-10-04 03:33:04 +00:00
David Anderson c2cdaacf89 - scheduler: fix bugs that broke work fetch for anonymous platform;
don't send irrelevant messages to anon platform clients


svn path=/trunk/boinc/; revision=24326
2011-10-03 23:43:53 +00:00
David Anderson 57fc54ae53 - lib: move XML parse test program to its own file.
Note: XML_PARSER::parse_str() doesn't currently work right
    for something like <foo><a>xx</a></foo>.
    It should return "<a>xx</a>".
    TODO.


svn path=/trunk/boinc/; revision=24325
2011-10-03 21:43:34 +00:00
David Anderson 36fc4b7bb3 - web: fix error in profile listings.
From Uwe Becker.


svn path=/trunk/boinc/; revision=24324
2011-10-03 17:11:45 +00:00
Charlie Fenton 95ecb2acda client: Fix compiler warnings
svn path=/trunk/boinc/; revision=24319
2011-10-03 07:55:33 +00:00
Charlie Fenton ebdb8094f1 client: Fix compiler warnings
svn path=/trunk/boinc/; revision=24318
2011-10-03 07:54:22 +00:00
David Anderson 5c0d5d371e - client: compute project scheduling priority more efficiently
- client: if an app version can't be used because the GPUs it needs
    are all excluded, mark it and all its results as "coproc missing"
    so that they won't be looked at in scheduling logic.


svn path=/trunk/boinc/; revision=24317
2011-10-03 06:18:58 +00:00
David Anderson 090050c0ca - client: fix bug that could cause GPU idleness
in the presence of GPU exclusions.
    The problem was in the job-selection phase,
    which picks enough jobs to use all devices.
    It was ignoring GPU exclusions, so for example on
    a 2 GPU system it could pick 2 jobs from a project
    for which 1 GPU is excluded,
    and as a result 1 GPU would be idle.

    Solution: during job selection,
    keep track of GPU usage on a per-instance basis.
    Select a job only if it can run on a non-excluded GPU.

- client: in computing ncprocs_excluded (which is used in
    work fetch policy) don't count exclusions of non-existent devices


svn path=/trunk/boinc/; revision=24316
2011-10-03 03:29:58 +00:00
David Anderson d8a5fe6074 - team import script: don't exit if fail to create user.
The failure may be because the email is banned
	(as happened w/ SETI@home)


svn path=/trunk/boinc/; revision=24315
2011-10-02 06:59:00 +00:00
David Anderson 56d83a91b5 - client: specify the project in "Some tasks need more memory
than allowed by your preferences" messages


svn path=/trunk/boinc/; revision=24314
2011-10-01 18:02:49 +00:00