Webrev:
https://cr.opensolaris.org/action/browse/pkg/bpytlik/19147-v1

Bug:
19147 conflicting action checks can be faster if the image is known to be good

This is another performance improvement.

On my x86 desktop, planning an update is about 16% faster and uses 1% less memory. There's an 8.8% improvement in user time and a 77% improvement in system time (according to ptime).

On a sparc box running a debug kernel, planning an update is 29% faster and uses 1% less memory. The user time's improved by 7% while the system time was improved by 93%.

I've included the user and system times because seeing twice the performance improvement on sparc confused me until I realized how much more time proportionally was being spent doing system calls. Since this change should reduce how much I/O we do, and system calls are slower on debug kernels, it makes sense that a larger improvement was seen.

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

Reply via email to