Mailinglist Archive: opensuse-features (199 mails)

< Previous Next >
[openFATE 309996] zypper download speed up
Feature changed by: Karl Cheng (qantas94heavy)
Feature #309996, revision 14
Title: zypper download speed up

openSUSE-11.3: Duplicate of #307862
- Master status: Unconfirmed
+ Master status: Rejected by Karl Cheng <qantas94heavy@xxxxxxxxx>
+ reject reason: Not done in time for 11.3.
Priority
Requester: Important

Requested by: Robert Xu (bravoall1552)
Partner organization: openSUSE.org

Description:
I think we should have zypper use aria2 or some similar program to
allow 2 consecutive downloads at once.
While there is an option in zypp.conf, it does not work naturally with
zypper and GUI tools.
Having 2 downloads at once can speed up installation rapidly.
 
For those who aren't in the DownloadInAdvance mode, maybe they can:
* download 2 at once, add them to install queue, and have the install
queue process as soon as the first download is done.


Business case (Partner benefit):
openSUSE.org: Because Zypper is a little slow, and that's preventing a
lot of packages from being installed in time. We should be able to have
zypper as speedy as possible.

Discussion:
#1: Bruno Friedmann (bruno_friedmann) (2010-06-20 09:59:37)
I think it could be ok, but how did you manage your queue when
dependancies are linked. About aria2 it's already the case zypp and
libzypp depend on it.
You download 4 packages a,b,c,d b and c are quickly downloaded as they
are small. but they depend on the fact that a are installed and d need
a+b ( rpm dependencies ) ...
So you queue wouldn't goes quickly, more you have slow down a and d
download.
There's a way to make install quickly, is also download.opensuse.org
making more smarter decision on which mirror it drive you. I'm in
switzerland, they are 2 super-high-speed mirror here + some in france +
germany, I don't understand why I'm getting rpm coming from japan or
australia with the half of the speed from local mirror.
 

#2: Andras Dosztal (adosztal) (2010-06-20 10:19:22) (reply to #1)
You don't have to manage the dependencies if you download all the
packages first, and install them after that.

#3: Tom Zöhner (zoehneto) (2010-06-20 12:44:12) (reply to #2)
This is the way yum does it. It also makes sence because once
everything is downloaded you can be sure the installation process works
, even if your internet connection fails.

#4: Robert Xu (bravoall1552) (2010-06-20 16:05:47) (reply to #3)
Reread what I said for anyone NOT in DownloadInAdvance mode. I meant,
have packages download, 2 at a time, and as soon as one package is
done, add it to the install queue in its rightful place. Then, as soon
as the first package in the install queue has been downloaded, start
installing right away. This way, we can ensure faster downloads yet
still have the nice dependency order.

#5: Alex Minton (minton) (2010-06-21 08:46:07)
C'mon, guys, this "feature" is just the mix
of  https://features.opensuse.org/307862
(https://features.opensuse.org/307862)  and 
https://features.opensuse.org/120340
(https://features.opensuse.org/120340)

#6: Rémy Marquis (spyhawk) (2010-06-22 12:24:33) (reply to #5)
I'm tagging the feature as duplicate.




--
openSUSE Feature:
https://features.opensuse.org/309996

< Previous Next >
This Thread
  • No further messages