Hello! This was obviously a known problem/feature. Thanks to Casper Dik and Thomas Hiltmann for pointing this out. Unfortunately sunfreeware.org only has 4.49 available, and the latest is at least 4.64 and my compiler only has support for 32 bits... :-( /jonas ------ workaround: use lsof with Option -C until a packed version of lsof4.51 is available Explanation why it is so slow on Solaris 8: Casper Dik reminded me of another variable that affects the performance of lsof on Solaris 8 -- examining the kernel DNLC for path name components. There is a Solaris 8 patch that implements a negative DNLC strategy, often causing the DNLC to be much larger and to contain entries for which lsof's DNLC hashing code function produces the same value. That can make lsof very slow. I worked up a fix for the problem when Casper first notice the slowness, and the fix has been available since lsof revision 4.51. Even if you have 4.51 or later, if you want to squeeze more performance from lsof, try using its "-C" option. That will make lsof ignore the kernel DNLC. Of course, it will also prevent lsof from finding any path name components. DNLC Directory Name Lookup Cache ------- -----Ursprungligt meddelande----- Fren: Jonas Bleberg Skickat: den 4 oktober 2002 14:56 Till: sunmanagers@sunmanagers.org Dmne: why is lsof so slow on solaris 8? Hello! Anyone out there who knows why lsof is executing so slow on Solaris 8 compared to Solaris 7? /jonas Jonas Bleberg Cell Network Sverige AB Kruthusgatan 17,6 S-411 04 Gvteborg jonas.blaberg@cellnetwork.com office: +46-(0)31-739 84 54 mobile: +46-(0)709-95 00 68 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Oct 4 10:31:10 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:55 EST