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)
Yes - the IO you never do is the fastest IO of all. The system does need to provide a "view" of the /var/sadm/install/contents file for those packages (non-SUN) that continue to directly reference it. - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts
