Commit Graph

18285 Commits

Author SHA1 Message Date
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
David Anderson b9c9d83e5c svn path=/trunk/boinc/; revision=24313 2011-10-01 16:24:45 +00:00
David Anderson b7f1aa0226 - client: fix a bug reported by Jacob Klein,
where work fetch didn't work right in the presence of
    multiple GPUs and <exclude_gpu> config options.
    For example: suppose:
        - you have 2 GPUs and 2 projects
        - Project A is excluded from GPU 1
        - you have lots of jobs for project A
    Then the client won't try to fetch jobs from project B.

    The problem had 2 parts:
    a) round-robin simulation wasn't taking GPU exclusions into account.
        In the above example, it would think that both GPUs had jobs.
        I fixed this by computing the # of GPUs from each project
        is excluded, and using this in the RR simulation.
    b) Once this was done, I needed to make the client
        request GPU jobs from project B rather than project A.
        I did this with following policy:
        If a project has excluded GPUs of a given type,
        and has a runnable job of that type,
        don't ask it for more work of that type.

    Notes:
    - the policy in b) is crude, and it means that work-buffer
        preferences are ignored in some cases.
    - neither a) nor b) takes into account app-level exclusions.

    I could fix both of these with a lot of work,
    but I'd rather move to a model in which dissimilar GPUs
    are modeled as different resources,
    which would remove the need for the <exclude_gpu> mechanism
    in the first place.

- web: remove extraneous ) at end of button tooltips


svn path=/trunk/boinc/; revision=24312
2011-10-01 16:23:28 +00:00
Charlie Fenton 6f4abb4450 Release Mac BOINC 6.13.6 to alpha test
svn path=/trunk/boinc/; revision=24311
2011-09-30 22:13:21 +00:00
Rom Walton f35b34ca30 - WINSETUP: Add more logging to the create group and add user to group
functions in an attempt to figure out what is going on with Windows 8.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCGroups.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24310
2011-09-30 17:56:34 +00:00
Rom Walton 451fa07fe9 Quick Updates
svn path=/trunk/boinc/; revision=24308
2011-09-30 16:44:12 +00:00
David Anderson 32583581ac - manager: fix build break on Linux
Undoes part of yesterday's checkin.
- more changes from #ifdef HAVE_X to #if HAVE_X


svn path=/trunk/boinc/; revision=24307
2011-09-28 17:33:26 +00:00
Charlie Fenton b4c1c708cd client: Fix compile break on Mac
svn path=/trunk/boinc/; revision=24306
2011-09-28 01:09:48 +00:00
Charlie Fenton c7dd09e9b2 client: Fix compiler warnings on Mac
svn path=/trunk/boinc/; revision=24305
2011-09-28 00:08:30 +00:00
Charlie Fenton a55a1fdf14 client: Fix compile break on Mac
svn path=/trunk/boinc/; revision=24304
2011-09-28 00:07:06 +00:00
David Anderson e279b59913 - Updates Linux notifications to use current libnotify.
- Fix build problems on Mac OS X using autotools
- Consistently use #if HAVE_X for platform checks,
    rather than #ifdef HAVE_X or #if defined(HAVE_X)
- In Unix build, make lots of compiler checks standard
- Fix some compile warnings

From Matt Arsenault.

Note: there are now lots of compile warnings in clientgui/ on Unix,
    mostly in WxWidgets code


svn path=/trunk/boinc/; revision=24303
2011-09-27 19:45:27 +00:00
David Anderson b22af32895 - fix comment
svn path=/trunk/boinc/; revision=24302
2011-09-27 17:20:31 +00:00
Rom Walton d4dd0ed53d lib: only build the static version of libboinc.
lib/
        Makefile.am

svn path=/trunk/boinc/; revision=24301
2011-09-27 16:34:31 +00:00
Rom Walton d8a2fe743a - web: The create_account RPC supports taking an invite_code parameter
but we currently do not expose a way in get_project_config to determine
        that a UI should prompt for one.  Add a <invite_code_required/> tag
        if the project is only accepting new accounts by invitation.
        
    html/user/
        get_project_config.php

svn path=/trunk/boinc/; revision=24300
2011-09-27 15:22:34 +00:00
Charlie Fenton a0096d3ae1 client: Fix compile break on Mac
svn path=/trunk/boinc/; revision=24299
2011-09-27 11:34:18 +00:00
David Anderson d886dfcc37 - web: when showing a user's posts, don't show the ones
in hidden threads
- web: in showing the context of a post, link the thread also.


svn path=/trunk/boinc/; revision=24298
2011-09-27 07:35:26 +00:00
David Anderson 9667ff52a8 - client simulator: fixes
- client: message tweaks


svn path=/trunk/boinc/; revision=24297
2011-09-26 23:34:40 +00:00
Rom Walton 7039c53d09 Quick Updates
svn path=/trunk/boinc/; revision=24296
2011-09-26 21:42:51 +00:00
Charlie Fenton e9b2d6e07e Mac: update wxMac build script for XCode 4.1 and OS 10.4 compatibility
svn path=/trunk/boinc/; revision=24294
2011-09-26 08:58:34 +00:00
David Anderson 652b468459 - client simulator: add --existing_jobs_only option.
This simulates just the jobs in the state file,
    rather than simulating an infinite stream of jobs
    modeled after the ones in the state file.


svn path=/trunk/boinc/; revision=24293
2011-09-26 04:28:42 +00:00
Charlie Fenton ecac037506 Mac: more fixes for problems with OS 10.4 compatibility
svn path=/trunk/boinc/; revision=24289
2011-09-24 13:42:55 +00:00