Commit Graph

10839 Commits

Author SHA1 Message Date
Rom Walton 33a607d449 - SCR: Include the compiled X11 screensaver app in the self extracting
archive distro of the client software.
2013-03-04 17:19:38 +01:00
Rom Walton a48f17ba64 - Apply RustyBSD's patch for selectively disabling the detection of the
X screensaver framework in configure.ac
2013-03-04 17:19:38 +01:00
Charlie Fenton b8293bc457 wrapper: Fix build script and Makefile on Mac 2013-03-04 17:19:38 +01:00
David Anderson 90ed2048ea - restore 2 commits erased by Charlie's Dec 10 commit 2013-03-04 17:17:10 +01:00
David Anderson a64cb793f1 - scheduler: attempted performance enhancement.
Old: each scheduler process holds a semaphore
        while scanning the shared-mem job array.
        On machines with many CPUs
        there seems to be contention for this semaphore,
        causing slow scheduler response and possibly connection failures.
    New: Don't hold the semaphore while scanning array.
        Instead, if find a job that passes quick_check(),
        acquire the semaphore and recheck that the job is present in array
        and passes quick_check().
- client: show messages if app_config.xml has unrecognized tags
2013-03-04 17:16:56 +01:00
David Anderson 78fc91a29b - client: show Intel GPU memory size as integer 2013-03-04 17:13:23 +01:00
David Anderson 861696c060 - fix compile warning
- Git can ignore Unix compile outputs
2013-03-04 17:12:13 +01:00
Rom Walton 8a0a715243 - wrapper: Fix 64-build targets on Windows. 2013-03-04 17:12:12 +01:00
Rom Walton e774c51a82 - ZIP: Make sure output files end up in the 'build' directory structure
so they will be ignored by Git tools.
2013-03-04 17:12:12 +01:00
David Anderson f6c720680b - checkin notes 2013-03-04 17:06:11 +01:00
Rom Walton 3c20551a8f - server: Add a default plan class for the Intel GPUs.
(opencl_intel_gpu_101)
2013-03-04 17:01:37 +01:00
Charlie Fenton b6d6545bfa Manager: remove sqlite3.c from Xcode project; add build script to build libsqlite3.a from source files downloaded from sqlite3.org 2013-03-04 17:01:37 +01:00
David Anderson 0c4a9bc452 - lib: actually let's make it "intel_gpu". 2013-03-04 17:01:37 +01:00
David Anderson 2a1ef0bb6f - lib: the XML type field for an Intel GPU is INTEL_GPU, not INTEL 2013-03-04 17:01:37 +01:00
David Anderson 66e95c59c6 - lib: the XML tag for the description of an Intel GPU is
<coproc_intel_gpu>, not <intel_gpu>
2013-03-04 17:01:36 +01:00
David Anderson 7328d4a1ad - client: re-apply app configuration after each scheduler RPC;
otherwise the changes get overwritten
2013-03-04 17:01:36 +01:00
Charlie Fenton 60f750e395 client: COPROC_NVIDIA, COPROC_ATI and COPROC_INTEL constructors must initialize the entire struct, not just the GPU type field 2013-03-04 17:01:36 +01:00
Charlie Fenton 407d16a7d9 client: clean up redundant and confusing GPU description 2013-03-04 17:01:36 +01:00
Charlie Fenton 462be89f01 Restore changes lost due to GIT confusion 2013-03-04 17:01:36 +01:00
Charlie Fenton 6d6403545a client: clean up redundant and confusing GPU descriptions 2013-03-04 16:42:16 +01:00
Charlie Fenton 0a8253cdd0 client: add new file gpu_intel.cpp to Xcode project 2013-03-04 16:42:16 +01:00
David Anderson 6224f6f292 - client: win compile fix 2013-03-04 16:42:16 +01:00
Oliver Bock 508b9b572b Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
Conflicts:
	checkin_notes
	client/acct_mgr.cpp
	client/cs_statefile.cpp
	client/gpu_opencl.cpp
	lib/coproc.cpp

Additional changes:
	client/Makefile.am

Dropped changes:
	client/cs_scheduler.cpp (516eff6)
	sched/sched_send.cpp (2dd8288)
