Re: [tcpm] Better QoS for TCP ACK question

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Mon, 16 April 2018 16:53 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 A23EB126BF6 for <tcpm@ietfa.amsl.com>; Mon, 16 Apr 2018 09:53:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 7VVOJJ38lIX4 for <tcpm@ietfa.amsl.com>; Mon, 16 Apr 2018 09:53:30 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [IPv6:2001:630:241:204::f0f0]) by ietfa.amsl.com (Postfix) with ESMTP id 2FA1B124207 for <tcpm@ietf.org>; Mon, 16 Apr 2018 09:53:30 -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 2BDBC1B001B9; Mon, 16 Apr 2018 17:53:28 +0100 (BST)
Reply-To: gorry@erg.abdn.ac.uk
To: Toerless Eckert <tte@cs.fau.de>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, tcpm@ietf.org
References: <20180406012736.fpayup7perbhqn2p@faui48f.informatik.uni-erlangen.de> <alpine.DEB.2.20.1804070706040.18650@uplift.swm.pp.se> <df12f8ae-ef1a-98be-1a6d-d147143c7736@erg.abdn.ac.uk> <20180416164513.wu4wwzuw5fgslrgt@faui48f.informatik.uni-erlangen.de>
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: The University of Aberdeen is a charity registered in Scotland, No SC013683.
Message-ID: <a1035a83-61bb-43f9-7a83-226fd5be8e02@erg.abdn.ac.uk>
Date: Mon, 16 Apr 2018 17:53:27 +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: <20180416164513.wu4wwzuw5fgslrgt@faui48f.informatik.uni-erlangen.de>
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/KtufNoMXAKtnNf8Rqfsp-NrDBNs>
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 16:53:32 -0000

On 16/04/2018 17:45, Toerless Eckert wrote:
> On Mon, Apr 16, 2018 at 04:42:12PM +0100, Gorry Fairhurst wrote:
>> Just to send something more to this list thread:
>>
>> RFC 3449 from 2002 describes this in section 5.4.2 on ACKs-first Scheduling.
> 
> Ah, great. Thanks. Something to point people to.
> 
>> 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
> 
> I guess this would refer not to an actual TCP-ACK DPI based
> scheduling that you could easily do on CPU processing home
> gateways, but rather the packet-length based queuing Mikael
> brought up ? Otherwise i don't understand.
> 
> Toerless
> 
In those ancient days, I suspect most systems did do the "ACK-First" 
scheduling based only on estimating the size of the "ACK".

So I'm not saying TCP DPI-based could do special stuff when it sees data 
in the packet and try to smartly avoid reordering any segments, and that 
timestamps, SACK, and various other things could be taken into account. 
Whether this would be a great idea is another story.

Gorry