Re: why doesn't yum cache anything?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 02 Jan 2005 15:42:16 -0800, Jamie Zawinski <jwz@xxxxxxx> wrote:
> I think the theory that "yum is fine, it's the RPM libs that are slow"
> is pretty well debunked by this:
> 
>     % time rpm -qa '*mtr*' >/dev/null
>     3.576u 0.121s 0:05.93 62.2%     0+0k 0+0io 0pf+0w
>     % time yum -C list '*mtr*' >/dev/null
>     5.474u 0.539s 0:16.41 36.5%     0+0k 0+0io 8pf+0w

No it isn't. When you are doing "rpm -qa" you are only querying the
database of installed packages. When doing "yum list" you are querying
installed, AND available packages, for which the metadata must be
parsed and loaded. That's a significant difference, if only because
the number of packages goes up from a few hundred to several
thousands.

Regards,
-- 
Konstantin Ryabitsev
Zlotniks, INC


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux