All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <landley@trommello.org>
To: Larry McVoy <lm@bitmover.com>, linux-kernel@vger.kernel.org
Subject: Re: [OT] testing internet performance, esp latency/drops?
Date: Mon, 8 Oct 2001 11:21:24 -0400	[thread overview]
Message-ID: <01100811212400.07946@localhost.localdomain> (raw)
In-Reply-To: <20011008090203.L26223@work.bitmover.com>
In-Reply-To: <20011008090203.L26223@work.bitmover.com>

On Monday 08 October 2001 12:02, Larry McVoy wrote:
> Merry kernel hackers, we recently installed a T1 line at bitmover.com and
> expected improved performance.  In some places we got it, pings to places
> in the silicon valley are a respectable 5-9 milliseconds.  FTP performance
> is a predictable 180KB/sec, as expected.
>
> However, web browsing sucks.  On about 80% of all links, there is a
> noticable hesitation, between 1-15 seconds, as it looks up the name and as
> it fetches the first page.  After that point, that site will appear to be
> OK.

You're having a DNS problem then.  (You even say it yourself, "as it looks up 
the name"...)  Unless you've got explicit congestion notification support 
turned on, randomly dropped packets would kill your throughput (or at the 
very least the predictability of it).

Where does your DNS server live?  Can you try using another one, or setting 
up a local cacheing one in your subnet and have your system use that?  (I 
think Red Hat 7.1 can do this pretty easily.  I'd make sure it's only bound 
to an address in your local subnet, though.  BIND is a perpetual security 
nightmare, I keep meaning to write something better in Python (it's a UDP 
protocol, how hard could it be?) but I haven't gotten mad enough to make time 
to do it properly...)

For a DNS server with an empty cache, DNS lookup times of 5 seconds or more 
actually aren't that unusual at ALL, considering that an uncached full resove 
from the root nameservers can bounce you off something like five different 
servers along the way, each adding a second or two of latency...  (Gotta love 
nested zone delegations...)

> It sounds to me like return packets are getting dropped a lot.  Which is
> possible, but I'd like to know for sure.
>
> Before I wander off to write a test for this, I'm wondering if anyone
> knows of a test suite or a methodology which works.  I was thinking
> about just coding every reference in bookmarks/history into a driver
> file which drove a connect-o-matic program that timed how fast it
> could connect to each of those sites.  Any comments on that idea?

Seperate out connecting to the sites (by IP) from doing the DNS lookups.  If 
your DNS lookups are the problem, the actually connect is just noise in your 
test.

Try playing around with "dig" for a bit.  It's a DNS swiss army knife, with a 
man page that would do justice to the Acme Kitchen Wonder...

Rob

  reply	other threads:[~2001-10-08 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-08 16:02 [OT] testing internet performance, esp latency/drops? Larry McVoy
2001-10-08 15:21 ` Rob Landley [this message]
2001-10-08 16:30 ` Alan Cox
2001-10-08 17:37 ` Pedro M. Rodrigues
2001-10-08 21:30 ` Henning P. Schmiedehausen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01100811212400.07946@localhost.localdomain \
    --to=landley@trommello.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@bitmover.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.