From: Thomas Glanzmann Subject: [PATCH] tcp: disable auto corking by default Date: Sat, 8 Feb 2014 10:19:44 +0100 Message-ID: <20140208091944.GB16336@glanzmann.de> References: <20140206153640.GB4103@glanzmann.de> <1391727771.14985.41.camel@haakon3.risingtidesystems.com> <20140207051500.GB10916@glanzmann.de> <20140207075536.GB17815@glanzmann.de> <1391801597.1155.28.camel@haakon3.risingtidesystems.com> <20140207205142.GA8609@glanzmann.de> <20140208091828.GA16336@glanzmann.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Eric Dumazet , "David S. Miller" , "Nicholas A. Bellinger" , target-devel , Linux Network Development , LKML Return-path: Content-Disposition: inline In-Reply-To: <20140208091828.GA16336@glanzmann.de> Sender: target-devel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org When using auto corking with iSCSI the round trip time at least increases by factor 25 probably more. Other protocols are very likely also effected. Signed-off-by: Thomas Glanzmann --- net/ipv4/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 4475b3b..da563a4 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -285,7 +285,7 @@ int sysctl_tcp_fin_timeout __read_mostly = TCP_FIN_TIMEOUT; int sysctl_tcp_min_tso_segs __read_mostly = 2; -int sysctl_tcp_autocorking __read_mostly = 1; +int sysctl_tcp_autocorking __read_mostly = 0; struct percpu_counter tcp_orphan_count; EXPORT_SYMBOL_GPL(tcp_orphan_count); -- 1.7.10.4