summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-October/019367.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-October/019367.html')
-rw-r--r--zarb-ml/mageia-dev/2012-October/019367.html213
1 files changed, 213 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-October/019367.html b/zarb-ml/mageia-dev/2012-October/019367.html
new file mode 100644
index 000000000..8015615e7
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-October/019367.html
@@ -0,0 +1,213 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [6240] various optimizations from mdv svn
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6240%5D%20various%20optimizations%20from%0A%09mdv%20svn&In-Reply-To=%3CCAONrEtY8u9qkf2ca1yRDMVyjYhFDwMKaZPg0ybrAsnpNLMtA%3Dw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="019363.html">
+ <LINK REL="Next" HREF="019375.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [6240] various optimizations from mdv svn</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6240%5D%20various%20optimizations%20from%0A%09mdv%20svn&In-Reply-To=%3CCAONrEtY8u9qkf2ca1yRDMVyjYhFDwMKaZPg0ybrAsnpNLMtA%3Dw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [6240] various optimizations from mdv svn">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Mon Oct 15 23:50:41 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="019363.html">[Mageia-dev] Mageia 3 planning
+</A></li>
+ <LI>Next message: <A HREF="019375.html">[Mageia-dev] Mageia 2 - Security issiue
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19367">[ date ]</a>
+ <a href="thread.html#19367">[ thread ]</a>
+ <a href="subject.html#19367">[ subject ]</a>
+ <a href="author.html#19367">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 15 October 2012 22:47, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
+&gt;<i> --- rpm/urpmi/trunk/NEWS 2012-10-15 17:51:47 UTC (rev 6239)
+</I>&gt;<i> +++ rpm/urpmi/trunk/NEWS 2012-10-15 20:47:50 UTC (rev 6240)
+</I>&gt;<i> @@ -1,5 +1,6 @@
+</I>&gt;<i> - do not use aria2 deprecated option (Sam Bailey, mga#7781)
+</I>&gt;<i> -- do not offer to remove DKMS modules for current kernel (mga#5092
+</I>&gt;<i> +- do not offer to remove DKMS modules for current kernel (mga#5092)
+</I>&gt;<i> +- aria2 optimisations from mdv svn
+</I>&gt;<i>
+</I>&gt;<i> Version 7.9 - 11 October 2012, by Thierry Vignaud
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Modified: rpm/urpmi/trunk/urpm/download.pm
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- rpm/urpmi/trunk/urpm/download.pm 2012-10-15 17:51:47 UTC (rev 6239)
+</I>&gt;<i> +++ rpm/urpmi/trunk/urpm/download.pm 2012-10-15 20:47:50 UTC (rev 6240)
+</I>&gt;<i> @@ -93,13 +93,6 @@
+</I>&gt;<i> $urpm-&gt;{log}(N(&quot;%s is not available, falling back on %s&quot;,
+</I>&gt;<i> $requested_downloader, $preferred));
+</I>&gt;<i> }
+</I>&gt;<i> }
+</I>&gt;<i> - # in some cases, we may want not to use metalink (aria2) since it can
+</I>&gt;<i> - # cause issues, see #53434 for example
+</I>&gt;<i> - if ($metalink_disabled &amp;&amp; member($preferred, @metalink_downloaders)) {
+</I>&gt;<i> - $urpm-&gt;{log}(&quot;not using $preferred since metalink has been disabled&quot;);
+</I>&gt;<i> - my @no_metalink = urpm::util::difference2(\@available,
+</I>&gt;<i> \@metalink_downloaders);
+</I>&gt;<i> - $preferred = $no_metalink[0];
+</I>&gt;<i> - }
+</I>&gt;<i>
+</I>&gt;<i> if ($$use_metalink &amp;&amp; !member($preferred, @metalink_downloaders)) {
+</I>&gt;<i> $warned{not_using_metalink}++ or
+</I>&gt;<i> @@ -699,19 +692,24 @@
+</I>&gt;<i>
+</I>&gt;<i> my $aria2c_command = join(&quot; &quot;, map { &quot;'$_'&quot; }
+</I>&gt;<i> &quot;/usr/bin/aria2c&quot;, $options-&gt;{debug} ? ('--log',
+</I>&gt;<i> &quot;$options-&gt;{dir}/.aria2.log&quot;) : @{[]},
+</I>&gt;<i> - &quot;--auto-file-renaming=false&quot;,
+</I>&gt;<i> + '--auto-file-renaming=false',
+</I>&gt;<i> '--ftp-pasv',
+</I>&gt;<i> - &quot;--follow-metalink=mem&quot;,
+</I>&gt;<i> + '--summary-interval=0',
+</I>&gt;<i> + '--follow-metalink=mem',
+</I>&gt;<i> $medium-&gt;{mirrorlist} ? (
+</I>&gt;<i> - '--metalink-enable-unique-protocol=false', # so that it can try both ftp
+</I>&gt;<i> and http access on the same server. aria2 will only do this on first calls
+</I>&gt;<i> - '--max-tries=1', # nb: not using $options-&gt;{retry}
+</I>&gt;<i> + '--metalink-enable-unique-protocol=true', # do not try to connect to the
+</I>&gt;<i> same server using the same protocol
+</I>&gt;<i> + '--metalink-preferred-protocol=http', # try http as first protocol as
+</I>&gt;<i> they're stateless and
+</I>&gt;<i> + # will put less strain on ie. the
+</I>&gt;<i> ftp servers which connections
+</I>&gt;<i> + # are statefull for, causing
+</I>&gt;<i> unhappy mirror admins complaining
+</I>&gt;<i> + # about increase of connections,
+</I>&gt;<i> increasing resource usage.
+</I>&gt;<i> + '--max-tries=5', # nb: not using $options-&gt;{retry}
+</I>&gt;<i> '--lowest-speed-limit=20K', &quot;--timeout&quot;, 3,
+</I>&gt;<i> '--split=3', # maximum number of servers to use for one download
+</I>&gt;<i> '--uri-selector=adaptive', &quot;--server-stat-if=$stat_file&quot;,
+</I>&gt;<i> &quot;--server-stat-of=$stat_file&quot;,
+</I>&gt;<i> - $options-&gt;{is_versioned} ? @{[]} : '--max-file-not-found=3', #
+</I>&gt;<i> number of not found errors on different servers before aborting file
+</I>&gt;<i> download
+</I>&gt;<i> + $options-&gt;{is_versioned} ? @{[]} : '--max-file-not-found=9', #
+</I>&gt;<i> number of not found errors on different servers before aborting file
+</I>&gt;<i> download
+</I>
+You should have keep their changelog isntead of &quot;optimizations&quot;, like:
+&quot;- reenable aria2 + metalink for downloading metadata by default to
+make it more reliable
+- try tune aria2 download parameters for faster and more reliable options
+- suppress aria2's printing of summaries to avoid it confusing urpmi
+parsing the output&quot;
+
+Please edit NEWS (as well as SVN log)
+Also it would have been better to commit them one at a time.
+Have you tested them?
+
+&gt;<i> '--connect-timeout=6', # $CONNECT_TIMEOUT,
+</I>&gt;<i> ) : @{[]},
+</I>&gt;<i> - &quot;-Z&quot;, &quot;-j1&quot;,
+</I>&gt;<i> + '-Z', '-j1',
+</I>
+That bit was unneeded. But that's OK.
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="019363.html">[Mageia-dev] Mageia 3 planning
+</A></li>
+ <LI>Next message: <A HREF="019375.html">[Mageia-dev] Mageia 2 - Security issiue
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19367">[ date ]</a>
+ <a href="thread.html#19367">[ thread ]</a>
+ <a href="subject.html#19367">[ subject ]</a>
+ <a href="author.html#19367">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>