Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28704 - major fixpackages speed improvement
Summary: major fixpackages speed improvement
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 27421
  Show dependency tree
 
Reported: 2003-09-14 07:11 UTC by Marius Mauch (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patched portage.py (fixpackages.diff,2.60 KB, patch)
2003-09-14 07:13 UTC, Marius Mauch (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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