You are not logged in.

#1 2010-10-02 14:18:09

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

internet resolve extremely slow....

Hi, i just migrated to Arch from ubuntu and i installed the 64bit version, im experiencing slow resolve internet when using pacman to update the system and install the desktop, for example when i do "pacman -S kde" it will last like 15 secs when starting a download once it started is normally fast (200~300KB/s) but the resolve is super slow....

i tried disabling ipv6 running pdnsd and other alternatives from the guide and the forums but the problem persist... is there any real reason for this?

im running Arch10.05_x64, on Phenom II x4 925, 4Gb Ram, WD 320GB....

any help would be very appreciated....

Offline

#2 2010-10-02 15:13:33

hadi
Member
From: Iran
Registered: 2010-10-01
Posts: 16

Re: internet resolve extremely slow....

Try changing mirrors you are using

Offline

#3 2010-10-02 15:16:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: internet resolve extremely slow....

See the rankmirrors discussion in the beginners guide

http://wiki.archlinux.org/index.php/Beg … acman.conf


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2010-10-02 15:33:49

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: internet resolve extremely slow....

Also take a look at this page: http://www.archlinux.org/mirrors/status/

That page will show you what mirrors are in sync.

If you live in the North East and even the midwest rit.edu is a fantastic mirror!


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2010-10-02 18:49:42

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

Re: internet resolve extremely slow....

its not the mirrors, like i said it last too much before starting, its the same with ping or any other app that uses internet... if i do ping each iteration lasts 15segs before appearing in pacman its the same each package you install last a lot to even show up but when it shows up (connected) it downloads normally.

Offline

#6 2010-10-02 19:10:16

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: internet resolve extremely slow....

Ensure that yours /etc/hosts look like this

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>    <hostname.domain.org>    <hostname>
127.0.0.1        localhost.localdomain    localhost    [hostname_from_rc.conf]

If that doesn't help change your DNS server in /etc/resolv.conf, for example to 208.67.222.222 (OpenDNS).

Last edited by kfgz (2010-10-02 19:10:57)

Offline

#7 2010-10-03 04:17:18

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

Re: internet resolve extremely slow....

thanks but my hosts is ok and changing the dns to opendns didnt help either.

Offline

#8 2010-10-03 10:46:50

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

Re: internet resolve extremely slow....

Shot in the dark, but you could try if disabling IPv6 helps.  Locally caching DNS (for example with dnsmasq) could help the symptoms, but isn't really solving the issue... Can you post a "dig www.google.com"?

Last edited by hokasch (2010-10-03 10:47:23)

Offline

#9 2010-10-03 13:16:39

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: internet resolve extremely slow....

I had the same type of problem and found that it was only slow when using "ftp" sites. I'm using reflector to find the latest up to date sites and now use grep to only include "http" sites.

reflector -l 10 -r --grep http -o /etc/pacman.d/mirrorlist

You don't have to use reflector if you don't want to, but you can try commenting out any "ftp" sites in your mirrorlist.

Last edited by Gumper (2010-10-03 13:19:05)


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#10 2010-10-03 22:42:01

kachelaqa
Member
Registered: 2010-09-26
Posts: 216

Re: internet resolve extremely slow....

i also found pacman very slow to start with. the three things i found most effective in boosting speeds were:

(1) add all mirrors to /etc/hosts (eliminates delays in resolving domain names)
(2) enable wget/curl in /etc/pacman.conf (helps when synching the database)
(3) install powerpill (for simultaneous downloads)

Offline

#11 2010-10-04 12:11:06

kpbotbot
Member
From: Philippines
Registered: 2010-08-02
Posts: 93
Website

Re: internet resolve extremely slow....

Try setting the thingy(somewhere in the file) from /etc/nsswitch.conf to "hosts: files dns" smile


Sex is not the answer.

Sex is the question, and Yes is the answer.

Offline

#12 2010-10-04 13:42:35

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

Re: internet resolve extremely slow....

kachelaqa's solution seems to works best, thanks!! now its normal no more 20segs before each packet.... thank you guys for all your help!

Offline

Board footer

Powered by FluxBB