Hi all,
When I do a simple string search with Yum (ex. yum search *hwinfo*) my laptop suffers high slowness. If I open another shell-tab and execute top command, it shows me an extensive use of hardware resources from Yum (20-25% RAM and 70-85% CPU). If in the same time I'm using Firefox browser the performance goes down too much and even it seems the box it's freezed. The box become totally useless during few minutes (until yum command has finished or I've killed it)
More info about my old and loved laptop:
* Hardware* Acer TravelMate 240 256RAM Celeron 2,5 Ghz
*Software* CentOS 4.4 Final (totally updated at current day) Desktop default instalation (which means GNOME environment)
¿Is this behaviour "normal"? ¿What about this extensive hardware use from Yum?
I supose my laptop is an old-fashioned hardware but this behaviour did not happen when I installed Ubuntu (and I did use apt to manage sofware) in same machine in recent past.
On Mon, December 25, 2006 1:45 pm, Jordi Espasa Clofent wrote:
¿Is this behaviour "normal"? ¿What about this extensive hardware use from Yum?
Does this happen during the metadata parsing? If so, yes, it is quite resource intensive, especially when you have some large repositories enabled. There is a C metadata parser that is available from the yum site, that is much faster and lighter. But it requires yum 2.6.2.
I supose my laptop is an old-fashioned hardware but this behaviour did not happen when I installed Ubuntu (and I did use apt to manage sofware) in same machine in recent past.
APT is available from the Extras repository, and may be faster on old hardware.
With kind regards, Daniel de Kok
Does this happen during the metadata parsing? If so, yes, it is quite resource intensive, especially when you have some large repositories enabled. There is a C metadata parser that is available from the yum site, that is much faster and lighter. But it requires yum 2.6.2.
Yes Daniel, it happens especially during the metadata parsing. The trouble is yum is in version 2.4.3. The C metadata parser sounds great. I'll try it in future Yum versions.
I'm not a developer but anybody knows that C is great language in terms of performance.
¿Is Yum written totally in Python or I'm wrong?
Jordi Espasa Clofent wrote:
Does this happen during the metadata parsing? If so, yes, it is quite resource intensive, especially when you have some large repositories enabled. There is a C metadata parser that is available from the yum site, that is much faster and lighter. But it requires yum 2.6.2.
Yes Daniel, it happens especially during the metadata parsing. The trouble is yum is in version 2.4.3. The C metadata parser sounds great. I'll try it in future Yum versions.
I'm not a developer but anybody knows that C is great language in terms of performance.
¿Is Yum written totally in Python or I'm wrong? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yum's written in python. python23 in fact. Which is a bummer because we have this groovy version of python24 we use for our applications and we broke yum installing it and the libxml2 stuff. We actually recompiled yum 2.6.1 and everything it needs to run under our version of python24. The only message we haven't bothered to straighten out yet is:
Warning, could not load sqlite, falling back to pickle 2.6.1
Which yields a bit of a performance degradation when installing packages. But we did get yum upgraded and running after about a day of satisfying dependencies, a few patches, and plenty of 'rpmbuild -ba blahblah.spec'.
Peter
Jordi Espasa Clofent wrote:
Hi all,
When I do a simple string search with Yum (ex. yum search *hwinfo*) my laptop suffers high slowness. If I open another shell-tab and execute top command, it shows me an extensive use of hardware resources from Yum (20-25% RAM and 70-85% CPU). If in the same time I'm using Firefox browser the performance goes down too much and even it seems the box it's freezed. The box become totally useless during few minutes (until yum command has finished or I've killed it)
Yeah, that's yum. You should see what it does to my old Pentium MMX laptop :-(
On Mon, 2006-12-25 at 13:45 +0100, Jordi Espasa Clofent wrote:
Hi all,
When I do a simple string search with Yum (ex. yum search *hwinfo*) my laptop suffers high slowness. If I open another shell-tab and execute top command, it shows me an extensive use of hardware resources from Yum (20-25% RAM and 70-85% CPU). If in the same time I'm using Firefox browser the performance goes down too much and even it seems the box it's freezed. The box become totally useless during few minutes (until yum command has finished or I've killed it)
More info about my old and loved laptop:
- Hardware*
Acer TravelMate 240 256RAM Celeron 2,5 Ghz
*Software* CentOS 4.4 Final (totally updated at current day) Desktop default instalation (which means GNOME environment)
¿Is this behaviour "normal"? ¿What about this extensive hardware use from Yum?
I supose my laptop is an old-fashioned hardware but this behaviour did not happen when I installed Ubuntu (and I did use apt to manage sofware) in same machine in recent past.
You might also try RUM ...
(I am not making this stuff up :P)
It seems to do some things faster.
Thanks, Johnny Hughes
You might also try RUM ...
(I am not making this stuff up :P)
It seems to do some things faster.
Thanks for info ;)
Johnny Hughes wrote:
On Mon, 2006-12-25 at 13:45 +0100, Jordi Espasa Clofent wrote:
Hi all,
When I do a simple string search with Yum (ex. yum search *hwinfo*) my laptop suffers high slowness. If I open another shell-tab and execute top command, it shows me an extensive use of hardware resources from Yum (20-25% RAM and 70-85% CPU). If in the same time I'm using Firefox browser the performance goes down too much and even it seems the box it's freezed. The box become totally useless during few minutes (until yum command has finished or I've killed it)
More info about my old and loved laptop:
- Hardware*
Acer TravelMate 240 256RAM Celeron 2,5 Ghz
*Software* CentOS 4.4 Final (totally updated at current day) Desktop default instalation (which means GNOME environment)
¿Is this behaviour "normal"? ¿What about this extensive hardware use from Yum?
I supose my laptop is an old-fashioned hardware but this behaviour did not happen when I installed Ubuntu (and I did use apt to manage sofware) in same machine in recent past.
You might also try RUM ...
Yum! :D