Interesting anaconda/yum performance issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To solve a class a problems in a project I'm working on, I'm using
kickstart files which explicitly list each package which should be
installed on the new system.

This works, but can make anaconda horribly slow.

Using cProfile, it appears that we're calling buildPkgRefDict for each
explicitly listed package -- at a cost of nearly a half-second per call
(3GigHz P4).  Clearly this gets to be rather expensive when the package
list is long -- a typical install is over 600 packages.  We're burning
an absurd amount of time here.

Using @group syntax does not suffer from this problem.  So clearly
there's a path through anaconda which does not need to call 
buildPkgRefDict so often.

Any thoughts/suggestions/comments on how to do something about this?  

Jeff




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux