Linked by Christian Paratschek on Thu 27th May 2004 16:00 UTC
Fedora Core So, there it is, the highly anticipated second release of Fedora Core. Again, I wanted to wait for a few days for things to calm down,and again, I couldn't resist updating my production system within two days after the release. Well, I'm just a Linux junkie, i guess...
Permalink for comment
To read all comments associated with this story, please click here.
by LinuxBuddy on Thu 27th May 2004 20:07 UTC

Yum slowness has nothing to do with either Python or dependency analysis, I believe. IIRC, Yum delegates all dependency analysis to RPM directly through an API. Thus, if the dependency analysis is slow, it's RPM's fault, not Yum's. This also seems like a better way to do the dependency analysis, IMHO, as you're using the same algorithm as RPM itself, not trying to create a parallel algorithm that may conflict at some point.

Now, Yum is slow, but I think that's the fault of downloading all the RPM headers as separate files rather than as a whole new single header file, wildly compressed, like the way Apt does it. This also points out that Python isn't your problem either. The problem is that Yum makes sooooooo many more individual network requests for what are generally small files. Whether it's Python or C driving that process makes virtually no difference. It's all about network bandwidth, latency, server side busyness (that's the biggest problem I have seen, frankly, but the multiple requests compound it).

Anyway, I use Yum, but I do wish they would correct the performance of it. Those changes are larger algorithmic changes, not simply rewriting it in C.