Re: [tcpm] Better QoS for TCP ACK question

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Mon, 16 April 2018 15:42 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D799412E8A0 for <tcpm@ietfa.amsl.com>; Mon, 16 Apr 2018 08:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gdsISR-HAxA4 for <tcpm@ietfa.amsl.com>; Mon, 16 Apr 2018 08:42:14 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [139.133.204.173]) by ietfa.amsl.com (Postfix) with ESMTP id 9A70612E899 for <tcpm@ietf.org>; Mon, 16 Apr 2018 08:42:14 -0700 (PDT)
Received: from dhcp-207-156.erg.abdn.ac.uk (unknown [IPv6:2001:630:241:207:1485:1e83:c2bf:3e66]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id 8518E1B001B9; Mon, 16 Apr 2018 16:42:12 +0100 (BST)
Reply-To: gorry@erg.abdn.ac.uk
To: Mikael Abrahamsson <swmike@swm.pp.se>, Toerless Eckert <tte@cs.fau.de>
Cc: tcpm@ietf.org
References: <20180406012736.fpayup7perbhqn2p@faui48f.informatik.uni-erlangen.de> <alpine.DEB.2.20.1804070706040.18650@uplift.swm.pp.se>
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: The University of Aberdeen is a charity registered in Scotland, No SC013683.
Message-ID: <df12f8ae-ef1a-98be-1a6d-d147143c7736@erg.abdn.ac.uk>
Date: Mon, 16 Apr 2018 16:42:12 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1804070706040.18650@uplift.swm.pp.se>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/hjf9KC8vmvtGwoIF_vfBCXfgT9g>
Subject: Re: [tcpm] Better QoS for TCP ACK question
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Apr 2018 15:42:18 -0000

On 07/04/2018 06:10, Mikael Abrahamsson wrote:
> On Fri, 6 Apr 2018, Toerless Eckert wrote:
> 
>> A couple of years ago i was told that a range of home routers
>> would do some DPI based diffserv QoS, aka prioritizing TCP ACP
>> messages in the queue before any other packets 9sonded like
>> a strict priority queue for these packets). The goal was to
>> improve performance when you had separate up and downstream TCP
>> connections, especially when the upstream TCP connection delayed
>> the downstream TCP connections ACKs.
>>
>> I never could find a lot of good details about this, e.g.: quantitiative
>> measurements, so i was wondering if others here on the list
>> are aware of it. Of course, if something like this would
>> be significantly useful even in the face of current TCP congestion
>> control mechanisms (and not only bad older ones).
> 
> I know some people who have run two queues, one for packets less than 
> 200 byte in size, and one for larger packets. They didn't even do any 
> DPI, the setup was purely based on size of the packet. I am not aware of 
> any deeper analysis on pros/cons of this setup, but these people were 
> very happy with their setups for years and it solved their problems with 
> a single large file transfer ruining their interactive performance, plus 
> also "solved" the ACKs-get-stuck-behind-other-session-large-packets 
> problem.
> 
> This was used for platforms with otherwise quite limited QoS 
> capabilities, so flow based queueing wasn't available.
> 
Just to send something more to this list thread:

RFC 3449 from 2002 describes this in section 5.4.2 on ACKs-first 
Scheduling.

I aware this method was implemented in a variety of equipment around 
that time, although I suspect it can also cause some odd performance 
hits when using app-limited TCP sessions (where many data segments are 
also small and may also become reordered).

Gorry