Re: yum 3.2.2 release

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1185935611.12224.135.camel@cutter>
On Thu, 2007-07-26 at 08:50 +0700, Fajar A. Nugraha wrote:
> >   
> 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
> 

okay, I actually think this has to do with excluding packages via
plugins and I committed a change a couple of days ago to fix that.
It'll be out in 3.2.3 or you can try out this patch:

http://tinyurl.com/33l4u9

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.