Re: [tsvwg] Why measure RTT passively?

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Wed, 19 September 2018 15:14 UTC

Return-Path: <mikkelfj@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2782F130DD2; Wed, 19 Sep 2018 08:14:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 j8Vpu9P9X3FZ; Wed, 19 Sep 2018 08:14:14 -0700 (PDT)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 B4FAD130E03; Wed, 19 Sep 2018 08:14:14 -0700 (PDT)
Received: by mail-oi0-x235.google.com with SMTP id t68-v6so5368945oie.12; Wed, 19 Sep 2018 08:14:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=hzWsbX6NYAKtkQ7zRjiFODtvlTXsTBWdFlMkrLlE8wI=; b=ShRY7omUGpY+S6LpMweek/QJtgWrqLHvatPLVUf13iecNaxJ2KiqAsmFQlaieGLNzL olFX/DW4668ZvvuQ2F5f4nF3WxjaRylQEfSjOAhgVgmAbBPCyWEYaUuMpu8zyt0vRHw3 Z98oKrDjDdfDVAra0ggHOinmS0PbbeKU94Mn4ISvOkbmqQN5Dat6FSgjU2QhApKRZ8os K5mHxqNfTF0PUfg8H5X62Zx8bCoxS8Nyf2IauDCW4RiA83eNbTxo1OcI1aVEBwjqEanw Tbaj+ZvGB2VVNuMDOCGEgc4IzdkpAYPur09ADZPkL4LqrZw6YurmPANVAQt73QCY96oJ sjsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=hzWsbX6NYAKtkQ7zRjiFODtvlTXsTBWdFlMkrLlE8wI=; b=JvMevk36bsS4KvqjabSIfe1dPJ2edegrLPXCwgtePlTjjBDumBK5pX463uiuEyzLgm 8BAjupUo6BvSqM5Xtm2fKMoY7pWF7VwhvC5r0l5KC2RQ8bDVljtzciV9EB7JIqDrflKW 8xa9LpiqnknslCJaZqxK8mFXsOBHeds0iEOXt5pn5ACNTsakwpQwPZZlvZlnvenXkdWy eUGEaYeK8/n94QqVHjvSDTt8g0u7C9o2yzvCRQHB+meqqXOFG7tT7Lj5Kwevyx7UANdz t4n1e1RMQHN48HUZHTE3MTwWtRPunErW2S9rnqVf2l4RP+ap6ut7Pa+J4TVbutKgtQF4 q1wg==
X-Gm-Message-State: APzg51BMhWO9SujAjouL54AFJeAqjxNzYYz/qU82o9rLVn3LwzTilweX pnsQ+ZQZTZISXK9lKtpVDp5EAOkDR7OGHauE/44=
X-Google-Smtp-Source: ANB0VdaACS/hncZ4cgapqgOVuq6TvYKpNLt2CPFr4dw+WyseyJJ2H3CRYQaSX0bK/29tA9AOWvr5DP5caj2wzFQ2PqQ=
X-Received: by 2002:aca:57d4:: with SMTP id l203-v6mr1846226oib.329.1537370053947; Wed, 19 Sep 2018 08:14:13 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Wed, 19 Sep 2018 11:14:13 -0400
From: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
In-Reply-To: <CALx6S34Hw16OxvYARHt7wJTw+u-K3YWvcY56aiaPcmpY_Yx=ww@mail.gmail.com>
References: <D8EC0860-BA95-48D9-BE42-933426B60417@trammell.ch> <CALx6S34qm5j+UntuuT=pvMc-C_yOasL5s1DHD7CY4uFHR8zRyQ@mail.gmail.com> <15454907-02C1-42C7-893B-EB2959FF18D8@lurchi.franken.de> <CALx6S34Hw16OxvYARHt7wJTw+u-K3YWvcY56aiaPcmpY_Yx=ww@mail.gmail.com>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Wed, 19 Sep 2018 11:14:13 -0400
Message-ID: <CAN1APdfyOVyKEc5R4Y6siAge3jUateeweEjGZdowXrVBNZeqpg@mail.gmail.com>
Subject: Re: [tsvwg] Why measure RTT passively?
To: Tom Herbert <tom@herbertland.com>, Michael Tuexen <michael.tuexen@lurchi.franken.de>
Cc: IETF IPPM WG <ippm@ietf.org>, QUIC WG <quic@ietf.org>, "Brian Trammell (IETF)" <ietf@trammell.ch>, tsvwg <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f4378a05763adbb0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/RHocZyn1ndL1TbLsVsD-HPOCUSM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2018 15:14:18 -0000

