> > - download of .drpm and .rpm files now may run in parallel. > > It's almost certainly worth sorting these so that drpms still > download > first, and then they can rebuild while the .rpms (and other .drpms) > download.
Good idea, this should always help. Also, with separate .drpm code I may drop the .to_drpm() and .to_rpm() hacks- but that would require re-implementing getPackage() and verifyLocal(), I'm not sure it's worth it. --- a/yum/__init__.py +++ b/yum/__init__.py @@ -2182,7 +2182,9 @@ much more problems). a = apo.getDiscNum() b = bpo.getDiscNum() if a is None and b is None: - return cmp(apo, bpo) + # deltas first to start rebuilding asap + return cmp(bpo in presto.deltas, apo in presto.deltas) \ + or cmp(apo.size, bpo.size) if a is None: return -1 if b is None: This puts .drpm files first. I'm also tempted to sort files from small to large ones. Small files try few mirrors, large ones then use more accurate statistics. > Can you add the specfile obsoletes to the patchset? Yes. There's no conflict, one may enable both... But doing so does not make any sense. _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel