Re: [Taps] I-D Action: draft-ietf-taps-transports-06.txt

Karen Elisabeth Egede Nielsen <karen.nielsen@tieto.com> Fri, 17 July 2015 07:17 UTC

Return-Path: <karen.nielsen@tieto.com>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85A841B3001 for <taps@ietfa.amsl.com>; Fri, 17 Jul 2015 00:17:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, SPF_PASS=-0.001] autolearn=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 RP7nqhRcZgfU for <taps@ietfa.amsl.com>; Fri, 17 Jul 2015 00:17:38 -0700 (PDT)
Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A2121B2FFE for <taps@ietf.org>; Fri, 17 Jul 2015 00:17:38 -0700 (PDT)
Received: by iggp10 with SMTP id p10so29653375igg.0 for <taps@ietf.org>; Fri, 17 Jul 2015 00:17:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:content-type; bh=T4Juheo9GYuCAEmrYilNbi1fpNL8T/VuJlXN+wix59U=; b=JSeLOQznZrbctcZNhZq+iYEEH65LKEdREvCMwx5/Q5q8WrRolPUzoVv2gqC+vjBIvC XQhCFot33vV+/8Ia3gAwwQxdw+xQZ45mvdMyN9Umu9OONbToXGWLtZ4Ti1FFJudJFt7Y NdIW28TTkLY7dOPYcmVMjy/1GfbDdLAeCco1U=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type; bh=T4Juheo9GYuCAEmrYilNbi1fpNL8T/VuJlXN+wix59U=; b=jxN+xsA6+5PKx2CWz0PQpQe+CEs5uGup37766sUglJEI0XptuSacqx3r46mRImqOrc VQdeCCMQsvSQL9G7XkgwpKrCPDSfG3endoyocj3oOyhg4mnUyZwQ14SjXiRz4W/0puer BSAm+ciinVzQyTPxBakEshyYA9XZp3v02kxdVxq8rBMbLSZV6Lbxb06OuejuXpSubdGl j38oMScCQNiUIqDAWn8FbHsC1CMnt+gDGZw4vubClF5TItSBPuLq/xn6EhU/Iqv0nsI4 dZ1g9O1x9kiotv6OTbsikH5SMNCPFpZnX5Ws62a1l9z0/7LRoDzKC3wr++R75lIpSHcr OPtQ==
X-Gm-Message-State: ALoCoQl7Gkl9knPexKvXbpg5ivulOLdXufVEz0M7NQTq7ZoYVhDhlFN2D8GjSEaexBsbGtxjTIH5/3dG8JkvFASALSI7lnnhN6+vhilVSqqqb3x3I3vKJ7U=
X-Received: by 10.107.136.160 with SMTP id s32mr16924021ioi.174.1437117457572; Fri, 17 Jul 2015 00:17:37 -0700 (PDT)
From: Karen Elisabeth Egede Nielsen <karen.nielsen@tieto.com>
References: <20150706220631.6336.219.idtracker@ietfa.amsl.com> <456cadf6d459a1c9e2c508af7b5470de@mail.gmail.com> <55A6A31B.3090500@isi.edu> <0047fc6ff18d95970285941d02534db4@mail.gmail.com> <55A7EE70.9040308@isi.edu>
In-Reply-To: <55A7EE70.9040308@isi.edu>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQG/A9yO7NWA5qgnOWhDhpN5Pi0yHwGWuaxVAVccKzwB4ev60gIoNK0Pncr39wA=
Date: Fri, 17 Jul 2015 09:17:36 +0200
Message-ID: <19919f75ba4ebb620630739e023745de@mail.gmail.com>
To: Joe Touch <touch@isi.edu>, taps@ietf.org
Content-Type: text/plain; charset="UTF-8"
X-DomainID: tieto.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/taps/Q2QM9A5eyK2vLVLNKqFU1v0-2o0>
Subject: Re: [Taps] I-D Action: draft-ietf-taps-transports-06.txt
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussions on Transport Services <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jul 2015 07:17:39 -0000

Hi Joe,

