&gt; Both packages are compatible with older versions.<br><br>Can we use them in Fedora 17 too ?<br><br><div class="gmail_quote">2012/5/16 Zdenek Pavlas <span dir="ltr">&lt;<a href="mailto:zpavlas@redhat.com" target="_blank">zpavlas@redhat.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
A new yum and urlgrabber packages have just hit Rawhide.  These releases<br>
include some new features, including parallel downloading of packages and<br>
metadata, and a new mirror selection code.  As we plan to include these<br>
features in RHEL7, I welcome any feedback or bug reports!<br>
<br>
python-urlgrabber-3.9.1-12.fc18 supports a new API to urlgab() files in<br>
parallel, and yum-3.4.3-26.fc18 can use this.  Both packages are compatible<br>
with older versions.<br>
<br>
Feature list:<br>
<br>
- parallel downloading of packages and metadata<br>
<br>
If possible, multiple files are downloaded in parallel.  (see below for the<br>
limitations that apply)<br>
<br>
- configurable &#39;max_connections&#39; limit in yum.conf<br>
<br>
This is the maximum number of simultaneous connections Yum makes.  Purpose of<br>
this is to limit local resources (number of processes forked).  The default is<br>
to use urlgrabber&#39;s default value of 5.<br>
<br>
- mirror limits are honored, too.<br>
<br>
Making many connections to the same mirror usually does not help much, it just<br>
consumes more resources.  That&#39;s why Yum also uses mirror limits from<br>
metalink.xml.  If no such limit is available, at most 3 simultaneous<br>
connections are made to any single mirror.<br>
<br>
- new mirror selection algorithm<br>
<br>
The real downloading speed is calculated after each download, and the mirror&#39;s<br>
statistics get updated.  These are in turn used when selecting mirrors for<br>
further downloads.  This should be more accurate than measuring latencies in<br>
fastestmirror plugin, but slow mirrors now have to be tried from time to time,<br>
and the statistics need some time to build up.<br>
<br>
- ctrl-c handling<br>
<br>
This is a long-standing problem in Yum.  Due to various shortcomings in rpm and<br>
curl it&#39;s impossible to react immediately to SIGINT.  But now the downloader<br>
runs in a different process, so we can exit even if curl is still stuck.<br>
The &quot;skip to next mirror&quot; feature is gone (we don&#39;t want to restart all<br>
currently running downloads).<br>
<br>
Known limitations:<br>
<br>
- metalink.xml and repomd.xml downloads are not parallelized yet.<br>
<br>
<br>
--<br>
Zdeněk Pavlas<br>
<span class="HOEnZb"><font color="#888888">--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a></font></span></blockquote></div><br><br clear="all"><br>-- <br><font size="1"><b style="color:rgb(153,153,153)">Antonio Trande<br>
<i>&quot;Fedora Ambassador&quot;<br></i><br></b><b style="color:rgb(153,153,153)">mail</b><span style="color:rgb(153,153,153)">: </span><a style="color:rgb(153,153,153)" href="mailto:sagitter@fedoraproject.org" title="mailto:sagitter@fedoraproject.org" target="_blank">mailto:sagitter@fedoraproject.org</a></font> <font size="1"><br style="color:rgb(153,153,153)">
<b style="color:rgb(153,153,153)">Homepage</b><span style="color:rgb(153,153,153)">: </span><a style="color:rgb(153,153,153)" href="http://www.fedora-os.org" title="http://www.computer-legacy.net" target="_blank">http://www.fedora-os.org</a></font><font size="1"><br style="color:rgb(153,153,153)">
<b style="color:rgb(153,153,153)">Sip Address</b></font>
<font size="1"><span style="color:rgb(153,153,153)">: sip:sagitter AT </span><a href="http://ekiga.net" target="_blank">ekiga.net</a></font><font size="1"><br style="color:rgb(153,153,153)"><b style="color:rgb(153,153,153)"><a href="http://jabber.org/" title="http://jabber.org" target="_blank">Jabber</a></b></font>
<font size="1"><span style="color:rgb(153,153,153)">:sagitter AT </span><a style="color:rgb(153,153,153)" href="http://jabber.org" target="_blank">jabber.org</a><br style="color:rgb(153,153,153)"></font><b><span style="color:rgb(153,153,153)">GPG Key: 19E6DF27</span></b><br>
<br>