Commit Graph

19752 Commits

Author SHA1 Message Date
Oliver Bock 5f45e5f195 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 17:17:31 +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
Rom Walton be950f5e11 Quick Updates 2013-03-04 17:14:41 +01:00
Oliver Bock 8e18422756 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 17:13:45 +01:00
David Anderson 78fc91a29b - client: show Intel GPU memory size as integer 2013-03-04 17:13:23 +01:00
Rom Walton 6122c59d82 Quick Updates 2013-03-04 17:12:13 +01:00
David Anderson 861696c060 - fix compile warning
- Git can ignore Unix compile outputs
2013-03-04 17:12:13 +01:00
Charlie Fenton 4fad9a0c7c Fix typos 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
Rom Walton 6b7190c0eb Line ending changes 2013-03-04 17:12:12 +01:00
Rom Walton 1c87db6574 Line ending changes 2013-03-04 17:12:12 +01:00
Rom Walton dddb606127 Ignore code signing stuff 2013-03-04 17:12:12 +01:00
Oliver Bock bc9cf250f0 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 17:06:48 +01:00
David Anderson f6c720680b - checkin notes 2013-03-04 17:06:11 +01:00
Oliver Bock d41e2fb6f8 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 17:05:43 +01:00
David Anderson 17a4ab8db9 David 11 Dec 2012
- Win process control (affects API and wrapper):
		Since Win doesn't have an API for process suspend/resume,
		we were suspending processes by
			1) enumerating all the threads in the system (typically several thousand)
			2) suspending those belonging to the given process
		The problem: for each thread, the code was calling a function
		in diagnostics_win.cpp to see if the thread was exempted from suspension.
		This check (which is unnecessary anyway if we're suspending another process)
		was surrounded by a semaphore acquire/release.
		The result: performance problems.
		It could take a minute to suspend the threads.
		Solution:
			1) do the check for exemption only if we're suspending threads
				in our own process (i.e. from the API)
			2) if we're suspending multiple processes, enumerate the threads
				only once, and see if each one belongs to any of the processes
			3) have the wrapper elevate itself to normal priority.
				Otherwise it can get preempted for long periods,
				sometimes in the middle of scanning the threads.
		Note: post-9x versions of Win have a process group API that includes suspend/resume.
		We'll switch to this soon.
2013-03-04 17:02:40 +01:00
Rom Walton c68717aa0e Tell Git which files and directories are safe to ignore 2013-03-04 17:01:37 +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
Rom Walton ee1da5f4a3 Attempt to simplify my life over the long haul by normalizing line endings for project files. 2013-03-04 17:01:37 +01:00
Charlie Fenton b771751a84 Fix typo 2013-03-04 17:01:37 +01:00
Charlie Fenton 48326b9d94 Fix typo 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 298988918c client: clean up redundant and confusing GPU description 2013-03-04 17:01:36 +01:00
Charlie Fenton bc69fe301d Restore changes lost due to GIT confusion 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
Oliver Bock 1feae69d5b client: clean up redundant and confusing GPU descriptions 2013-03-04 16:50:21 +01:00
David Anderson 7f36658d4b - minor code cleanup from RustyBSD 2013-03-04 16:45:04 +01:00
David Anderson 5ad78a8b9d - client: replace ignore_nvidia_dev etc. with an array.
PRINCIPLE: AVOID PER-GPU-TYPE VARIABLES
- get rid of alloca() stuff in gutil.cpp; almost certainly not needed
- don't include malloc.h; it doesn't exist on BSD systems
2013-03-04 16:44:52 +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
Oliver Bock c0ff7e3642 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 15:26:45 +01:00
Charlie Fenton 7e386f33eb Manager: Fix Mac bug introduced by recent OpenBSD compile fixes 2013-03-04 15:26:37 +01:00
Rom Walton 1f8f7ceb71 Fix build environment help scripts for Windows 2013-03-04 15:23:39 +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