[Top] [All Lists]

Re: paper

To: Brian Tierney <bltierney@xxxxxxx>
Subject: Re: paper
From: Pekka Pietikainen <pp@xxxxxxxxx>
Date: Mon, 27 Jan 2003 22:21:45 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <7BD96DBF-3225-11D7-9775-000A956767EC@xxxxxxx>
References: <7BD96DBF-3225-11D7-9775-000A956767EC@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Mon, Jan 27, 2003 at 10:31:00AM -0800, Brian Tierney wrote:
> Hi Pekka
> I thought you might find this paper interesting. Please forward to the  
> appropriate Linux TCP folks.
> Thanks.

It was certainly an interesting read. I'll Cc: this reply
netdev@xxxxxxxxxxx, which has  relevant people on it. One idea that 
might help in pinpointing the problem is using oprofile to see where all that
CPU is going ( when the bug occurs.
What it does is lets you profile applications/the kernel quite transparently 
and see where all your CPU is going when the errors start happening.
Even if it's not useful in finding this problem, it's certainly a very
cool tool you should look at ;)

To find out the problem, they'll of course need a description of the
environment (kernel versions, network between them, tcpdump logs etc.)

I do remember seeing a similar problem on local GigE too when the zerocopy 
patches first came out. That did get fixed (or maybe just made impossible
to trigger on GigE). Can't remember the details, what happened was that the
cwnd and ssthresh dropped when there was an error and never recovered
(resulting in something like a 80 -> 50-60MB/s performance drop, which 
lasted until the route cache was flushed). 

An evil hack to try is 
/sbin/ip route add ssthresh <largenumber> dev eth0 ,
which might make it "work" (but it's not the right solution, it just 
makes the tcp stack very rude in finding the proper speed to send
after an error :) )

Pekka Pietikainen

<Prev in Thread] Current Thread [Next in Thread>