You are not logged in.

#1 2010-05-25 00:14:10

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Pacman and Yaourt slow

Hello,

I just installed arch and i have noticed that pacman and yaourt are very slow the downloading is not slow but the resolving is. Firefox was slow atfirst until i disabled ipv6 in firefox itself, now i want to disable the ipv6 module completely so no other software has issues with it, so i changed my /etc/modprobe.d/modprobe.conf to

#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#

alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off

and i rebooted but pacman and yaourt still resolve slow.

Is there something else i have to do to disable ipv6 ?

Thanks in advance,

Offline

#2 2010-05-25 05:53:56

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Pacman and Yaourt slow

You might want to try another package manager such as clyde to clarify that it's not a problem with pacman or yaourt itself?

Offline

#3 2010-05-25 06:14:51

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Pacman and Yaourt slow

yaourt is kind of slow anyway. I recommend clyde too.
Also try running pacman-optimize a couple of times.
Is your /var on a separate partition? If so, what filesystem?


neutral

Offline

#4 2010-05-25 08:12:28

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: Pacman and Yaourt slow

Pacman was slow to me until i decided to run /var on a separate partition with the reiserfs, now it zips along big_smile


Certified Android Junkie
Arch 64

Offline

#5 2010-05-25 08:35:59

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: Pacman and Yaourt slow

This has the same effect without partitioning. Many of us use this for long time, without any problem:
http://aur.archlinux.org/packages.php?ID=32483


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#6 2010-05-25 14:55:28

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

I dont understant what does resolving and adres have to do with a partition ? Btw i already tried pacman-optimize didnt really give me a boost or something. Pacman-cage did speedup searching but the resolving problem is still there this is how i goes:

Total Download Size:    4.23 MB
Total Installed Size:   27.18 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
apr-1.4.2-1-i686.pk...   250.5K  661.4K/s 00:00:00 [#####################] 100%
unixodbc-2.3.0-1-i6...   190.6K  706.5K/s 00:00:00 [#####################] 100%

first it downloaded apr-1.4.2-1-i686 then i had to wait for 20 seconds then  unixodbc-2.3.0-1-i686 started downloading so the downloading itself is not slow but starting the download takes very long.

Offline

#7 2010-05-25 15:24:15

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: Pacman and Yaourt slow

maybe it's related to dns server, try adding ip address in /etc/hosts for the mirror you use.

sand_man wrote:

yaourt is kind of slow anyway.

You compare yaourt stable version with git version for others aur helpers, compare git for both.

Offline

#8 2010-05-25 16:33:10

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Pacman and Yaourt slow

Try google's free dns 8.8.8.8 and 8.8.4.4. They might be faster than your provider but remember that everything you resolve will be used by google to make profit.

Offline

#9 2010-05-25 16:35:05

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Offline

#10 2010-05-25 16:39:10

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

My provider dns is fast firefox resolves fast (after turing ipv6 off in about:config) everything goes fast except pacman and yaourt i think its ipv6 thats still on somehow how can i make sure the ipv6 module is not loaded ?

Last edited by slayeriq (2010-05-25 16:39:39)

Offline

#11 2010-05-25 16:44:53

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Pacman and Yaourt slow

The lines in modprobe.conf should do the trick, you can check if ipv6 is loaded nevertheless with "lsmod | grep ipv6".

Offline

#12 2010-05-25 16:54:34

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

hokasch wrote:

The lines in modprobe.conf should do the trick, you can check if ipv6 is loaded nevertheless with "lsmod | grep ipv6".

[root@abed slayeriq]# lsmod | grep ipv6
ipv6                  236668  14
[root@abed slayeriq]#

Seems they didnt quite do the trick?

Offline

#13 2010-05-25 17:03:18

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Pacman and Yaourt slow

Doesn't quite look like they did, does it. I have only "alias net-pf-10 off" in my modprobe.conf, and ipv6 is not loaded. No idea why it is not working for you.

modinfo wrote:

modinfo ipv6
filename:       /lib/modules/2.6.34-ck/kernel/net/ipv6/ipv6.ko
alias:          net-pf-10
license:        GPL
description:    IPv6 protocol stack for Linux
author:         Cast of dozens
depends:       
vermagic:       2.6.34-ck SMP preempt mod_unload
parm:           disable:Disable IPv6 module such that it is non-functional (int)
parm:           disable_ipv6:Disable IPv6 on all interfaces (int)
parm:           autoconf:Enable IPv6 address autoconfiguration on all interfaces (int)

Maybe someone can make sense of these "parm" lines? Can you pass them in modprobe.conf? You could try "options ipv6 disable".

Last edited by hokasch (2010-05-25 17:05:36)

Offline

#14 2010-05-25 17:16:24

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

my modprobe now looks like this:

#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#

#alias net-pf-10 ipv6 off
#alias net-pf-10 off
#alias ipv6 off
alias net-pf-10 off
options ipv6 disable

Now lsmod | grep ipv6 returns:

[root@abed slayeriq]# lsmod | grep ipv6
[root@abed slayeriq]#

So ipv6 is off but still no improvements on pacman or yaourt im downloading clyde now though yaourt but it takes ages xD. I am btw using wlan with a static ip if that may be the problem i have no problem in the browser so the signal is good.

EDIT: clyde has the same problem.

Last edited by slayeriq (2010-05-25 17:22:52)

Offline

#15 2010-05-25 17:22:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Pacman and Yaourt slow

Just download the tarball and run makepkg. Have you tried with another mirror yet?

Offline

#16 2010-05-25 17:26:39

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

hokasch wrote:

Just download the tarball and run makepkg. Have you tried with another mirror yet?

Clyde is as slow as pacman and yaourt and i tried sereral mirrors nothing works. What else can interupt or slowdown resolving an adres ?

EDIT: I am now connected using a cable eth0 and still no improvement.

Last edited by slayeriq (2010-05-25 17:29:48)

Offline

#17 2010-05-25 17:36:31

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Pacman and Yaourt slow

No idea. I would give google's dns a try anyway. You can also set up local dns caching, check dnsmasq in the wiki. Is pinging the mirrors slow as well?

edit: dig may be better than ping.

Last edited by hokasch (2010-05-25 17:39:47)

Offline

#18 2010-05-25 20:55:29

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

[slayeriq@abed ~]$ ping aur.archlinux.org
PING aur.archlinux.org (208.92.232.29) 56(84) bytes of data.
64 bytes from 208.92.232.29: icmp_seq=1 ttl=47 time=131 ms
64 bytes from 208.92.232.29: icmp_seq=2 ttl=47 time=131 ms
64 bytes from 208.92.232.29: icmp_seq=3 ttl=47 time=173 ms
64 bytes from 208.92.232.29: icmp_seq=4 ttl=47 time=131 ms
64 bytes from 208.92.232.29: icmp_seq=5 ttl=47 time=131 ms
64 bytes from 208.92.232.29: icmp_seq=6 ttl=47 time=134 ms
^C^C^C64 bytes from 208.92.232.29: icmp_seq=7 ttl=47 time=131 ms

--- aur.archlinux.org ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 60894ms
rtt min/avg/max/mdev = 131.045/137.935/173.694/14.644 ms
[slayeriq@abed ~]$

It doesnt take 134 ms because i have to wait for a couple of seconds everyrtime so the 131 ms average is not true.

Offline

#19 2010-05-25 21:02:37

slayeriq
Member
Registered: 2009-05-25
Posts: 25

Re: Pacman and Yaourt slow

So i found the problem my router firewall was interupting so i disabled that and now its a BIG difference big_smile

Offline

Board footer

Powered by FluxBB