On Mon, Jun 02, 2014 at 10:01:38PM +0200, Lars Ellenberg wrote:
> kernel                                        0   0.015713000 100.99 x speedup
> kernel(DSA_verify)                        64806   0.392415000 
> kernel(DSA_verify)                            0   0.014446000 27.16 x speedup
> kernel-xen                                32280   0.195229000 
> kernel-xen                                    0   0.014184000 13.76 x speedup
> 
> So yes, that looks like a nice improvement even for packages with
> a "short" provides list, and a big improvement for packages with
> long provides lists.
> 
> If it's functional equivalent: please use!
> 
> I'll time a full "yum check" later,
> and then an other with cProfile enabled, just for fun.

Yum from git, with this patch:
---------------------
# time yum check
Loaded plugins: fastestmirror, keys, protect-packages, protectbase,
rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
check all

real    64m37.107s
user    51m40.175s
sys     12m55.040s

Same yum, with cProfile enabled:
# time yum check
Loaded plugins: fastestmirror, keys, protect-packages, protectbase,
rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
check all

real    67m43.047s
user    54m27.885s
sys     13m13.041s

(profile available, if anyone is interested)
---------------------


Still "a long time", but before it was 2 hours, now it is only one
(which is consistent with the "60% in str_eq" of the subject).

I'll followup in a few weeks,
if I find the time to analyse where it really spends that hour,
and if it is really necessary to spend so much time.

I'd expect an "index consistency check" to be much faster.

Thanks,
        Lars

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to