Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346467 - app-portage/gentoolkit: eclean performance improvements
Summary: app-portage/gentoolkit: eclean performance improvements
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 21:36 UTC by Paul Varner (RETIRED)
Modified: 2011-07-18 18:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2010-11-22 21:36:28 UTC
I don't know if it is feasible or possible, but eclean is slower than molasses at least with the following options:

eclean-dist -d -f -C -t1w

If possible, let's target it in the 0.3.1 release
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2010-11-23 06:55:32 UTC
In the last re-write I did to eclean I was able to speed it up slightly from the original single file script.  The (slow) search code is now split up into many smaller functions which make it much easier to maintain and modify.  I do not think that there will be much speed improvement available due to the fact it is very IO dependent.  
Comment 2 Paul Varner (RETIRED) gentoo-dev 2011-07-18 18:35:18 UTC
Profiling the eclean code shows that 90% of the time is spent in the portage.aux_get retrieving information about the packages.  Since this is I/O intensive and necessary to execute properly, there isn't a lot that can be done to speed it up.