On Sat, Sep 5, 2009 at 8:14 AM, Thomas Maier-Komor<thomas at maier-komor.de> wrote: > Hi, > > please feel free to redirect me to the correct discussion list. This subject > is probably only Solaris specific as patchadd does not exist in OpenSolaris...
If you have a support contract, perhaps a good place to bring this up (aside from opening a support call) would be the new patch forums. http://blogs.sun.com/patch/entry/patch_forums_now_available_for So far I haven't been able to get into these, even though I think I have jumped through the necessary hoops. Please let me know if you have success. > > patchadd is taking very long to perform its actions. As far as I am concerned > PSARC 2009/173 (turbocharged SVr4 package commands) doesn't make any > difference. So I took a short look at what patchadd is actually doing. While > running, it performs about 70k filesystem ops/s. Additionally, it performs > fork/exec at a rate of about 200/s, which might be the real cause for the 30% > cpu kernel load on my 2 processor machine. > > So I looked what it is execing. To my surprise, it execs lots of > /usr/bin/echo (maybe about 30% of all execs). Is this really necessary? This seems to be a direct result of Solaris' insistence that /bin/sh or /sbin/sh is the one true shell, even though /bin/ksh (which has built-in echo) has been part of the required minimum installation for every currently supported release of Solaris. In OpenSolaris, /bin/sh and /sbin/sh is now ksh93 (thanks, Roland!) making calls to "echo" turn into built-in commands. The performance problem will persist if the scripts call /usr/bin/echo or /bin/echo instead of just "echo". But... the patches that you are complaining about will go away with the new packaging system. > BTW: is there already a fixed plan how Solaris 11 (or whatever is next) will > deal with patches? Live upgrade is very convenient. But patching itself is > still slow... > > - Thomas > -- > This message posted from opensolaris.org > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/install-discuss > -- Mike Gerdts http://mgerdts.blogspot.com/