On Tue, 2006-04-11 at 22:00, Gary M. Gere wrote: > Given that 98% of the packages declare dependencies, and that there are > over 10,000 > dependencies declared, I am not surprised that the installation order is > highly sorted.
Thanks for the pointers! I've done some playing around here. The rule appears to be that packages without a depend file get installed first - in reverse order from what you get from scanning the directory. But I can push packages to the front of the queue by removing the depend file (obviously this has to be done with some care, as some of the dependencies are important, but in many cases it's just depending on Core Solaris which is sort of obvious). OK, so without much effort I can halve the disk IO from 6.5G to just over 3G, and cut the zone package install time from over 6 minutes to under 4. Given the crudeness of the hack, I wouldn't be surprised if it could be improved further. So optimizing the install order can make a significant difference to install time, and the ordering (and relevance of the dependencies) ought to be looked at a bit more closely. -- -Peter Tribble L.I.S., University of Hertfordshire - http://www.herts.ac.uk/ http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
