[Interest] Slow compiling on Mac

Michael Jackson imikejackson at gmail.com
Thu Aug 30 16:46:28 CEST 2012


Just another data point:

Dual quad Core Nehalem Xeon 2.6GHz (Hyper-threaded) running off SATA-II based SSD, OS X 10.6.8 (GCC 4.2 - Apple Version)

make -j8 gives a compile time of 3m27s
make -j16 gives a compile time of 3m16s

---
Mike J

On Aug 30, 2012, at 9:09 AM, Bo Elmgreen wrote:

> Well, I just employed the same trick on my Linux machine, and there I also get roughly a halving of the build time ;-)
> 
> Cheers,
> Bo
> 
> On Thu, Aug 30, 2012 at 2:38 PM, Thiago Macieira <thiago.macieira at intel.com> wrote:
> On quinta-feira, 30 de agosto de 2012 16.34.22, Konstantin Tokarev wrote:
> > I guess that all of these facts apply to building on Linux. As for Mac, I
> > have a feeling that OS scheduler is somewhat more fair there, and complete
> > CPU utilization is achieved with lesser threads.
> 
> My impression is that the scheduler in Linux is the best of all.
> 
> In any case, no scheduler can make I/O go faster. If you have 4 cores and one
> thread is waiting for I/O, you're squandering resources.
> 
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>      Intel Sweden AB - Registration Number: 556189-6027
>      Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list