On 03/19/12 08:52 PM, Alan Coopersmith wrote:
> As for performance, I ran the X gate "make_release_packages" script on several
> hosts. This script completely removes the existing package repo in the gate,
> runs make clean in the pkg directory, and then does a full package
> publication,
> pkglint, and validate_pkg run across all 184 live packages, and 127 legacy
> packages in the X gate.
>
> - On my Ultra 27, with 1369 packages installed, this cut the average runtime
> down from 5 minutes 15 seconds to 3:01, and average user CPU time from 656
> seconds to 522 seconds.
>
> - On our Sun Fire X4100 build server, with 684 packages installed, this cut
> the average measured user cpu time down from 717 seconds to 673 seconds,
> and the average wall clock time from an average of 11 minutes to 10 minutes
> (though another build was running on the machine at a time).
>
> - On our SPARC T2 build server, I gave up on averaging, after a single run to
> establish the "before" time took 56 minutes on an otherwise idle machine.
> The "after" time was reduced to 44:40 though. ("pkg list | wc" = 798)
Just in case anyone finds this in the archives in the future, I later discovered
that while I thought I was testing on a full T5140, that last test was actually
on a tiny sliver of an LDOM in it (4 out of 128 virtual cpus, 4 out of 32 gb
RAM).
After reconfiguring the system to assign all the resources to a single Solaris
instance (no ldoms), using the "after" version of the code that was integrated
to the X gate, the pkgdepend resolve step takes 1 minute, 42 seconds and the
full make_release_packages takes 27 minutes. (Most of which appears to be
pkglint off all the packages that were just built against the S11U1 /dev
reference repo, in a single process and thus leaving all the other cores
idle. Will have to look into speeding up that bit next.)
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss