Mailinglist Archive: zypp-devel (102 mails)
| < Previous | Next > |
Re: [zypp-devel] find/use fastest mirror?
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Mon, 30 Mar 2009 17:26:27 +0200
- Message-id: <49D0E4A3.3070206@xxxxxxx>
PGNet wrote:
Please read:
http://duncan.mac-vicar.com/blog/archives/507
http://duncan.mac-vicar.com/blog/archives/517
No, the ZYpp soname changed so it would break your YaST.
However, 11.1 has aria2 support. buggy, disabled by default and
experimental, but it has.
The main difference, is that in Factory, libzypp read its options and
passes the right settings to aria via the command line, while in 11.0
you may still have a chance setting them manually.
You may want to try the following experiment.
- update aria2c on 11.1 to the latest in network:utilities
- set env var ZYPP_ARIA2C=1 to enable aria on 11.1
- edit (root) ~/.aria2/aria2.conf and set
- You need to set the following cmd line options in the config file:
--server-stat-if=FILE --server-stat-of=FILE and -uri-selector=SELECTOR
I guess it would be something like:
# input stats
server-stat-if=/var/cache/zypp/aria.stats
# output stats, same file
server-stat-of=/var/cache/zypp/aria.stats
uri-selector=adaptative
This _may_ work for speed issues. Not likely for failover, IIRC 11.1
aria2c backend had a bug that interprets mirror switches as failures,
and that one is only fixed in Factory, I am curious about the experiment
above.
--
Duncan Mac-Vicar P. - Engineering Manager, YaST
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
will that failover trigger only on no_connect, or also on
user-definable (e.g. min DL speed) performance threshhold?
Please read:
http://duncan.mac-vicar.com/blog/archives/507
http://duncan.mac-vicar.com/blog/archives/517
&, can 11.2/Factory's zypp/aria2c/etc be _safely_ installed on 11.1,
or are dependencies an issue?
No, the ZYpp soname changed so it would break your YaST.
However, 11.1 has aria2 support. buggy, disabled by default and
experimental, but it has.
The main difference, is that in Factory, libzypp read its options and
passes the right settings to aria via the command line, while in 11.0
you may still have a chance setting them manually.
You may want to try the following experiment.
- update aria2c on 11.1 to the latest in network:utilities
- set env var ZYPP_ARIA2C=1 to enable aria on 11.1
- edit (root) ~/.aria2/aria2.conf and set
- You need to set the following cmd line options in the config file:
--server-stat-if=FILE --server-stat-of=FILE and -uri-selector=SELECTOR
I guess it would be something like:
# input stats
server-stat-if=/var/cache/zypp/aria.stats
# output stats, same file
server-stat-of=/var/cache/zypp/aria.stats
uri-selector=adaptative
This _may_ work for speed issues. Not likely for failover, IIRC 11.1
aria2c backend had a bug that interprets mirror switches as failures,
and that one is only fixed in Factory, I am curious about the experiment
above.
--
Duncan Mac-Vicar P. - Engineering Manager, YaST
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |