Hi!

As already announced on #yum I am currently playing with really big installations: F8 Everything everything

I now have timed various sub tasks in the preprocessing phase of rpmlib. This gives a quite good idea where the problems are. Some of them need to be fixed in yum others in rpm(lib).

The two test candidates are both fresh installs into an installroot on a Fedora 8 machine using yum HEAD and rpm HEAD. One does a group install resulting in about 1k packages ("Office/Productivity" "GNOME Desktop Environment" "Games and Entertainment" "Sound and Video" "Development Tools" "Graphical Internet" "System Tools" Core Base Editors Java "X Window System" Graphics Ruby "KDE (K Desktop Environment)" ) and the second installs "*", excludes 3 packages to resolve conflicts and uses the new --skip-broken feature to get a working set of packages. This results in 8.9k packages.

All timings are in seconds (if not stated otherwise). I also give the ratio of the timing to make spotting the runtime behavior easier.

Have fun

Florian
(Timings in seconds)

yum groupinstall ...
=====================
1007 pkgs
143,305 files
Depsolving 23.7
Running rpm_check_debug
populateTs 4.4871840477
check 0.353991985321
Running Transaction Test
initActionTs 0.0228180885315
populateTs 4.14678096771
test 25.1478779316
Finished Transaction Test
Transaction Test Succeeded
initActionTs 0.000195026397705
populateTs 4.15238595009
check 0.357394933701
order 0.437646150589
Running Transaction - not timed, see "test"

sum (with test counted twice): 1m28s
real    1m35.466s (including install of 10 pkgs)

yum install *
=============
8862 pkgs
1,413,118 files
Depsolving - 178.0
Running rpm_check_debug
populateTs 322.944131136
check 2.16476297379
Running Transaction Test
initActionTs 0.225929021835
populateTs 346.730643034
test 3151.71939611
Finished Transaction Test
Transaction Test Succeeded
initActionTs 0.220103979111
populateTs 513.005566835
check 2.37508201599
order 52.159758091
Running Transaction - not timed, see "test"

sum (with test counted twice): 128m43s
real    138m17.627s (including install of 323 pkgs)

Ratio (install * / groupinstall)
================================
pkgs: *8.8 (square: 77)
files: *9.9 (square: 97)
Running rpm_check_debug
populateTs *72
check *6.1
Running Transaction Test
initActionTs *9.9
populateTs *84
test *125
Finished Transaction Test
Transaction Test Succeeded
initActionTs *9.6
populateTs *124
check *6.6
order *119
Running Transaction - not timed, see test

sum (with test counted twice): *117
real *87 (ehm, forget about that)
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to