views:

549

answers:

1

I'm intrigued by the idea of using Xgrid to speed up my Xcode compiling across multiple machines... but it seems very difficult to find any information on people's experiences with it, any gotchas, etc. I don't have multiple Macs that I can test it with right now, so I'm curious.

Have you tried it? How well has it worked for you? What kind of speedups have you seen?

+2  A: 

I used it for a while, but generally didn't get very good results for moderate sized projects (things that take less than 5 minutes to build on a 4-core Mac Pro). The most noteworthy gotcha is that when I set up Bonjour discovery of available machines, the current machine (i.e. the one I'm kicking off the build from), didn't get included as one of the available build machines. Since I generally sit at a 4-core Mac Pro and was trying to leverage smaller boxes (Macbook Pro, Mac Mini, that sort of thing), it dramatically slowed my build time because the biggest box wasn't helping. The solution was to manually add all the machines, but then I ran into some slow downs if any of the machines weren't online (which was common for me).

Most frustrating was that iPhone projects couldn't be compiled in on Xgrid at all when I last checked (haven't checked in the 3.0 SDK time frame, so this may have changed). Worse, requesting distributed compilation actually caused errors, rather than just being ignored. So I had to switch my configuration back and forth when switching between Mac and iPhone. I do this a lot, so this became a serious headache.

In the end it was much more trouble than it was worth for me, particularly because my primary machine is so much bigger than all the other machines, and the overall build time for most of my projects is small on a Mac Pro. I might feel different if my primary machine were a laptop.

Rob Napier
I already followed all these steps less the one with boot mode because my mac does not supports x64 kernel (EFI limited by Apple)
Sorin Sbarnea