[opensuse-project] zypper slow
I have a genuine question for the openSUSE folk. I recently switched from Red Hat to openSUSE 11.4. In a nutshell, I am very happy with the resulting system that I have running with the 2.6.37 Linux kernel. But I just can't understand one thing. What makes zypper so god damn slow when it comes to package management and installation of packages? In comparison to Red Hat's yum and Debian's apt, zypper is shockingly slow at anything it does. I'm curious as to why this is and why it can't be developed to match the speed of yum and apt. Can someone shed some light on this? Cheers -- PHOTO RESOLUTIONS - Photo - Graphic - Web C and L Jones - Proprietors ABN: 98 317 740 240 WWW: http://photoresolutions.freehostia.com @: chrisjones@comcen.com.au or photoresolutions@comcen.com.au Command lines and Linux terminals are my comfort zone! OS: Windows XP System: x86 Desktop: Professional SP3 OS: openSUSE 11.4 System: Linux 2.6.37.1-1.2 x86_64 Desktop: KDE 4.6.0 OS: FreeBSD 7.3-p3 System: i386 Server: Headless-WebUI+putty -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
Hi Well depends on the backend which zypper supports a lot which is currently aria but you can always change it to one of your download manager choices ranging from curl to wget to anything at zypp.conf ( I believe not sure) Regards Manu On Thu, Apr 21, 2011 at 2:35 PM, Chris Jones <chrisjones@comcen.com.au> wrote:
I have a genuine question for the openSUSE folk. I recently switched from Red Hat to openSUSE 11.4. In a nutshell, I am very happy with the resulting system that I have running with the 2.6.37 Linux kernel. But I just can't understand one thing. What makes zypper so god damn slow when it comes to package management and installation of packages?
In comparison to Red Hat's yum and Debian's apt, zypper is shockingly slow at anything it does. I'm curious as to why this is and why it can't be developed to match the speed of yum and apt.
Can someone shed some light on this?
Cheers
-- PHOTO RESOLUTIONS - Photo - Graphic - Web
C and L Jones - Proprietors
ABN: 98 317 740 240 WWW: http://photoresolutions.freehostia.com @: chrisjones@comcen.com.au or photoresolutions@comcen.com.au
Command lines and Linux terminals are my comfort zone!
OS: Windows XP System: x86 Desktop: Professional SP3
OS: openSUSE 11.4 System: Linux 2.6.37.1-1.2 x86_64 Desktop: KDE 4.6.0
OS: FreeBSD 7.3-p3 System: i386 Server: Headless-WebUI+putty
-- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
-- Regards Manu Gupta -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
On Thu, Apr 21, 2011 at 07:05:48PM +1000, Chris Jones wrote:
I have a genuine question for the openSUSE folk. I recently switched from Red Hat to openSUSE 11.4. In a nutshell, I am very happy with the resulting system that I have running with the 2.6.37 Linux kernel. But I just can't understand one thing. What makes zypper so god damn slow when it comes to package management and installation of packages?
In comparison to Red Hat's yum and Debian's apt, zypper is shockingly slow at anything it does. I'm curious as to why this is and why it can't be developed to match the speed of yum and apt.
It's much faster than yum on my machine. Where exactly is it slow? If you see some (small) delay when it checks the repositories, this is because zypper's default is to check if the repository metadata is up-to-date. You can change the behaviour with 'zypper mr -R'. If you experience long delays where it doesn't do anything, you're probably behind a router that provides a bad DNS service. Glibc does IPv4 and IPv6 DNS lookups in parallel, but waits until it received both responses. Some broken DNS servers don't send a IPv6 answer at all, so glibc will wait until it runs into a timeout. There's no good solution to this problem, but you can test if this is the case by manually changing the DNS server in /etc/resolv.conf to some working server, e.g. google's DNS server on 8.8.8.8 Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
On Thu, Apr 21, 2011 at 03:05, Chris Jones <chrisjones@comcen.com.au> wrote:
I have a genuine question for the openSUSE folk. I recently switched from Red Hat to openSUSE 11.4. In a nutshell, I am very happy with the resulting system that I have running with the 2.6.37 Linux kernel. But I just can't understand one thing. What makes zypper so god damn slow when it comes to package management and installation of packages?
In comparison to Red Hat's yum and Debian's apt, zypper is shockingly slow at anything it does. I'm curious as to why this is and why it can't be developed to match the speed of yum and apt.
Can someone shed some light on this?
That really surprises me. I'm seen the opposite. The one thing that comes to mind is it might be the mirror you are talking to. For a little while there was a bad (for whatever reason) mirror that my machine was pulling from and zypper was slow. I'm not sure off the top of my head how to check that. Maybe someone on the list knows. Cheers, Stephen -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
participants (4)
-
Chris Jones
-
Manu Gupta
-
Michael Schroeder
-
Stephen Shaw