2013-03-04 16:35:08 +01:00
Rom Walton c8ff613c44 - client/server: Make sure the GPU Type field is really classified as an Intel
GPU.
2013-03-04 15:30:04 +01:00
Rom Walton 2dd82881de - client/server: fix build breaks I introduced last night with a variable
rename.
2013-03-04 15:30:03 +01:00
Rom Walton 516eff60b0 - client: Hook up the XML portion of the Intel GPU detection code so
the server scheduler knows about it.
    - client: Print out the peak flops for the Intel GPU, the regular
        OpenCL descriptions do not show peak flops.
2013-03-04 15:30:03 +01:00
David Anderson 1174b00aba - client/manager: tweaks to Intel GPU code 2013-03-04 15:27:25 +01:00
Rom Walton 6d0e60a7d9 - MGR: Minor fix to the OpenCL output for Intel GPUs. 2013-03-04 15:27:15 +01:00
Charlie Fenton 7e386f33eb Manager: Fix Mac bug introduced by recent OpenBSD compile fixes 2013-03-04 15:26:37 +01:00
David Anderson c1f63276ee - client (unix): rename() doesn't work between filesystems.
If the user has set things up so that slots/ is a symlink
    to a different filesystem, things won't work when the client
    moves output files from the slot to project dir.
    Solution: if rename() fails, try system("mv ...")
    since mv works across filesystems
2013-03-04 15:23:39 +01:00
David Anderson ca8afde85b - Manager: compile fixes for OpenBSD. From RustyBSD. 2013-03-04 15:23:39 +01:00
David Anderson 165e3bb1d5 - adjust_user_priority: scale FLOP count by app's min_avg_pfc
to account for systematic errors in FLOP count
- adjust_user_priority: get total project RAC by summing RAC
    of app versions where RAC has been updated in past week
- feeder: add --priority_asc option
    (for when wu.priority is a logical time)
2013-03-04 15:23:39 +01:00
Charlie Fenton 9f782f90b4 OpenCL: Add peak FLOPS computation for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01:00
David Anderson 2ded3ff67d - fix typo in GUI RPC
- check in some code for multi-user job prioritization
2013-03-04 15:23:39 +01:00
Charlie Fenton f3c11f5831 client: strcasestr does exist on Windows in lib/str_replace.cpp, but I just needed to #include "str_replace.h". This is preferable because it handles INTEL as well as Intel and intel 2013-03-04 15:23:39 +01:00
Rom Walton 2f67ee08ce - client: strcasestr doesn't exist on Windows. 2013-03-04 15:23:39 +01:00
Rom Walton 474b9a4f37 - VBOX: Fix build break introduced by the previous vbox commit. 2013-03-04 15:23:39 +01:00
Rom Walton a4972e0400 - MGR: Fix two potential security issues with browser.cpp where the
query to the cookie database could have been abused.  At present
        neither of the two parameters originate as user input so using it
        as an attack vector isn't very high.  Prevent the functions from
        being exploited in the future in case the routines were ever used
        in a different way.
2013-03-04 15:23:39 +01:00
David Anderson 937059b8ae - lib: add size info to messages when realloc() fails in MFILE 2013-03-04 15:23:39 +01:00
Charlie Fenton ce87ec9848 OpenCL: First pass at adding support for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01:00
Charlie Fenton 6314d1c7ea OpenCL: Change type argument of new boinc_get_opencl_ids() API from char* to int; it now accepts PROC_TYPE_NVIDIA_GPU, PROC_TYPE_AMD_GPU or PROC_TYPE_INTEL_GPU 2013-03-04 15:23:38 +01:00
Charlie Fenton 58d41b142f OpenCL: Add definition of GPU_TYPE_INTEL to match definitions of GPU_TYPE_ATI and GPU_TYPE_NVIDIA 2013-03-04 15:23:38 +01:00
Rom Walton e693e2df09 - VBOX: Add the ability to read a fraction done file from the shared
directory.  Use the same semantics as the regular wrapper.
2013-03-04 15:23:38 +01:00
Charlie Fenton b98fee99b3 OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12) 2013-03-04 15:23:38 +01:00
David Anderson ddf4551108 - web: add hook for "science info" link in result lists (for CAS@home) 2013-03-04 15:23:38 +01:00
David Anderson 2a120631a4 - scheduler: build fixes for FreeBSD. From RustyBSD. 2013-03-04 15:23:38 +01:00
David Anderson e2ab21944d - scheduler: use HOST_USAGE::uses_gpu() function where appropriate 2013-03-04 15:23:37 +01:00
David Anderson c332021853 - Mac installer: add missing pclose() (from RustyBSD) 2013-03-04 15:23:37 +01:00
David Anderson ce47010dbb - client: if <dont_check_file_sizes> is set, don't check file existence at startup
- wrapper: open files in shared mode so you can look at them while wrapper is running
2013-03-04 15:23:37 +01:00
Charlie Fenton fdaaddb76a Mgr: Fix some rare issues on Windows (including a possible memory leak) when switching to a client on a different computer after trying to display notices without an Internet connection 2013-03-04 15:23:37 +01:00
David Anderson f127526c68 - lib: Win compile fix for boinc_allocate_file() 2013-03-04 15:23:37 +01:00
David Anderson 3cf17049b5 - server: fix create_forums.php 2013-03-04 15:23:37 +01:00
David Anderson fdc085264a - client (Win) preallocate large files to avoid file fragmentation
when you write to them incrementally
    (workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
Charlie Fenton a999f935b4 client: add new files app_config.cpp,h to Xcode project 2013-03-04 15:23:37 +01:00
David Anderson a46d93f566 - client: bug fixes for app config feature 2013-03-04 15:23:37 +01:00
David Anderson d4c1e932a4 - fix mysterious problems in Windows build 2013-03-04 15:20:32 +01:00
David Anderson ad93afacd5 - user web: don't show fraction done in list of batches.
It slows things down too much.
2013-03-04 15:20:32 +01:00
David Anderson 5383f13bf0 - client: add the above to VS project 2013-03-04 15:20:32 +01:00
David Anderson 952a495fb7 - client: add "client app configuration" feature; see
http://boinc.berkeley.edu/trac/wiki/ClientAppConfig
    This lets users do the following:
    1) limit the number of concurrent jobs of a given app
        (e.g. for WCG apps that are I/O-intensive)
    2) Specify the CPU and GPU usage parameters of GPU versions
        of a given app.
    Implementation notes:
    - max app concurrency is enforced in 2 places:
        1) when building the initial job run list
        2) when enforcing the final job run list
        Both are needed to avoid possible starvation.
    - however, we don't enforce it during RR simulation.
        Doing so could cause erroneous shortfall and work fetch.
        This means, however, that work buffering will not work
        as expected if you're using max concurrency.
2013-03-04 15:20:32 +01:00
Oliver Bock 439ca150c4 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 15:18:20 +01:00
Charlie Fenton 5217479bab Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:18:05 +01:00
Charlie Fenton 9ffbe44aae Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01:00
Charlie Fenton 1561c35146 Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01:00
David Anderson 8ae9680134 - server programs: allow config.xml to be a symlink 2013-03-04 15:16:59 +01:00
David Anderson 3af9309894 - admin web: change revalidate function to revalidate
valid as well as invalid results
2013-03-04 15:16:58 +01:00
David Anderson de71ae7f7f - client: when reset a project, clear its scheduler URL list
(force a reload of the master page)
2013-03-04 15:16:58 +01:00
David Anderson 6205ffed08 - scheduler: add extra check for not sending homogeneous app version
jobs to anonymous platform clients
- remote job submission: add DB table for keeping track of files
2013-03-04 15:16:58 +01:00
Oliver Bock 5f8d2ac8d1 - wrapper: compile fixes for Win
Conflicts:
	checkin_notes
2013-03-04 15:08:51 +01:00
David Anderson 016b11e522 - client: fix uninitialized vars in CPU feature detection (from RustyBSD) 2013-03-04 15:06:32 +01:00
David Anderson f31a63b0c8 - scheduler: if primary platform is anonymous, ignore alternate platforms. 2013-03-04 15:06:32 +01:00
David Anderson 959aee51d0 - client: if a project is anonymous platform,
don't send list of alternate platforms in scheduler RPC.
2013-03-04 15:06:32 +01:00
David Anderson 0760461e93 - Unix build: add configure option for minimal make output 2013-03-04 15:06:32 +01:00
David Anderson 374ee55113 - wrapper: compile fixes for Win 2013-03-04 15:04:51 +01:00
David Anderson d8b7e4347f - wrapper: add feature for unzipping input files and zipping output files 2013-03-04 15:04:51 +01:00
Charlie Fenton bee578e76a WIN: Fix Debug configuration which was corrupted 2013-03-04 15:04:51 +01:00
David Anderson bb0ced01ba - wrapper: add source files for a regular expression library
(too be used soon)
- boinc_zip: add makefile for test program
2013-03-04 15:04:51 +01:00
Charlie Fenton 92521b8be8 boinc_zip: Add teszlibconflict target to boinc_zip Xcode project 2013-03-04 15:04:51 +01:00
Charlie Fenton ab6c3e5b1f Mac: remove deleted files from Xcode project 2013-03-04 15:04:51 +01:00
David Anderson aa31777003 - client: if a project has 64 or more ready-to-report tasks,
report them.
    64 is chosen a bit arbitrarily, but the idea is to
    limit the number of tasks reported per RPC,
    and to accelerate the reporting of small tasks.
