Commit Graph

18315 Commits

Author SHA1 Message Date
Charlie Fenton cb45cec08c atiopencl sample: call boinc_get_opencl_ids() if not stand-alone; improve error messages
svn path=/trunk/boinc/; revision=24387
2011-10-13 10:25:09 +00:00
Charlie Fenton e6aaa11b27 client: fix honoring of cc_config ignore GPU options
svn path=/trunk/boinc/; revision=24386
2011-10-13 00:12:15 +00:00
David Anderson b1456cfc0b - scheduler: fix a bug that would choose app versions erroneously.
The problem: the choice of app version was based on
    the "projected FLOPS" return by estimate_flops(av).
    If usage stats exist for the host / app version,
    this returns a number X such that
    WU.rsc_fpops_est/X approximates the runtime of a job
    using the given app version..
    (If WU.rsc_fpops_est is way off, this will be correspondingly way off
    from the actual FLOPS the app version will get.)
    However, if there are no usage stats,
    it return an estimate based on host hardware speed,
    which might be 100X less.
    Hence, in some cases a new app version would never get used.

    Solution: choose app versions based on the values
    returned by the app plan functions.
    Use estimate_flops() AFTER choosing the version.
- scheduler: improve the accuracy of FLOPS estimation for GPU apps.
    The "flops_scale" argument to coproc_perf
    (which expresses the difference between peak GPU FLOPS
    and actual FLOPS) should be used to scale GPU FLOPS
    prior to calling coproc_perf(),
    rather than scaling the estimate returned by coproc_perf().
- show_shmem: show have_X_apps flags


svn path=/trunk/boinc/; revision=24385
2011-10-12 23:59:38 +00:00
Rom Walton b1879cb764 - Tag for 6.13.8 release, all platforms
boinc_core_release_6_13_8

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24383
2011-10-12 06:37:14 +00:00
Charlie Fenton 7bde8c785f client: fix NVIDIA driver version and CUDA version display for Mac
svn path=/trunk/boinc/; revision=24382
2011-10-12 01:15:35 +00:00
Charlie Fenton af369205a0 client: fix NVIDIA driver version and CUDA version display for Mac
svn path=/trunk/boinc/; revision=24381
2011-10-12 00:21:04 +00:00
Rom Walton b7f4b13342 - vbox: Move the destination of the VBOX_USER_HOME environment variable to
<boinc_data_dir>/projects/virtualbox so that the virtualbox configuration
        can remain consistent across one or more projects.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24380
2011-10-11 20:01:32 +00:00
David Anderson 9b45adb7cc - web: typo fix
svn path=/trunk/boinc/; revision=24379
2011-10-11 18:58:54 +00:00
David Anderson 0793e66ff7 - client and user web: show NVIDIA driver version and CUDA version
as, e.g., 275.33 instead of 27533


svn path=/trunk/boinc/; revision=24378
2011-10-11 18:57:49 +00:00
David Anderson cb3cdae1a5 - client/server: add a new result state RESULT_UPLOAD_FAILED
for when the job completed successfully but
    one or more output files had permanent upload failures.
    Show this state in web interfaces.
- sample_work_generator: check return value of count_unsent_results(),
    so that we don't generate infinite work if there's a DB problem
- web: RSS feed shows news items from last 90 days, rather than 14


svn path=/trunk/boinc/; revision=24377
2011-10-11 17:41:10 +00:00
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