Tom, it may be quite difficult to ask the application. An operator may have
many thousands ongoing connections with mobile phones and want to measure
the overall network quality. It would be quite impossible to discuss
latency with all phones in the network. Additionally it would require a
secure connection, trust, etc. etc.

Passive measurement is invasive in the sense that it steals private
information that could be abused without consent. So the balance is expose
as little as possible, but enough to make it useful for reasonable purposes.

Trammels paper shows that a very high quality can be achieved with 3 bits,
which is a lot simpler than asking an application, whether the option
existed or not. The question is more: would 8 bits, or a full sequence
number be better? The answer, according to the paper is no - only in
certain lossy conditions, and not by very much. On the other hand, more
information leaks more private information.

Furthermore, the simplicity of 3 bits make it possible to stuff the bits
almost anywhere, so the concept is universal.

There is almost no bad things to say about it, except the connection
asymmetri mentioned, and the fact it must happen in the layer 4 packet
rather than the IP packet. But then, it could be mirrored into a lower
layer protocol header since it is space efficient.


On 19 September 2018 at 17.00.33, Tom Herbert (tom@herbertland.com) wrote:

On Wed, Sep 19, 2018 at 4:46 AM, Michael Tuexen
<michael.tuexen@lurchi.franken.de> wrote:
>> On 19. Sep 2018, at 00:53, Tom Herbert <tom@herbertland.com> wrote:
>>
>> On Tue, Aug 21, 2018 at 5:42 AM, Brian Trammell (IETF) <ietf@trammell.ch>
wrote:
>>> Greetings, TSVWG, QUIC, and IPPM,
>>>
>>> I've just submitted a new I-D, "Why do we need passive measurement of
round trip time?" (
https://tools.ietf.org/html/draft-trammell-why-measure-rtt-00) which may
be of some interest to each of these WGs. :) It presents a set of use cases
for on-path passive RTT measurement, both generally, and specific to the
facility described in "A Transport-Independent Explicit Signal for Hybrid
RTT Measurement" (https://tools.ietf.org/html/draft-trammell-tsvwg-spin-00)
or the "spin bit".
>>>
>> Hi Brian,
>>
>> I looked at that draft draft-trammell-tsvwg-spin-00. It's unclear to
>> me how this mechanism is transport-independent. The draft shows how to
>> do this in QUIC and TCP, but there's no support that I see for DCCP,
>> SCTP, IPsec, other encapsulations, etc. I would think that for
>> something to be truly transport-independent the information would need
>> to reside in the network layer.
> I agree with Tom, right now this does not look like
transport-independent..
> One could add a chunk for SCTP to expose the 3 bits, but I was wondering
> why not just let the endpoints willing to expose the RTT signal let them
> send the measured RTT explicitly?
>
Yes! The application or at least network stack will have this
information and much more that might be of interest to the network--
they will also know RTT variance, packet loss on the flow, number of
out of order packets received, etc. If the network needs this sort of
information why not just ask the application for it instead of trying
deduce it from a limited view of the transport layer and a couple of
fundamentally insecure bits in the packet?

Tom


> Best regards
> Michael
>>
>> Tom
>>
>>> - For QUIC, this draft addresses the second half of the risk/utility
question raised by the spin bit and spin+VEC latency signal -- much of the
content comes from the original QUIC spin bit document, but there are new
sections on using VEC for loss/reordering proxy metrics and exploiting
correlations between RTT and other metrics to drive intraflow diagnostics
from only RTT signals. In particular, I'll talk about ongoing
experimentation along the lines of section 3 at the interim in New York.
>>>
>>> - For TSVWG and tsvarea, it addresses some of the "why design wire
images" questions raised in the tsvarea meeting in Montreal, with respect
to the specific tasks for which RTT data is useful.
>>>
>>> - And for IPPM, it gives a bit more background on the "passive RTT"
metric in the initial registry document.
>>>
>>> Feedback is much appreciated. :)
>>>
>>> Thanks, cheers,
>>>
>>> Brian (as an individual contributor)
>>>
>>> P.S. apologies for the resend: the previous message was not an obscure
joke about ubiquitous encryption: apparently the interaction among my MUA,
its bolt-on GPG, and the somewhat underprovisioned network in SIGCOMM led
to an encrypted draft being posted to the list. :/
>>>
>>
>