On Tue, Aug 25, 2009 at 9:27 PM, <johan...@sun.com> wrote: > On Tue, Aug 25, 2009 at 12:21:18PM +0100, Peter Tribble wrote: >> It's not just search that's slow - most pkg operations feel slow. > > How about providing some data instead of wild accusations? > > I can install entire, SUNWcs & SUNWcsd, and babel_install all in under 7 > minutes on a 100mbit network. Are you using modern hardware?
Jonathan's already given some numbers that make sobering reading. I'm using the hardware available to me. Generally that means more modern hardware for OpenSolaris. It's not an absolute number, but a straight comparison on identical VirtualBox installs on my home Ultra 20 gives: # ptime pkgchk -l -p /usr/bin/tcsh real 1.064 user 0.222 sys 0.399 # ptime pkg search -l /usr/bin/tcsh real 25.534 user 11.080 sys 3.011 On a warm system, and after pkg-rebuild-index # ptime pkgchk -l -p /usr/bin/tcsh real 0.480 user 0.205 sys 0.260 # ptime pkg search -l /usr/bin/tcsh real 2.500 user 1.728 sys 0.604 # ptime pkginfo SUNWtcsh real 0.135 user 0.028 sys 0.070 # ptime pkg list SUNWtcsh real 4.415 user 3.448 sys 0.802 # ptime pkgadd SUNWzsh real 2.390 user 0.808 sys 1.380 # ptime pkg install SUNWzsh real 2:30.397 user 11.191 sys 2.770 # ptime pkgrm SUNWzsh real 3.096 user 0.795 sys 1.352 # ptime pkg uninstall SUNWzsh real 8.819 user 4.848 sys 1.513 That's for S10; SXCE is generally quicker, and can easily be made significantly faster. The SVR4 numbers are pretty poor, really. Essentially every time I've compared performance, pkg(5) comes out several times worse. My install timings on an old sparc box come out at about 44 minutes for SXCE, and 70 minutes for half the software for OpenSolaris. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ _______________________________________________ pkg-discuss mailing list pkg-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/pkg-discuss