You are not logged in.

#1 2009-03-05 19:59:32

vertimyst
Member
From: Canada
Registered: 2008-05-28
Posts: 71
Website

Extremely slow networking

Hi,

For some reason, all of my Arch installs recently have had extremely slow networking.

The problem mostly seems to be with pacman, though it does appear to affect browsing as well.

With pacman, after issuing the 'pacman -Syu' or 'pacman -Syy' commands, pacman hangs during the syncing.   It doesn't freeze, though - it just randomly stops downloading, then continues, albeit slowly.   This also occurs during package installation.

With browsing, pages load horribly slowly - even using elinks (text only - yes, I know it's hard to believe) from the raw command prompt (no X running).

Networking does, as usual, work fine in Windows XP.   I'm fairly certain it was fine with Puppy Linux, as well, which I tried a few weeks ago.

For pacman, I've tried changing mirrors several times, but often this is difficult to do because it takes so long (mentioned above).

My network card is a Intel PRO/Wireless 3945ABG, using the 3945-ucode driver.   Past installations of Arch with the same hardware/software have worked fine, so I'm not sure why I'd get this now.


-Vert wink
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009

Offline

#2 2009-03-05 22:52:43

VirtualRider
Member
Registered: 2008-08-20
Posts: 134

Re: Extremely slow networking

Offline

#3 2009-03-06 00:01:34

vertimyst
Member
From: Canada
Registered: 2008-05-28
Posts: 71
Website

Re: Extremely slow networking

Oh, yea, I have - sorry, I forgot to mention that.   It's the first thing I thought of, because I've had similar slowness with Vista before turning off ipv6.


-Vert wink
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009

Offline

#4 2009-03-06 07:22:07

VirtualRider
Member
Registered: 2008-08-20
Posts: 134

Re: Extremely slow networking

Hm you can also try dnsmasq [1] but i think that it could be a hardware or settings problem (i'm guessing from now on) - could you post your resolv.conf, /etc/hosts and the network part of your rc.conf?

[1] http://wiki.archlinux.org/index.php/Spe … th_dnsmasq

Offline

#5 2009-03-06 08:02:22

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Extremely slow networking

you could try temporarily disabling tcp window scaling, and see if maybe you have a 'broken router' upstream from you causing a problem with large window scale factors.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2009-03-07 18:07:03

vertimyst
Member
From: Canada
Registered: 2008-05-28
Posts: 71
Website

Re: Extremely slow networking

My resolv.conf:

# Generated by dhcpcd from wlan0
# /etc/resolv.conf.head can replace this line
nameserver 142.166.86.18
nameserver 207.179.130.2
# /etc/resolv.conf.tail can replace this line

/etc/hosts:

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

#<ip-address>    <hostname.domain.org>    <hostname>
127.0.0.1        localhost.localdomain    localhost shadowgate-lt1

# End of file

rc.conf networking:

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="shadowgate-lt1"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
# wlan0="dhcp"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(!eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
NETWORKS=(familyroom)

I just disabled tcp window scaling, rebooting to test after I've posted this.

@cactus Nice avatar, btw.   I assume it's a partial reference to Ghost in the Shell?

Last edited by vertimyst (2009-03-07 18:08:03)


-Vert wink
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009

Offline

#7 2009-03-07 18:10:38

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Extremely slow networking

vertimyst wrote:

@cactus Nice avatar, btw.   I assume it's a partial reference to Ghost in the Shell?

Indeed. smile


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2009-03-07 18:14:19

VirtualRider
Member
Registered: 2008-08-20
Posts: 134

Re: Extremely slow networking

Try to enable ROUTES=(!gateway) -> ROUTES=(gateway)

Offline

#9 2009-03-07 18:28:37

vertimyst
Member
From: Canada
Registered: 2008-05-28
Posts: 71
Website

Re: Extremely slow networking

Actually, it seems it was the wireless network I was connected to.   I'm not sure why it would make a difference, as it normally works fine, but I connected to my other network, and it seems to be working faster now.   I'll report back once I've confirmed or if anything changes.


-Vert wink
---------
Free webhosting@http://shadowserve.ath.cx - Currently and soon to go through many changes, still alive! - June 29, 2009

Offline

Board footer

Powered by FluxBB