From: Daniel Borkmann Subject: Re: [PATCH net-next] tcp: ack immediately when a cwr packet arrives Date: Tue, 24 Jul 2018 04:23:27 +0200 Message-ID: <3c785042-0b9a-69cd-9415-e8a10ea0baf7@iogearbox.net> References: <20180724004939.2874202-1-brakmo@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Netdev , Kernel Team , ast@fb.com, Yuchung Cheng , Eric Dumazet To: Neal Cardwell , Lawrence Brakmo Return-path: Received: from www62.your-server.de ([213.133.104.62]:52013 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388194AbeGXD1k (ORCPT ); Mon, 23 Jul 2018 23:27:40 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 07/24/2018 04:15 AM, Neal Cardwell wrote: > On Mon, Jul 23, 2018 at 8:49 PM Lawrence Brakmo wrote: >> >> We observed high 99 and 99.9% latencies when doing RPCs with DCTCP. The >> problem is triggered when the last packet of a request arrives CE >> marked. The reply will carry the ECE mark causing TCP to shrink its cwnd >> to 1 (because there are no packets in flight). When the 1st packet of >> the next request arrives, the ACK was sometimes delayed even though it >> is CWR marked, adding up to 40ms to the RPC latency. >> >> This patch insures that CWR marked data packets arriving will be acked >> immediately. > ... >> Modified based on comments by Neal Cardwell >> >> Signed-off-by: Lawrence Brakmo >> --- >> net/ipv4/tcp_input.c | 9 ++++++++- >> 1 file changed, 8 insertions(+), 1 deletion(-) > > Seems like a nice mechanism to have, IMHO. > > Acked-by: Neal Cardwell Should this go to net tree instead where all the other fixes went? Thanks, Daniel