Re: network delays, mysterious push packets

2006-02-08 Thread Stephen Hemminger
On Wed, 08 Feb 2006 12:18:23 -0800
David Carlton [EMAIL PROTECTED] wrote:

 On Mon, 06 Feb 2006 15:50:28 -0800 (PST), David S. Miller [EMAIL 
 PROTECTED] said:
 
  From: David Carlton [EMAIL PROTECTED]
  Date: Mon, 06 Feb 2006 14:38:10 -0800
 
  I'm working on an application that we're trying to switch from a 2.4
  kernel to a 2.6 kernel.  (I believe we're using 2.6.9.)  One part of
  the program periodically sends out chunks of data (whose size is just
  over 1MB) via tcp.
 
  Please reproduce with something more current and report to the correct
  mailing list (netdev@vger.kernel.org).
 
 Thanks for the suggestion.  The problem went away with 2.6.15 (I
 believe uname -a called it 2.6.15.3), which is nice.
 
 I'll try to see if I can figure out which patch caused the problem (it
 may or may not be easy for us to switch to that kernel); I don't
 suppose you have any idea what patch caused the problem?  (The other
 endpoint is that the problem is still present in 2.6.10, where for the
 latter we're using whatever the latest 2.6.10 kernel is that's
 available for Fedora Core 2.)  Also, is
 http://linux.bkbits.net:8080/linux-2.6/hist/net/ipv4/ the right
 place to look for revision history?  Recent commits don't have a
 change message, which makes me think I'm looking in the wrong place.
 
 I put up a tcpdump at
 http://www.bactrian.org/~carlton/sender.tcpdump, if anybody's
 curious.  The problems start with packet 7367; the problematic
 transmission is from 64.12.82.96:33826 to 64.12.82.49:34483 (which
 starts at packet 6482).  The tcpdump was taken on the sender side, and
 some packets are missing or corrupted in the dump (for reasons that I
 assume have nothing to do with the problem at hand.)
 

I bet the new appropriate byte count (abc) logic is fixing your app.
You can get old behavior with sysctl.ipv4.tcp_abc=0.

If you want to find a patch that made things better/worse 
(and it is post git). Look into git bisect


-- 
Stephen Hemminger [EMAIL PROTECTED]
OSDL http://developer.osdl.org/~shemminger
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: network delays, mysterious push packets

2006-02-06 Thread David S. Miller
From: David Carlton [EMAIL PROTECTED]
Date: Mon, 06 Feb 2006 14:38:10 -0800

 I'm working on an application that we're trying to switch from a 2.4
 kernel to a 2.6 kernel.  (I believe we're using 2.6.9.)  One part of
 the program periodically sends out chunks of data (whose size is just
 over 1MB) via tcp.

Please reproduce with something more current and report to the correct
mailing list (netdev@vger.kernel.org).

Thanks.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: network delays, mysterious push packets

2006-02-06 Thread Herbert Xu
David S. Miller [EMAIL PROTECTED] wrote:
 From: David Carlton [EMAIL PROTECTED]
 Date: Mon, 06 Feb 2006 14:38:10 -0800
 
 I'm working on an application that we're trying to switch from a 2.4
 kernel to a 2.6 kernel.  (I believe we're using 2.6.9.)  One part of
 the program periodically sends out chunks of data (whose size is just
 over 1MB) via tcp.
 
 Please reproduce with something more current and report to the correct
 mailing list (netdev@vger.kernel.org).

Please include a packet dump too.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html