Hi Shawn,
The change for the depot looks fine.  Do we want to fix this in the
client too?

-j

On Sun, May 18, 2008 at 10:23:45PM -0500, Shawn Walker wrote:
> The following webrev includes proposed fixes for the following bugs:
> 
>     1956 depotd performance hampered by unnecessary getpwuid/getgrgid calls
> 
> webrev:
> http://cr.opensolaris.org/~swalker/pkg-1956/
> 
> Notes:
> Before this change a "pkg install SUNWvim" into an empty user image
> would cause about 8500 doorfs and 8500 getuid calls. After this
> change, no doorfs or getuid calls are seen via:
> 
> dtrace -n 'syscall:::entry /execname == "depot.py"/{ @num[probefunc] =
> count(); }'
> 
> Thanks to Tom for discovering the solution.
> 
> Cheers,
> -- 
> Shawn Walker
> 
> "To err is human -- and to blame it on a computer is even more so." -
> Robert Orben
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to