You are not logged in.

#1 2012-10-19 13:32:11

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Slow Network Speed with Dell T5400 / BCM95754?

Hi,

I'm attempting to install ArchLinux on a Dell T5400 workstation.

The network card on this is a Broadcom BCM95754, I believe:

...eth0: Tigon3 [partno(BCM95754) rev b002] (PCI Express) MAC Address...

I've booted the installer, and when it gets to retrieving the package lists, it seems to time out and fail.

When I do pings from the VT, it seems to wait 2-3 seconds before printing each line.

When I try to use "links", it takes around 15 seconds to bring up www.google.com.

I check ifconfig, and it has zero for dropped packets.

My router is a Routerstation Pro, running OpenWRT. It seems to work fine for other computers via Ethernet or Wifi.

Are there any other diagnostics or tests I can run on this system to see what's going on? It would be really nice to get Arch running on it smile.

Or any ideas what might be causing this?

Cheers,
Victor

Offline

#2 2012-10-28 10:44:52

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Slow Network Speed with Dell T5400 / BCM95754?

heya,

I've just noticed something strange.

If I set my nameserver in /etc/resolve.conf to be 8.8.8.8 (instead of 192.168.3.1 - which is my local LAN's router - running OpenWRT) - things seem to be much better.

So it seems to be something funny with OpenWRT's Dnsmasq setup, and this Arch Linux box.

Is there anything I can do to diagnose if that's the case?

Cheers,
Victor

Offline

#3 2012-10-28 14:21:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: Slow Network Speed with Dell T5400 / BCM95754?

I would log on to the router and take a good look at it's logs


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2012-11-03 01:00:10

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Slow Network Speed with Dell T5400 / BCM95754?

heya,

Hmm, I checked my router logs - it's running OpenWRT 12.09-beta2, and I've set the logging level to Debug.

There doesn't seem to be much relevant in the logs (at least that I can see) sad:

Nov  3 11:40:01 OpenWrt daemon.info hostapd: wlan0: STA e4:ce:8f:4b:59:5c WPA: group key handshake completed (RSN)
Nov  3 11:40:09 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: deauthenticated due to local deauth request
Nov  3 11:40:16 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: authenticated
Nov  3 11:40:16 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: associated (aid 1)
Nov  3 11:40:16 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad WPA: pairwise key handshake completed (RSN)
Nov  3 11:40:16 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPREQUEST(br-lan) 192.168.3.195 a0:0b:ba:ce:9f:ad 
Nov  3 11:40:16 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPACK(br-lan) 192.168.3.195 a0:0b:ba:ce:9f:ad android-8cb428f62edb58a1
Nov  3 12:42:03 OpenWrt daemon.info hostapd: wlan0: STA e4:ce:8f:4b:59:5c WPA: group key handshake completed (RSN)
Nov  3 12:42:11 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: deauthenticated due to local deauth request
Nov  3 12:42:11 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: authenticated
Nov  3 12:42:11 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad IEEE 802.11: associated (aid 1)
Nov  3 12:42:11 OpenWrt daemon.info hostapd: wlan0: STA a0:0b:ba:ce:9f:ad WPA: pairwise key handshake completed (RSN)
Nov  3 12:42:12 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPREQUEST(br-lan) 192.168.3.195 a0:0b:ba:ce:9f:ad 
Nov  3 12:42:12 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPACK(br-lan) 192.168.3.195 a0:0b:ba:ce:9f:ad android-8cb428f62edb58a1
Nov  3 12:43:38 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:43:38 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:43:38 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:43:38 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:43:42 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:43:42 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:43:47 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:43:47 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:44:01 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:44:01 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:44:11 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:44:11 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:44:23 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:44:23 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 
Nov  3 12:44:34 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPDISCOVER(br-lan) 02:90:25:00:0a:0a 
Nov  3 12:44:34 OpenWrt daemon.info dnsmasq-dhcp[1398]: DHCPOFFER(br-lan) 192.168.3.188 02:90:25:00:0a:0a 

I also installed dnsutils, and tested host, first with Google's DNS server (8.8.8.8):

[victorhooi@arch-precision ~]$ host -d www.google.com 8.8.8.8
Trying "www.google.com"
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases: 

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 577
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         114     IN      A       74.125.237.115
www.google.com.         114     IN      A       74.125.237.116
www.google.com.         114     IN      A       74.125.237.112
www.google.com.         114     IN      A       74.125.237.114
www.google.com.         114     IN      A       74.125.237.113

Received 112 bytes from 8.8.8.8#53 in 31 ms
Trying "www.google.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5320
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      AAAA

;; ANSWER SECTION:
www.google.com.         299     IN      AAAA    2404:6800:4006:802::1012

Received 60 bytes from 8.8.8.8#53 in 173 ms
Trying "www.google.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14585
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      MX

;; AUTHORITY SECTION:
google.com.             59      IN      SOA     ns1.google.com. dns-admin.google.com. 1502115 7200 1800 1209600 300

Received 82 bytes from 8.8.8.8#53 in 196 ms

Using's Google's DNS, everything seems to be fine.

Then I tested it with my OpenWRT router set as the DNS server (192.168.3.1):

[victorhooi@arch-precision ~]$ host -d www.google.com 192.168.3.1
Trying "www.google.com"
Using domain server:
Name: 192.168.3.1
Address: 192.168.3.1#53
Aliases: 

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58738
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         162     IN      A       74.125.237.146
www.google.com.         162     IN      A       74.125.237.148
www.google.com.         162     IN      A       74.125.237.144
www.google.com.         162     IN      A       74.125.237.145
www.google.com.         162     IN      A       74.125.237.147

Received 112 bytes from 192.168.3.1#53 in 3 ms
Trying "www.google.com"
;; connection timed out; no servers could be reached
Trying "www.google.com"
;; connection timed out; no servers could be reached

It does the first part quite quickly - then it gets to the "Trying "www.google.com"" line - then hangs there for a while, before printing the two "connection timed out" lines.

Does the above help at all?

I also noticed when I run host without debug output against Google's DNS server, it mentions the last address is a IPv6 address:

www.google.com has IPv6 address 2404:6800:4006:802::1012

Is that a red herring, or might IPv6 have anything to do with it?

I've also pasted the contents of /etc/config/dhcp - which is the configuration file for dnsmaq on OpenWRT, and controls both DHCP and DNS:

config dnsmasq                     
        option domainneeded     1
        option boguspriv        1
        option filterwin2k      0  # enable for dial on demand
        option localise_queries 1
        option rebind_protection 1  # disable if upstream must serve RFC1918 addresses
        option rebind_localhost 1  # enable for RBL checking and similar services
        #list rebind_domain example.lan  # whitelist RFC1918 responses for domains
        option local    '/lan/'
        option domain   'lan'
        option expandhosts      1
        option nonegcache       0
        option authoritative    1
        option readethers       1
        option leasefile        '/tmp/dhcp.leases'
        option resolvfile       '/tmp/resolv.conf.auto'
        #list server            '/mycompany.local/1.2.3.4'
        #option nonwildcard     1
        #list interface         br-lan
        #list notinterface      lo
        #list bogusnxdomain     '64.94.110.11'
 
config dhcp lan
        option interface        lan
        option start    100
        option limit    150
        option leasetime        12h
 
config dhcp wan
        option interface        wan
        option ignore   1

What do you think the next steps are? I'm happy to run a tcpdump, if you think that would help? Or any other ways to get more data on what's happening?

Cheers,
Victor

Offline

Board footer

Powered by FluxBB