Tomas ?gren wrote: >> 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. > > My question is: Why the ... should the entire file be rewritten over and over > again when only a small fraction of it is changed (when you install another > package)? If the same format is needed at the end of the install, why not let > each package install put its contents into separate files and when it's all > done, merge them. Writing 6.5GB for a file that is about 1/1000th of that is > just insane.. > > For instance Debian has a separate file for each package and that seems to > work just fine.. (and the install time is just a fraction of Solaris install > time) > > /Tomas > >
This was also a suggested solution in the other thread on the packaging tools performance issues. http://www.opensolaris.org/jive/message.jspa?messageID=31595#31595 Matt