>-----Original Message-----
>From: Joe Touch [mailto:touch@isi.edu]
>Sent: Thursday, July 16, 2015 7:49 PM
>To: Karen Elisabeth Egede Nielsen; taps@ietf.org
>Cc: touch@isi.edu
>Subject: Re: [Taps] I-D Action: draft-ietf-taps-transports-06.txt
>
>Hi, Karen,
>
>On 7/16/2015 12:27 AM, Karen Elisabeth Egede Nielsen wrote:
>...
>>> So there are several levels of the latency issue:
>>>
>>> 	- minimize the latency ADDED by the transport layer
>>> 	- reduce the latency seen by the app
>>> 	(which can involve more active interaction with the network
>>> 	layer, anticipation, etc.)
>>>
>>> Note also that latency is not a single metric nor a meaningful
>>> standalone
>>> metric:
>>>
>>> 	1. latency between two parties is a property *of a message*,
>>> 	i.e., it requires knowing the message size
>>>
>>> 	2. latency includes both basic and higher order effects;
>>> 	the basic is "delay", the higher order include "jitter" etc.
>>> 	Many common delay-sensitive use cases are really mostly
>>> 	jitter sensitive.
>>>
>>> ...
>> [Karen ] I agree so what do we mean in this document when we say that
>> a transport service feature can be to provide minimal latency ?
>
>There should probably be two levels:
>
>	- minimize what you add at the transport layer
>
>	- reduce even further
>
>> Are we thinking about Nagle OFF ?
>
>That is how TCP might react to a request to minimizing added latency, but I
>don't expect a TAPS API should expose the specific knob of "Nagle".
>
>>>> I am not sure if Connection oriented  and Feature negotiation should
>>>> be split into two features ?
>>>
>>> If you don't share state (i.e., what we tend to call a "connection"),
>> what is the
>>> meaning of feature negotiation?
>>>
>> [Karen ] Yes, but does connection oriented necessarily means that you
>> can negotiate features ?
>
>Absolutely. Connection oriented means there is state that persists between
>messages. To be useful, that state needs to be controllable.
>Negotiating features *is* controlling that state.
>
[Karen ] Yes. OK.
>...
>>> So the general assumption that turning off Nagle will reduce latency
>> should be
>>> reasonable.
>> [Karen ] I agree with this as a general assumption.
>> But when I read the paragraph in the doc it almost sounds as if
>> turning Nagle off comes with no price.
>
>I would think that should be clarified.
>
[Karen ] Good. Perhaps a clarification also can come with enforcing the
bundling aspects of the segmentation paragraph.

>>  Do you have a counterexample seen in the wild?
>>
>> [Karen ] Yes we have examples with NO Nagle where the number of
>> packets then becomes the bottleneck.
>> In the local ends (CPU) as well as in the infrastructure elements. I
>> am not sure how much of this information I can share.
>> I can try to find out. That is why I was saying that how to provide
>> minimal latency may depend on the application traffic.
>
>Because latency depends on the sizes of the messages, it should not be a
>surprise that latency can't be minimized without that context.
>> How to solve also depends on whether it is the average latency that
>> needs to be minimal or whether the latency for some particular
>> application "messages" should be kept as low as possible.
>
>This is difficult for TCP to handle, because TCP thinks of the input stream
>as an
>ordered sequence of bytes, and the issue of latency is related to message
>boundaries within the TCP stream that are NOT part of the TCP API (there's
>no
>way for an application to indicate those boundaries to TCP - and no, the
>SEND
>boundaries are explicitly NOT those markers).
>
[Karen ] sure.

>> For SCTP we allow for that Nagle is disabled on some streams (streams
>> with high scheduling priority) and not on others. This is done exactly
>> for this purpose.
>
>Sure, but that's also why it doesn't make sense for TCP.
>
[Karen ] Yes and then also why Nagle off for TCP may give undesired and
contra-productive results from a latency perspective.
But then TCP applications may not typically have the application traffic
patterns that gives these undesired latency effects of disabling Nagle.

BR, Karen
>Joe