seth vidal wrote: > On Tue, 2007-07-24 at 15:15 +0700, Fajar A. Nugraha wrote: > >> Hi Seth, >> >> After testing yum 3.2.2 on RHEL5, the good news: >> - yum 3.0.x plugins seems to work fine on yum 3.2.2 (I was actually >> surprised that it worked!) >> - no more depsolving problem regarding RPM conflict that exists on yum 3.2.1 >> >> The bad news, a simple "yum update" on up-to-date condition shows that >> yum 3.2.2 is actually slower >> than yum 3.0.6. Same config, same plugins, same command line, repeated >> several times with similar result. Is this an expected behavior? >> >> > > wait are you comparing the list updates from 3.0.6 to 3.2.2 or from > 3.2.1 to 3.2.2? > > The "depsolving problem" was from 3.2.1. It's fixed on 3.2.2. I was actually preparing to jump to 3.2.2 immediately after that, but when I compared "list updates " from 3.0.6 to 3.2.2, I got the bad news. > I'd be curious if the following are slower: > yum list available > yum list installed > > Comparing 3.0.6 to 3.2.2 3.0.6 : ======================== # time yum list available > /dev/null This system is not registered with RHN. RHN support will be disabled. real 0m4.860s user 0m4.548s sys 0m0.216s # time yum list installed > /dev/null This system is not registered with RHN. RHN support will be disabled. real 0m0.403s user 0m0.320s sys 0m0.080s ======================== 3.2.2 : ======================== # time yum list available > /dev/null This system is not registered with RHN. RHN support will be disabled. real 0m22.164s user 0m19.513s sys 0m2.540s # time yum list installed > /dev/null This system is not registered with RHN. RHN support will be disabled. real 0m0.407s user 0m0.324s sys 0m0.076s ======================== So it seems that on "yum list available", 3.2.2 is slower. This is with the same plugins activated : yum-rhn-plugin-0.4.3-2.el5, yum-priorities-1.0.4 Changing to yum-priorities to the one from yum-utils-1.1.6 doesn't show any difference : ======================== 3.2.2 : # time yum list available > /dev/null This system is not registered with RHN. RHN support will be disabled. real 0m22.235s user 0m19.729s sys 0m2.376s ======================== However, disabling plugins shows 3.2.2 is faster. ======================== 3.0.6 : # time yum list available --noplugins > /dev/null real 0m2.310s user 0m2.032s sys 0m0.192s 3.2.2 : # time yum list available --noplugins > /dev/null real 0m1.454s user 0m1.120s sys 0m0.196s ======================== So I'm guessing that 3.2.2 IS indeed faster for some operations. I'm not sure why the priorities plugin make it solwer than 3.0.6. Since we use priorities plugin on all systems, I guess I'd stick with 3.0.6 for now. OS/Package versions, in case it matters : RHEL 5 rpm-4.4.2-37.el5 python-2.4.3-19.el5 sqlite-3.3.6-2 Regards, Fajar _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum