Re: distcc running multiple instances on single CPU machine
Re: distcc running multiple instances on single CPU machine
- Subject: Re: distcc running multiple instances on single CPU machine
- From: Shaun Wexler <email@hidden>
- Date: Tue, 4 Nov 2003 12:45:16 -0800
On Nov 4, 2003, at 9:21 AM, Dave Camp wrote:
We've had a number of instances here where someone fires off a
distributed build, and we see 10-12 compiles running in parallel.
Pretty cool, except for there are only 8 CPU's (5 machines) on the
network running XCode...
Inspecting some of the machines reveals that some are running more
copies of distcc than CPU's installed. Ouch!
Is there any way to fix this?
I filed rdar://3471719 on this issue, which seems to be caused by
improper coalescing of the discovered Rendezvous net-services on a
multi-address/multi-NIC host config. The solution is to manually
select the build computers, ignoring the duplicate services. Dual-CPU
machines will of course have a separate service & port available for
each CPU, resulting in four services per host. Also, Xcode sometimes
fails to recognize services on additional subnets, which can be worked
around by temporarily disabling the primary network; Xcode remembers
the services on the subnets after it is reenabled.
On a separate note, I prefer to use at least one extra compile thread
on a dual-CPU machine, or it won't saturate both CPU's on anything > 1
GHz. Four threads (due to the bug) does this nicely, along with the
wasted DO overhead. ;)
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.