Hi, On Mon, 17 Nov 2014 19:56:02 -0800 Zac Medico wrote: > On 11/17/2014 07:07 PM, Andrew Savchenko wrote: [...] > > Tarball contains per host directories. Each one contains: > > - pstats file; > > - generated pdf with call graphs and timing; > > - host-related information: > > * emerge --info > > * /proc/cpuinfo > > * /proc/memnifo > > > > *.pstats and *.pdf filename should describe command unambiguously, > > e.g. emerge-pv_python:2.7_python:3.3-python-3.3.5-r1 means: > > emerge -pv python:2.7 python:3.3 while using python-3.3.5-r1 as > > interpreter. > > Thank you for this data. I will see what I can to do optimize the > problem areas that your data highlights. > > > hitomi system was not fully updated for a bit more than a year, > > while another one for about half a year. So dependency calculations > > may be of different intencities. Sets of packages installed are > > similar but not the same: > > 2502 on hitomi > > For hitomi, _slot_operator_update_probe/use_reduce is an obvious thing > to optimize. It called use_reduce 53763 times there, so it seems to > repeat use_reduce multiple times for the same packages. That means we > should see a benefit from memoization. > > > 2953 on desktop > > For desktop, _dynamic_deps_preload is an obvious thing to optimize. You > can avoid this function entirely if you use --dynamic-deps=n. You may > need to run 'emerge @changed-deps' in order to ensure that emerge will > be able to cope with --dynamic-deps=n. IIRC you need at least > sys-apps/portage-2.2.14 for @changed-deps support. I use 2.2.14 on both hosts (and usually latest ~x86 portage is there). I thought that running fixpackages should be enough to run emerge with --dynamic-deps=n.
I'm afraid I will not be able to run emerge @changed-deps prior to @world update due to too old packages installed (e.g. versions not in tree anymore), blockers and unsatisfied deps. When I'll manage to run emerge -DNupv @world without errors, I'll send you stats for both runs with and without dynamic deps. By the way, do you need pstats files (e.g. for some extra data) or pdf graphs are sufficient? Best regards, Andrew Savchenko
pgpATbXkoTWxU.pgp
Description: PGP signature