List Info

Thread: yum/yum depsolve.py,1.146,1.147




yum/yum depsolve.py,1.146,1.147
country flaguser name
United States
2007-03-28 03:53:55
On Wed, 2007-03-28 at 04:48 -0400, Seth Vidal wrote:
> Update of /home/groups/yum/cvs/yum/yum
> In directory
login1.linux.duke.edu:/tmp/cvs-serv15332/yum
> 
> Modified Files:
> 	depsolve.py 
> Log Message:
> 
> make it a small amount faster. searching the
transaction set members is slow
> - it needs to be faster
> 

I made some changes to checkRemove() that implement what I
talked about
the other night. Unfortunately we seemed to have picked up a
lot of time
on the depcheck in my tests and it's all when we search the
tsInfo for
things that might require something we're
removing/obsolete/updating.

I'm a little blurry right now from sleep deprivation but I
can't think
of a good way to speed up that look up. 

I'm open to suggestions.

-sv


_______________________________________________
Yum-devel mailing list
Yum-devellinux.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Re: yum/yum depsolve.py,1.146,1.147
country flaguser name
Norway
2007-03-29 01:38:06
seth vidal
>
> I made some changes to checkRemove() that implement
what I talked about
> the other night. Unfortunately we seemed to have picked
up a lot of time
> on the depcheck in my tests and it's all when we search
the tsInfo for
> things that might require something we're
removing/obsolete/updating.
>
> I'm a little blurry right now from sleep deprivation
but I can't think
> of a good way to speed up that look up. 
>
> I'm open to suggestions.
>
>   
Not much help, however 3.1.5 is fast enough: to depsolve 160
updates in 
345M is 50 seconds, great!

With CVS HEAD  the story is different, the problem seems to
be that each 
check is slow,
I only get a line per second in output like this:

looking to see what requires 
('/usr/src/kernels/2.6.20-1.3023.fc7-i686/arch/arm/mach-pxa/
Kconfig', 
None, (None, None, None)) of dkms - 2.0.16-1.fc7.noarch
ooking to see what requires 
('/usr/src/kernels/2.6.20-1.3023.fc7-i686/arch/arm/mach-pxa/
Makefile', 
None, (None, None, None)) of dkms - 2.0.16-1.fc7.noarch

With 15000 files in kernel-devel it will take over 4 hours
to depsolve 
this package, (no I don't want to verify that).


 - Terje

_______________________________________________
Yum-devel mailing list
Yum-devellinux.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )