Mailinglist Archive: opensuse (1355 mails)

< Previous Next >
Re: [opensuse] Leap 15.0: updates missing from repository?
On 2018-06-12 09:07, Per Jessen wrote:
Per Jessen wrote:

Andrei Borzenkov wrote:

12.06.2018 08:39, Per Jessen пишет:

So this feature would need another adjustment for minimal speed to
reject a repo.

Unless the current download code is able to download in parallel
:-?

Yes, it normally does. A download is split into chunks, and these
are fetched from multiple mirrors.

As far as I can tell default downloader in zypper is curl; can it
really do it? This would require using aria as default.

It is done with segmented downloading, really just plain http. "get
me a bit of this file, from x to y".

I have to add - I'm not actually sure if this happens in parallel, but
that is the only thing that makes sense.

It was done in parallel some years ago, because YaST could optionally (or by
default?) use aria. Currently I think an internal downloader is use.

This was /var/log/YaST2/y2log, using Leap 42.3:

2018-02-04 13:06:20 <1> linux-ssd(8772) [zypp++]
MediaCurl.cc(doGetFileCopyFile):1489
./x86_64/MozillaFirefox-52.6-75.1.x86_64.rpm
2018-02-04 13:06:20 <1> linux-ssd(8772) [zypp++]
MediaCurl.cc(doGetFileCopyFile):1499 URL:
http://download.opensuse.org/update/leap/42.3/oss/x86_64/Mozilla
2018-02-04 13:06:21 <1> linux-ssd(8772) [zypp++]
MediaMultiCurl.cc(doGetFileCopy):1361 HTTP response: 200
2018-02-04 13:06:21 <1> linux-ssd(8772) [zypp++] MediaCurl.cc(setupEasy):837
Proxy: not explicitly set
2018-02-04 13:06:21 <1> linux-ssd(8772) [zypp++] MediaCurl.cc(setupEasy):838
Proxy: libcurl may look into the environment

so it was using "libcurl", not curl CLI.

In this 15.0 I see references to MediaMultiCurl.cc and libcurl as well.

I see:

2018-06-11 13:35:15 <1> linux-ssd(8022) [zypp++]
MediaCurl.cc(doGetFileCopyFile):1499 URL:
http://download.opensuse.org/update/leap/42.3/oss/x86_64/libzypp
-16.17.12-24.1.x86_64.rpm

...

2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1143
overall result
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #0:
state: 5 received: 262144 url:
http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #1:
state: 3 received: 152320 url:
http://fr2.rpmfind.net/linux/opensuse/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #2:
state: 6 received: 0 url:
http://opensuse.mirrors.ovh.net/opensuse/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #3:
state: 4 received: 1858377 url:
http://mirror.hostsuisse.com/opensuse/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #4:
state: 3 received: 233312 url:
http://mirror.switch.ch/ftp/mirror/opensuse/opensuse/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm
2018-06-11 13:35:16 <2> linux-ssd(8022) [zypp] MediaMultiCurl.cc(run):1147 #5:
state: 5 received: 262144 url:
http://www.mirrorservice.org/sites/download.opensuse.org/update/leap/42.3/oss/x86_64/libzypp-16.17.12-24.1.x86_64.rpm


This seems to indicate that it obtains chunks from several servers, no?

I don't know if it applies to every file or only large files.




--
Cheers / Saludos,

Carlos E. R.

(from openSUSE, Leap 15.0 x86_64 (ssd-test))

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >