[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian-NYC] debugging network slowness




Hello - here they are:


steve@francisco:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n'|\
> (echo start; nc 199.239.136.200 80; echo; echo end)|ts '%H:%M:%.S'
17:16:31.904075 start
17:16:31.904450 HTTP/1.1 301 Moved Permanently
17:16:31.904567 Server: Sun-ONE-Web-Server/6.1
17:16:31.904673 Date: Sat, 04 Dec 2010 22:16:27 GMT
17:16:31.904780 Content-length: 122
17:16:31.904885 Content-type: text/html
17:16:31.904990 Location: http://www.nytimes.com/
17:16:31.905093 nnCoection: close
17:16:31.905197
17:16:31.905301 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
17:16:31.905409 <BODY><H1>Moved Permanently</H1>
17:16:31.905513 An error has occurred.
17:21:48.837721 </BODY></HTML>
17:21:48.838031 end

real    5m17.094s
user    0m0.128s
sys    0m0.012s
steve@francisco:~$





steve@francisco:~$ ispci
bash: ispci: command not found
steve@francisco:~$ lspci
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
steve@francisco:~$ ^C
steve@francisco:~$


Still the same amount of time roughly and the cable was plugged into the netbook and the connection read wired connection.

Ideas?

Steve

On Sat, Dec 4, 2010 at 2:17 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
On 12/03/2010 08:11 PM, steve beltzer wrote:
> Here check this out - it just took a long time....  that shouldn't be a
> surprise though:
>
>
> steve@francisco:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n'|nc
> 199.239.136.200 80
> HTTP/1.1 301 Moved Permanently
> Server: Sun-ONE-Web-Server/6.1
> Date: Sat, 04 Dec 2010 00:49:00 GMT
> Content-length: 122
> Content-type: text/html
> Location: http://www.nytimes.com/
> nnCoection: close
>
> <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
> <BODY><H1>Moved Permanently</H1>
> An error has occurred.
> </BODY></HTML>
>
> real    4m38.672s
> user    0m0.012s
> sys    0m0.000s
> steve@francisco:~$

wow, that's really weird, and there is *definitely* something wrong with
your networking stack (or with your network itself).  i'm curious now
about the timing of the intervening lines.

Could you install the moreutils package?  it has a timestamping utility
("ts") that is pretty handy.  once you have moreutils installed, try
adding another few pieces to the pipeline, like this:

0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | \
> (echo start; nc 199.239.136.200 80; echo; echo end) | ts '%H:%M:%.S'
14:13:26.729969 start
14:13:26.730253 HTTP/1.1 301 Moved Permanently
14:13:26.730320 Server: Sun-ONE-Web-Server/6.1
14:13:26.730373 Date: Sat, 04 Dec 2010 19:13:26 GMT
14:13:26.730424 Content-length: 122
14:13:26.730474 Content-type: text/html
14:13:26.730524 Location: http://www.nytimes.com/
14:13:26.730574 nnCoection: close
14:13:26.730625
14:13:26.730675 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD>
14:13:26.730727 <BODY><H1>Moved Permanently</H1>
14:13:26.730778 An error has occurred.
14:13:26.730828 </BODY></HTML>
14:13:26.730879 end

real    0m0.099s
user    0m0.068s
sys     0m0.020s
0 dkg@pip:~$

Out of curiosity, what network hardware do you have?

 lspci

Also, could you do all the suggested tests using a wired ethernet
network connection, and make sure your wireless connection is *off* ?
that should help rule out random wireless interference.

       --dkg

PS For anyone who was curious (as i was) in what the nnCoection header
is all about, this is a good explanation:

 https://forums.aws.amazon.com/message.jspa?messageID=81954



_______________________________________________
DebianNYC mailing list
DebianNYC@vireo.org
http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc


_______________________________________________
DebianNYC mailing list
DebianNYC@vireo.org
http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc

Reply to: