>It's not just search that's slow - most pkg operations feel slow. > >And SVR4 performance is pretty dire - performance is one of the main criticisms >of SVR4 packaging. The code is old and hasn't had much TLC, and there's a >fair amount of low hanging fruit. I had some fixes for pkgchk that >made it faster than grep in some cases, and not much slower for most, and >that supported a much richer search syntax (it got stuck on wondering whether >to use shell glob patterns or string REs). Other SVR4 operations could be >sped up significantly as well.
In snv_118 and Solaris 10 update 8 I improved the performance of the SVr4 package commands; particularly upgrades and installing zones are much faster (2-4 times faster). Before snv_118, the contents file was rewritten continuously; the bulk of the I/O was to that particular file. (It was 75GB of I/O for install, now it's 5GB) After those changes, the bulk (>70%) of the time when installing is pk7zip and cpio and the time is proportional to the changes made and not the size of the contents file. Casper
