netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] cleanup congestion control options
@ 2007-07-14  4:09 Adrian Bunk
  2007-07-14  4:59 ` Valdis.Kletnieks
  2007-07-14  6:54 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2007-07-14  4:09 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-kernel

This patch contains the following cleanups:
- note in the prompt if an option depends on EXPERIMENTAL
- remove "default n"s that didn't have any effect
- remove "default m"s from options under TCP_CONG_ADVANCED:
  if you manually choose congestion control modules you should
  know which ones you want

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 net/ipv4/Kconfig |   27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

--- linux-2.6.22-rc6-mm1/net/ipv4/Kconfig.old	2007-07-13 11:00:22.000000000 +0200
+++ linux-2.6.22-rc6-mm1/net/ipv4/Kconfig	2007-07-13 11:07:34.000000000 +0200
@@ -423,7 +423,6 @@
 
 config TCP_CONG_BIC
 	tristate "Binary Increase Congestion (BIC) control"
-	default m
 	---help---
 	BIC-TCP is a sender-side only change that ensures a linear RTT
 	fairness under large windows while offering both scalability and
@@ -445,7 +444,6 @@
 
 config TCP_CONG_WESTWOOD
 	tristate "TCP Westwood+"
-	default m
 	---help---
 	TCP Westwood+ is a sender-side only modification of the TCP Reno
 	protocol stack that optimizes the performance of TCP congestion
@@ -459,7 +457,6 @@
 
 config TCP_CONG_HTCP
         tristate "H-TCP"
-        default m
 	---help---
 	H-TCP is a send-side only modifications of the TCP Reno
 	protocol stack that optimizes the performance of TCP
@@ -469,9 +466,8 @@
 	other Reno and H-TCP flows.
 
 config TCP_CONG_HSTCP
-	tristate "High Speed TCP"
+	tristate "High Speed TCP (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	Sally Floyd's High Speed TCP (RFC 3649) congestion control.
 	A modification to TCP's congestion control mechanism for use
@@ -480,9 +476,8 @@
  	For more detail	see http://www.icir.org/floyd/hstcp.html
 
 config TCP_CONG_HYBLA
-	tristate "TCP-Hybla congestion control algorithm"
+	tristate "TCP-Hybla congestion control algorithm (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	TCP-Hybla is a sender-side only change that eliminates penalization of
 	long-RTT, large-bandwidth connections, like when satellite legs are
@@ -490,9 +485,8 @@
 	terrestrial connections.
 
 config TCP_CONG_VEGAS
-	tristate "TCP Vegas"
+	tristate "TCP Vegas (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	TCP Vegas is a sender-side only change to TCP that anticipates
 	the onset of congestion by estimating the bandwidth. TCP Vegas
@@ -501,9 +495,8 @@
 	not as aggressive as TCP Reno.
 
 config TCP_CONG_SCALABLE
-	tristate "Scalable TCP"
+	tristate "Scalable TCP (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	Scalable TCP is a sender-side only change to TCP which uses a
 	MIMD congestion control algorithm which has some nice scaling
@@ -511,9 +504,8 @@
 	See http://www.deneholme.net/tom/scalable/
 
 config TCP_CONG_LP
-	tristate "TCP Low Priority"
+	tristate "TCP Low Priority (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	TCP Low Priority (TCP-LP), a distributed algorithm whose goal is
 	to utilize only the excess network bandwidth as compared to the
@@ -521,9 +513,8 @@
 	See http://www-ece.rice.edu/networks/TCP-LP/
 
 config TCP_CONG_VENO
-	tristate "TCP Veno"
+	tristate "TCP Veno (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	TCP Veno is a sender-side only enhancement of TCP to obtain better
 	throughput over wireless networks. TCP Veno makes use of state
@@ -533,10 +524,9 @@
 	See http://www.ntu.edu.sg/home5/ZHOU0022/papers/CPFu03a.pdf
 
 config TCP_CONG_YEAH
-	tristate "YeAH TCP"
+	tristate "YeAH TCP (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
 	select TCP_CONG_VEGAS
-	default n
 	---help---
 	YeAH-TCP is a sender-side high-speed enabled TCP congestion control
 	algorithm, which uses a mixed loss/delay approach to compute the
@@ -548,9 +538,8 @@
 	  http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
 
 config TCP_CONG_ILLINOIS
-	tristate "TCP Illinois"
+	tristate "TCP Illinois (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	default n
 	---help---
 	TCP-Illinois is a sender-side modificatio of TCP Reno for
 	high speed long delay links. It uses round-trip-time to

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

* Re: [2.6 patch] cleanup congestion control options
  2007-07-14  4:09 [2.6 patch] cleanup congestion control options Adrian Bunk
@ 2007-07-14  4:59 ` Valdis.Kletnieks
  2007-07-14  6:54 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks @ 2007-07-14  4:59 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: davem, netdev, linux-kernel

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

On Sat, 14 Jul 2007 06:09:54 +0200, Adrian Bunk said:
> This patch contains the following cleanups:
> - note in the prompt if an option depends on EXPERIMENTAL

Who decided whether a particular option is 'experimental' or not?

Lawrence S. Brakmo and Larry L. Peterson. TCP Vegas: end to end congestion
avoidance on a global Internet. IEEE Journal on Selected Areas in
Communications, 13(8), October 1995.

>  config TCP_CONG_VEGAS
> -	tristate "TCP Vegas"
> +	tristate "TCP Vegas (EXPERIMENTAL)"
>  	depends on EXPERIMENTAL

I think the *right* fix here is '- depends on EXPERIMENTAL'.  1995. Geez. :)

(Probably *all* of the 'experimental' tags for congestion control need an in-depth
review - but Vegas struck me as particularly egregious.)


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

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

* Re: [2.6 patch] cleanup congestion control options
  2007-07-14  4:09 [2.6 patch] cleanup congestion control options Adrian Bunk
  2007-07-14  4:59 ` Valdis.Kletnieks
@ 2007-07-14  6:54 ` David Miller
  2007-07-14  7:10   ` Adrian Bunk
  1 sibling, 1 reply; 4+ messages in thread
From: David Miller @ 2007-07-14  6:54 UTC (permalink / raw)
  To: bunk; +Cc: netdev, linux-kernel

From: Adrian Bunk <bunk@stusta.de>
Date: Sat, 14 Jul 2007 06:09:54 +0200

> This patch contains the following cleanups:
> - note in the prompt if an option depends on EXPERIMENTAL
> - remove "default n"s that didn't have any effect
> - remove "default m"s from options under TCP_CONG_ADVANCED:
>   if you manually choose congestion control modules you should
>   know which ones you want
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

I'm not so sure about any of this, sorry Adrian, I'm
not applying this.

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

* Re: [2.6 patch] cleanup congestion control options
  2007-07-14  6:54 ` David Miller
@ 2007-07-14  7:10   ` Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2007-07-14  7:10 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-kernel

On Fri, Jul 13, 2007 at 11:54:42PM -0700, David Miller wrote:
> From: Adrian Bunk <bunk@stusta.de>
> Date: Sat, 14 Jul 2007 06:09:54 +0200
> 
> > This patch contains the following cleanups:
> > - note in the prompt if an option depends on EXPERIMENTAL
> > - remove "default n"s that didn't have any effect
> > - remove "default m"s from options under TCP_CONG_ADVANCED:
> >   if you manually choose congestion control modules you should
> >   know which ones you want
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> I'm not so sure about any of this, sorry Adrian, I'm
> not applying this.

What exactly are you not sure of?
- noting the experimental status in the prompt is a common convention
  in the kernel
- "default n"s like here are nops serving no purpose

This leaves only the removal of the "default m"s which I thought would 
be non-controversial since people seeing these options should know best
what they need.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

end of thread, other threads:[~2007-07-14  7:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-14  4:09 [2.6 patch] cleanup congestion control options Adrian Bunk
2007-07-14  4:59 ` Valdis.Kletnieks
2007-07-14  6:54 ` David Miller
2007-07-14  7:10   ` Adrian Bunk

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).