Bug 1106153

Summary: Wishlist Request: Change Yast Online Update to download repodata in parallel
Product: [openSUSE] openSUSE Distribution Reporter: Eric Benton <erbenton>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FEATURE QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Leap 42.3   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 42.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Eric Benton 2018-08-28 01:21:50 UTC
I have 13 repos in my online update repository. Downloading takes several minutes (6 minutes last time!) at best even tho I am on a fast connection. It would really speed things up if Yast downloaded the repo data in parallel. I myself download stock data in parallel using pthreads and it is orders of magnitude faster, the same paradigm could be used for Yast repo data.
Comment 1 Michael Andres 2018-08-28 10:59:11 UTC
There's unfortunately no quick solution for this, but it's already on our list.

libzypp (which is used by YAST, zypper and PK) is doing the refresh and its media backend is driving the downloads. The backend needs to be rewitten to support more parallelism. All clients need to be adapted to use it. This is quite an intrusive change, which we most probably can't backport to already released distributions.