> gmake can also thread using the -j option.  Most open source distributions
> of software will build properly in parallel using either gmake or dmake, but
> there are a handful I've run into that sometimes have trouble with it,
> probably due to incompletely declared dependencies in the Makefile or
> something.  I seem to remember that a few years ago, a T2 was once cited as
> being able to build the Solaris kernel faster than an 8 core AMD.  We
> currently have an M4000 (8 cores SPARC64-VI 2.1 GHz, 2 threads per core)
> that we do our compiles on, and that's been able to compile almost as fast
> as the identical software on an 8 core Intel X5460.

A lot depends on Makefiles and the correct use of .PARALLEL (in dmake 
Makefiles) and proper dependencies. With efficiently parallel Makefiles you 
can utilize all your CPUs on T2 and build really fast. When there is not 
enough parallelism you may do better with smaller number of faster CPUs.

- akolb
 
> 
> William Yang
> 
> > -----Original Message-----
> > From: [email protected] [mailto:sysadmin-discuss-
> > [email protected]] On Behalf Of Eric Sproul
> > Sent: Thursday, February 04, 2010 2:41 PM
> > To: Alan Coopersmith
> > Cc: [email protected]
> > Subject: Re: [sysadmin-discuss] Best SPARC CPU for building C programs?
> > 
> > On 02/ 4/10 02:14 PM, Alan Coopersmith wrote:
> > > If your software is so small and simple that you only compile a single
> > > file, who cares?
> > 
> > I should have been clearer-- I'm talking about building open source
> > software,
> > like Apache and PHP.  We build both 32- and 64-bit versions, and in the
> > case of
> > PHP, we end up building *4* times (32/64-bit for Apache 1.3, 32/64-bit for
> > Apache 2.2).  It gets tedious when building on a V210 with 1.0GHz US-
> > IIIi.  :)
> > 
> > > In the much more complex software I work on, I got
> > > it to compile about 25% of the time by getting dmake setup to have
> > > multiple *.c files compiled in parallel on a 8-thread CPU.
> > Unfortunately
> > > I haven't had a chance to see how well it does on a CoolThreads CPU.
> > 
> > That would be an ideal case for using a highly parallel CPU like the T2.
> > I've
> > not used dmake before, so I'll check it out.
> > 
> > Thanks,
> > Eric


_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to