mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: TCP capture effect :: estimate queue length ?
@ 2001-05-15 11:33 Joerg Pommnitz
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Pommnitz @ 2001-05-15 11:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: ralf

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 655 bytes --]

> Pathchar, yet another Van Jacobsen toy does this. Unfortunately the old
> and rotten pre-version you can find in ftp.ee.lbl.gov/pathchar/ is afaik
> the last one. In the past it served me well you find about how ISPs are
> lying ... 100mbit backbone = fast ethernet in their computer room ...

clink and pchar are reimplementations of pathchar that
come with sources:
http://www.employees.org/~bmah/Software/pchar
http://rocky.wellesley.edu/downey/clink

Regards
Jörg

=====
-- 
Regards
       Joerg


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: TCP capture effect (was Re: Linux TCP impotency)
@ 2001-05-14 21:46 Andi Kleen
  2001-05-15  3:49 ` TCP capture effect :: estimate queue length ? God
  2001-05-15  3:54 ` David S. Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Andi Kleen @ 2001-05-14 21:46 UTC (permalink / raw)
  To: Samuel Meder; +Cc: linux-kernel

On Mon, May 14, 2001 at 04:15:12PM -0500, Samuel Meder wrote:
> I'm seeing a similar effect myself. When I use all my available sdsl
> bandwidth (say doing a bulk data transfer), DNS lookups will often
> time out. This is with the default buffer settings/2.4.4. 

The problem is that the DNS resolver in glibc has a too low setting
for retransmits before giving up (4-5 or so only, it's also a big problem
together with dynamic IP and dial-on-demand where the socket address rewriting
needs some time) Fix is to change glibc to retransmit more often and 
recompile it or alternatively use a local dns proxy that does more aggressive
retransmits (that won't fix the low timeout though)

> I'm curious about this effect so I've been trying to find information
> on this and while I can find lots of information on the Ethernet
> capture effect there doesn't seem to be anything on the TCP capture
> effect. Could someone point me at an explanation of this effect?

I also don't know that term, but the basic problem is that TCP only slows
down when its packets are dropped. Packets are dropped when a device queue
fills, and when one sender is much faster than the other the faster sender
often wins the race, while the packets of the slower one get dropped.
[this is a rough simplification; there have been many books and papers
written on queueing in the internet]

One problem is for example that Linux's default queue length is good
for ethernet, but not slower or higher latency links.
You can try to tune it using ifconfig device txqueuelen <number>. 
Try values between 5-30, default is 100.

DSL also has very asymetric bandwidth, if you're saturating e.g. the uplink
channel completely acks in the other direction will also have a hard
time to get through.

-Andi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-05-15 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-15 11:33 TCP capture effect :: estimate queue length ? Joerg Pommnitz
  -- strict thread matches above, loose matches on Subject: below --
2001-05-14 21:46 TCP capture effect (was Re: Linux TCP impotency) Andi Kleen
2001-05-15  3:49 ` TCP capture effect :: estimate queue length ? God
2001-05-15  6:06   ` Ralf Baechle
2001-05-15  3:54 ` David S. Miller
2001-05-15  4:44   ` God

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®