Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304721

Summary: Use 'size of downloads' as additional parallel-fetch package ordering key
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 11:25:52 UTC
Portage could use 'size of downloads' (i.e. amount of additional data that needs to be downloaded before building the package) whenever sorting sibling nodes in the dependency tree.

For example, with current ordering it is possible that www-client/chromium (140M of download) will be placed before much smaller, totally unrelated packages. In this case, non-parallel build process will be stalled for a few minutes required to download the package and start building it.

With download-size ordering, portage would place unrelated, smaller packages before chromium so that less time would be wasted waiting for download to complete (with parallel-fetch enabled).
Comment 1 Zac Medico gentoo-dev 2010-02-17 04:04:31 UTC

*** This bug has been marked as a duplicate of bug 257073 ***