Bug 425032

Summary: download and install in parallel
Product: [openSUSE] openSUSE 11.1 Reporter: Caleb Cushing <xenoterracide>
Component: YaST2Assignee: E-mail List <zypp-maintainers>
Status: RESOLVED FEATURE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P3 - Medium CC: kontakt, lavrinenko_alex, shafff
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Caleb Cushing 2008-09-10 04:15:06 UTC
currently packages download install... download install.. download install. this is wasteful as downloading has nothing to do with installing.

it should be initiate download of all packages (in parallel (425031) ) this will have to create locks... in case the installer needs to install a package not yet finished downloading...

then it should start installing packages as soon as the first are downloaded.
Comment 1 Alexander Lavrinenko 2008-09-11 07:22:05 UTC
This is tricky to implement - packages are downloaded and installed in order of their dependencies. Parallel dload and install will cause mess with deps.
Comment 2 Caleb Cushing 2008-09-11 16:45:21 UTC
I know this isn't gentoo, but gentoo does this in portage. the feature is parallel-fetch it might give you some ideas of how it could be implemented.

basically it starts downloading when the first package is ready it starts an install and backgrounds the downloading then when it when that install is done it checks to see if the package for the next install has been downloaded if not it tells there has been a lock and cause portage(the package manager) to wait for it to finish downloading.
Comment 3 Christoph Thiel 2008-09-25 10:30:44 UTC
Duncan, isn't this something you guys were implementing?
Comment 4 Duncan Mac-Vicar 2008-10-08 11:08:53 UTC
*** Bug 419012 has been marked as a duplicate of this bug. ***
Comment 5 Michael Andres 2010-08-04 12:09:06 UTC
FATE#120340