netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <bert.hubert@netherlabs.nl>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: netdev@vger.kernel.org
Subject: Re: 2.6.18-rc[67] crashes in TCP ack handling
Date: Sun, 17 Sep 2006 12:11:01 +0200	[thread overview]
Message-ID: <20060917101101.GA30461@outpost.ds9a.nl> (raw)
In-Reply-To: <20060917083214.45b5f61f@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

On Sun, Sep 17, 2006 at 08:32:14AM +0900, Stephen Hemminger wrote:

> By building all the possiblities into the kernel, ie. not as modules
> you get the last one registered. TCP LP is probably the worst one
> to use, because it is designed for bulk low priority applications.
> It also is one of the newest least tested.  Right now, I would rate

Hehe, this seems to be a bad default configuration policy then. People
generally don't assume that if the kernel offers 10 policies that the most
unstable will be used by default if you compile them all in.

I've attached a patch that reorders the choices per your suggested order, so
people are most likely to get a sane default.

I've tried to make "reno" the default, no matter what you compiled in, but
it didn't work. The linker probably reorders tcp_cong.o in early.

> Without a back trace, it will be hard to find the bug in TCP LP

Indeed. 

Many thanks for your quick answer Stephen!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

[-- Attachment #2: reorder-congestion-objects --]
[-- Type: text/plain, Size: 1626 bytes --]

--- linux-2.6.18/net/ipv4/Makefile~	2006-09-17 11:48:33.000000000 +0200
+++ linux-2.6.18/net/ipv4/Makefile	2006-09-17 11:48:45.000000000 +0200
@@ -7,7 +7,7 @@
 	     ip_output.o ip_sockglue.o inet_hashtables.o \
 	     inet_timewait_sock.o inet_connection_sock.o \
 	     tcp.o tcp_input.o tcp_output.o tcp_timer.o tcp_ipv4.o \
-	     tcp_minisocks.o tcp_cong.o \
+	     tcp_minisocks.o \
 	     datagram.o raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o \
 	     sysctl_net_ipv4.o fib_frontend.o fib_semantics.o
 
@@ -37,16 +37,20 @@
 obj-$(CONFIG_IP_ROUTE_MULTIPATH_CACHED) += multipath.o
 obj-$(CONFIG_INET_TCP_DIAG) += tcp_diag.o
 obj-$(CONFIG_NET_TCPPROBE) += tcp_probe.o
-obj-$(CONFIG_TCP_CONG_BIC) += tcp_bic.o
-obj-$(CONFIG_TCP_CONG_CUBIC) += tcp_cubic.o
-obj-$(CONFIG_TCP_CONG_WESTWOOD) += tcp_westwood.o
+
+obj-$(CONFIG_TCP_CONG_LP) += tcp_lp.o
+obj-$(CONFIG_TCP_CONG_VENO) += tcp_veno.o
+obj-$(CONFIG_TCP_CONG_VEGAS) += tcp_vegas.o
+obj-$(CONFIG_TCP_CONG_SCALABLE) += tcp_scalable.o
 obj-$(CONFIG_TCP_CONG_HSTCP) += tcp_highspeed.o
 obj-$(CONFIG_TCP_CONG_HYBLA) += tcp_hybla.o
+obj-$(CONFIG_TCP_CONG_CUBIC) += tcp_cubic.o
+obj-$(CONFIG_TCP_CONG_WESTWOOD) += tcp_westwood.o
 obj-$(CONFIG_TCP_CONG_HTCP) += tcp_htcp.o
-obj-$(CONFIG_TCP_CONG_VEGAS) += tcp_vegas.o
-obj-$(CONFIG_TCP_CONG_VENO) += tcp_veno.o
-obj-$(CONFIG_TCP_CONG_SCALABLE) += tcp_scalable.o
-obj-$(CONFIG_TCP_CONG_LP) += tcp_lp.o
+obj-$(CONFIG_TCP_CONG_BIC) += tcp_bic.o
+
+# make sure the built in congestion scheme is the default
+obj-y += tcp_cong.o
 
 obj-$(CONFIG_XFRM) += xfrm4_policy.o xfrm4_state.o xfrm4_input.o \
 		      xfrm4_output.o

  reply	other threads:[~2006-09-17 10:11 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 22:19 2.6.18-rc[67] crashes in TCP ack handling bert hubert
2006-09-16 23:32 ` Stephen Hemminger
2006-09-17 10:11   ` bert hubert [this message]
2006-09-17 11:53     ` Stephen Hemminger
     [not found]       ` <20060917122153.GA2932@outpost.ds9a.nl>
2006-09-17 13:11         ` tcp congestion policy selection link order fragile Stephen Hemminger
2006-09-17 14:51           ` bert hubert
2006-09-18 23:41             ` Stephen Hemminger
2006-09-18  8:51         ` David Miller
2006-09-18  9:59           ` bert hubert
2006-09-18 14:06             ` David Miller
2006-09-18 15:40               ` bert hubert
2006-09-18 18:53                 ` David Miller
2006-09-18 19:52                   ` bert hubert
2006-09-19  4:41                     ` [PATCH] tcp: set congestion default through Kconfig Stephen Hemminger
2006-09-19  5:08                       ` Ian McDonald
2006-09-19 10:03                       ` Andi Kleen
2006-09-19 12:35                         ` Hagen Paul Pfeifer
2006-09-19 16:10                           ` David Miller
2006-09-19 17:28                             ` Stephen Hemminger
2006-09-19 15:29                         ` Stephen Hemminger
2006-09-19 19:29                       ` David Miller
2006-09-19 19:30                       ` David Miller
2006-09-19 19:33                       ` David Miller
2006-09-19 19:39                         ` Stephen Hemminger
2006-09-19 20:41                         ` [PATCH] tcp: set congestion default through Kconfig (v2) Stephen Hemminger
2006-09-19 21:20                           ` David Miller
2006-09-19 21:32                             ` [PATCH] tcp: simpler bic default Stephen Hemminger
2006-09-19 21:43                               ` bert hubert
2006-09-19 22:44                                 ` David Miller
2006-09-19 23:02                                   ` Stephen Hemminger
2006-09-19 23:04                                     ` David Miller
2006-09-19 23:23                                       ` Stephen Hemminger
2006-09-20  8:17                                         ` bert hubert
2006-09-20 20:28                                           ` [PATCH] tcp: default congestion control menu Stephen Hemminger
2006-09-25  3:12                                             ` David Miller
2006-09-20 20:32                                           ` [PATCH] tcp: make cubic the default Stephen Hemminger
2006-09-23 11:14                                             ` tested: " bert hubert
2006-09-23 20:00                                               ` David Miller
2006-09-25  3:13                                             ` David Miller
2006-09-19 21:38                             ` [PATCH] tcp: set congestion default through Kconfig (v2) bert hubert

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=20060917101101.GA30461@outpost.ds9a.nl \
    --to=bert.hubert@netherlabs.nl \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@osdl.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).