On Thu, Dec 03, 2009 at 06:19:12PM -0600, Shawn Walker wrote:
> Greetings,
> 
> The following webrev contains fixes for the following issue:
> 
>   12991 pkg image-create can trigger excessive number of stat calls
> 
> webrev:
> http://cr.opensolaris.org/~swalker/pkg-12991/
> 
> Summary:
> Dropped number of stat calls on my system for image-create using
> http://pkg.opensolaris.org/dev repository from 112,000+ to about
> 1900. (Before you ask, over 1K of those are just python startup.)

This looks good.  My guess is that this would probably make a bigger
difference if you were on a slower filesystem.  (NFS to Jurassic, as an
example).

When trying to find the overused system calls, it sometimes helps to
look at both the count and the total amount of time.  Some syscalls may
get called often, but if they're not a large portion of the time the
application spends running, then the opimization may make less
difference.  At least with the pkg client, it seems like a lot of our
time is spent waiting for I/O to finish, either through the network or
the disk.  I have some DTrace scripts that look at that, which may be
helpful depending upon what performance problem you're ultimately trying
to chase down.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to