2013-03-04 15:04:51 +01:00
David Anderson 7366c8bb43 - remove deprecated MAC address code 2013-03-04 15:04:51 +01:00
David Anderson fa8945fda9 - compile fix for FreeBSD 2013-03-04 15:04:51 +01:00
Charlie Fenton 093ad0ab12 boinc_zip: Fix linker conflicts zlib and boinc_zip are both used in a project 2013-03-04 15:01:44 +01:00
Charlie Fenton c1ae4c4dec Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 15:01:35 +01:00
Charlie Fenton d5c9ee8abf boinc_zip: Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 14:59:23 +01:00
Rom Walton 43c55fd34b - VBOX: Add the ability to specify both the type and model of disk
controller to use.  It can be specified by adding the following
        tags to vbox_job.xml:

        <vm_disk_controller_type></vm_disk_controller_type>
        <vm_disk_controller_model></vm_disk_controller_model>

      Executing vboxmanage --help will list the available options in the
        storeagectl section.
2013-03-04 14:59:23 +01:00
Rom Walton a0c6e534e0 - ZIP: Add missing preprocessor symbols to the 64-bit build targets. 2013-03-04 14:59:23 +01:00
Charlie Fenton a07e0dac43 boinc_zip: minor cleanup of Xcode project 2013-03-04 14:59:23 +01:00
Charlie Fenton 19e8e62e6c Fix typo 2013-03-04 14:59:23 +01:00
Charlie Fenton 1211bf976d boinc_zip: fixed boinc_zip and test_boinc_zip windows projects 2013-03-04 14:59:23 +01:00
Rom Walton a13163aa15 - ZIP: Use only one variant of the C Runtime Library
- ZIP: Remove test_boinczip from the default solution.
2013-03-04 14:59:23 +01:00
Charlie Fenton ec16ac4ccb boinc_zip: updated boinc_zip xCode project for unix.c -> z_unix.c 2013-03-04 14:59:22 +01:00
David Anderson 678ee52458 - boinc_zip: fix Unix build 2013-03-04 14:59:22 +01:00
Charlie Fenton a1cb39fa55 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:57:05 +01:00
Rom Walton 18ef4ed069 - WIN: Introduce updated project files for the boinc_zip library used
by the slide_show project.
    - WIN: Adjust the slide_show project so that it will build both 32-bit
        and 64-bit versions and use the boinc_zip library.
2013-03-04 14:14:06 +01:00
David Anderson e538c8c303 - client: TIME_STATS fields go in <time_stats> part of state file
- scheduler: parse TIME_STATS fields (e.g., uptime)
- admin web: small fix for manage_apps.php
2013-03-04 14:14:05 +01:00
David Anderson a1b3935b21 - web: update .pot file for project web site translations 2013-03-04 14:09:44 +01:00
David Anderson b4408c9585 - build fixes for OpenBSD, from rustyBSD 2013-03-04 14:09:43 +01:00
David Anderson 7768f6da60 - client: fix bug where, when updating a project, we fail to request work even though higher-priority projects are marked as no-new-tasks or are otherwise ineligible for work fetch. 2013-03-04 14:09:43 +01:00
Oliver Bock a180e89fd8 Merge commit 'c15267a' into master
Conflicts:
	checkin_notes

Modified by author during merge:
	lib/network.cpp
2013-03-04 14:05:41 +01:00
David Anderson 10f7576416 - remove job submission: fix SQL typo and error messages.
From Niclas Lockner.
2013-03-04 14:01:20 +01:00