Summary: | emerge performance bad due to unnecessary binary package scanning | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Konstantin Münning <konstantin> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | Keywords: | InVCS |
Priority: | Normal | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 835380, 431026 |
Description
Konstantin Münning
2012-09-24 10:08:20 UTC
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c4703d79878e4e0eb8e2b36e49c0bdee835b847e This is fixed in 2.1.11.22 and 2.2.0_alpha131. That's great. Tested 2.1.11.22 and now an emerge -pv portage takes 5 minutes instead of 14, so a huge improvement. Are there any further plans to improve performance? After package scanning a worthwhile optimization target seem to be dependency calculations. If there is anything I could do, let me know but I have no experience with python profiling. For python profiles, I have a couple of scripts that you can use to get started: http://dev.gentoo.org/~zmedico/tmp/profile.sh http://dev.gentoo.org/~zmedico/tmp/dump_pstats.py Usage is like this: profile.sh emerge.pstats emerge <args> dump_pstats.py emerge.pstats > emerge.pstats.txt The second command converts the profiling stats to a human-readable form, which is easy to analyze. |