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

Bug:
    7139651 pkgrecv doesn't scale with large repos

With this change, memory use doesn't scale with the number of packages being downloaded. It does read the manifests twice, but only downloads them from the server once. This does introduce a small performance penalty, roughly 2-3 more seconds of manifest processing when processing 4000 packages, but that's in the noise when considering the 23-24 minutes a full pkgrecv of those 4000 packages takes.

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

Reply via email to