Shawn Walker wrote:
(picture Ren and Stimpy singing; see below for visual/auditory aid [1])
I'm not quite ready to send out a webrev for Phase 2 of the catalog work
yet (although all of the test suites passed at last check, etc.) and I
really should be in bed now. But, the indescribable satisfaction I have
from the following, preliminary client timings below should justify the
pop culture reference above:
Publisher Setup
===============
$ pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://ipkg.sfbay/dev/
contrib.opensolaris.org origin online
http://ipkg.sfbay/contrib/
extra origin online
https://pkg.sun.com/opensolaris/extra/
punchin origin online http://.../
Timings
=======
The timings below are higlights from a comparison of a build 117 pkg
client vs. my workspace.
/ is my build 117 system root (that does *not* have redistributable
installed; only about 728 packages are)
/mnt is a beadm clone of my '/' that has been upgraded to the new image
format (at a one-time cost of 45 seconds).
The first timing listed is the old client, the second timing listed is
the new client. And yes, I have performed diffs of the pkg list output
to confirm they are identical.
For SPARC users, here are some timings from an UltraSparc-T2 with 3GiB
RAM using an empty user image:
Configured publishers / repositories:
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://ipkg.sfbay/dev/
webstack origin online
http://pkg.opensolaris.org/webstack/
$ time old_pkg -R /tmp/image list -afv > /dev/null
real 1m24.889s
user 1m17.465s
sys 0m0.645s
$ time new_pkg -R /tmp/image.new list -afv > /dev/null
real 0m47.390s
user 0m35.142s
sys 0m0.633s
$ time old_pkg -R /tmp/image list
no packages installed
real 0m51.010s
user 0m44.504s
sys 0m0.626s
$ time new_pkg -R /tmp/image.new list
no packages installed
real 0m3.990s
user 0m0.972s
sys 0m0.576s
$ time old_pkg -R /tmp/image install -nv SUNWvim >/dev/null
real 0m34.455s
user 0m29.741s
sys 0m0.682s
$ time new_pkg -R /tmp/image.new install -nv SUNWvim >/dev/null
real 0m15.522s
user 0m12.498s
sys 0m0.673s
As you can see, performance is significantly improved for SPARC systems.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss