[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070222.225338.59657775.davem@davemloft.net>
Date: Thu, 22 Feb 2007 22:53:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jheffner@....edu
Cc: ilpo.jarvinen@...sinki.fi, netdev@...r.kernel.org
Subject: Re: [PATCH] fix limited slow start bug
From: John Heffner <jheffner@....edu>
Date: Thu, 22 Feb 2007 16:52:03 -0500
> I think it's not unreasonable to change clamp to 32 bits now, since with
> 1500 byte packets, this corresponds to a max cwnd of ~94MB. This is
> pretty big, but we are currently right at this limit with 10 GigE.
Agreed, and done in tcp-2.6.git as below.
What should we do about that 65535 assignment in hybla?
commit cedfa95566512730202bb4abed5d9118e74bab30
Author: David S. Miller <davem@...set.davemloft.net>
Date: Thu Feb 22 22:52:59 2007 -0800
[TCP]: Make snd_cwnd_clamp a u32.
Signed-off-by: David S. Miller <davem@...emloft.net>
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 415193e..18a468d 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -302,7 +302,7 @@ struct tcp_sock {
u32 snd_ssthresh; /* Slow start size threshold */
u32 snd_cwnd; /* Sending congestion window */
u16 snd_cwnd_cnt; /* Linear increase counter */
- u16 snd_cwnd_clamp; /* Do not allow snd_cwnd to grow above this */
+ u32 snd_cwnd_clamp; /* Do not allow snd_cwnd to grow above this */
u32 snd_cwnd_used;
u32 snd_cwnd_stamp;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists