The webrev

    http://cr.opensolaris.org/~dduvall/pkg-consolidate/

represents a fix for

    13907 renaming SUNWcs causes renamed package delivering user to fail 
uninstall

and basically takes all actions which can be determined to be disappearing
and reappearing in the same imageplan, but via different packages, and
coalescing them into action updates instead.  This means that when
/etc/passwd disappears from one package and reappears in another, we let it
stay on the system so that we can manipulate the user database during the
same interval.

The same holds for other actions which are globally unique across all
installed packages, such as users, groups, and drivers.  So now you can add
an alias to a driver and not have it disappear should the action move from
one package to another.

I've been doing some memory testing on this, and it's neutral when actions
aren't moving between packages, and it's just a hair (3.5%) over the
baseline when doing an image-update of redistributable across the massive
rename boundary (from one of Rich's repos).  That's still a large number,
but given the amount of work we won't be doing, I think it's a big win.
That work reduction (the maximal case) is as follows:

    removal actions: 250k to  17k
    install actions: 340k to 106k
    update actions:    2k to  57k
    MB downloaded:   2359 to  812

and it should be faster due to less disk IO involved, too.

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

Reply via email to