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

Bug 261143

Summary: enhancement: add functionality to eix to speed up cache-creation (similar to emerge --jobs n)
Product: Gentoo Linux Reporter: Matt <jackdachef>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: jlec
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt 2009-03-04 10:45:51 UTC
please consider adding a switch to run update-eix with several jobs compared to emerge --jobs n (n = number of simultaneous jobs) to speed up cache-creation

due to a large number of overlays I'm using cache-creation with update-eix takes very long

allowing this kind of "tweak" would allow to speed up cache-creation of eix 
like speeded up creation of the dependency-tree of portage if invoked via

emerge --regen --jobs 7


thus the command should like something like

update-eix --jobs 7

or update-eix --speedup 7

thanks !

Reproducible: Always
Comment 1 Martin Väth 2009-03-04 11:16:05 UTC
update-eix is not easy to parallelize. Moreover, the slowest methods ebuild and ebuild* call portage which uses intermediate files with a fixed name. Thus, actually even currently there are some known race conditions.

What you can do to speed up things if you do not upgrade all your overlays simultaneously is to write a script to store eix-files for individual overlays and use the very fast cache-method eix to use those files instead of the actual overlay data.