On 04/02/2010 19:10, Eric Sproul wrote:
Hi,
This is mostly idle curiosity... if I've got a decent amount of C compiling to
do for the SPARC platform, what would be the best CPU to use in the build
system? "Best" here means "compiles the fastest", as the typical scenario would
be cranking through a large number of build scripts to create a set of packages.
We target very generically, so I'm not concerned about much optimization, just
the time it takes to build a particular program.
It seems to me that because we're mostly talking about 'make', that
single-threaded performance is king here. This makes me think the current line
of CoolThreads processors aren't necessarily best. Would it then be UltraSPARC
IV/IV+? I see that those have topped 2 GHz.
I normally use `gmake -j<ncpu*1.5>' which works quite nicely on multiple
CPUs / cores ...
Making tcsh:
> prtdiag | head -1
System Configuration: Sun Microsystems sun4v SPARC Enterprise T5220
> uptime
10:51am up 108 days 20:59, 26 users, load average: 7.47, 6.84, 6.54
> psrinfo -vp
The physical processor has 64 virtual processors (0-63)
UltraSPARC-T2 (chipid 0, clock 1167 MHz)
> time make -j96
...
117.69u 9.43s 0:12.55 1012.9%
>
2 minutes CPU time, 13 seconds elapsed time. I find it works pretty
well for most things, and where the dependencies are wrong and it fails,
just re-running to complete the make normally works.
Rob
--
E-Mail: [email protected] PHONE: +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss