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

Bug 28704

Summary: major fixpackages speed improvement
Product: Portage Development Reporter: Marius Mauch (RETIRED) <genone>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: major CC: converter42
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 27421    
Attachments: patched portage.py

Description Marius Mauch (RETIRED) gentoo-dev 2003-09-14 07:11:18 UTC
fixpackages is currently a beast when it comes to performance, it took over 8
hours to change my 1000 .tbz2 packages. After a little testing I founf out that
the fixdbentries script is the speed bottleneck as it starts at least 5 new
processes (bash, grep, sed, xargs, sed) for each .tbz2/update-entry combination.

I integrated the functionality into portage.py and from a little testing it
improved performance by about 500-800%. Would be nice if someone else could
check this for side-effects, so far I haven't seen any problems but you never know.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-09-14 07:13:47 UTC
Created attachment 17698 [details, diff]
patched portage.py
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-10-16 12:28:06 UTC
using it for a month now, so far no problems.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-11-09 23:20:56 UTC
Included for -r17