[LOOPS] Fwd: Re: Relevant to Loops?

Bob Briscoe <ietf@bobbriscoe.net> Sat, 20 July 2019 10:40 UTC

Return-Path: <ietf@bobbriscoe.net>
X-Original-To: loops@ietfa.amsl.com
Delivered-To: loops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DB4C12016E for <loops@ietfa.amsl.com>; Sat, 20 Jul 2019 03:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=bobbriscoe.net
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 Cl7AxmeWnxhI for <loops@ietfa.amsl.com>; Sat, 20 Jul 2019 03:40:39 -0700 (PDT)
Received: from server.dnsblock1.com (server.dnsblock1.com [85.13.236.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8CC81120176 for <loops@ietf.org>; Sat, 20 Jul 2019 03:40:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:Cc:To:References:Subject:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0VQHuo6+mQ2tA99tGWNEV/K/a6Hm/TpQ4qMXuZZIj2o=; b=SEQ7FRcLZ/Nw5DjC8oge5NR0U PjCbpr0PDmKosWu7pC031NhMZSUPtROBrpK7zgz+bJja+WrV4lLPSVwUiI5gxE202A269LFagJ53p 00jCjHs7a1iBM9+XfaSukhLanNSfkc4j90JRnjTWKq8VbR8ZolhNxDry0jFzntPFbhEhyUsPLwOLe lSWtzr5T1hZu3LboprR5GUv0utOBQtnSLMgonYcexxhEfK+CKJzi0vECckXrdlyZ2DXibwW52XDDC z4u3XSopaXKMDpQNjqcZaaM4cFYTJhUPxNoIrSEk00X1IKZ8rohOjE2aNVU4MP/9JVr963SsR78EL yAoPwBFhQ==;
Received: from modemcable186.232-83-70.mc.videotron.ca ([70.83.232.186]:51680 helo=[192.168.0.161]) by server.dnsblock1.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <ietf@bobbriscoe.net>) id 1homn5-00079n-5M; Sat, 20 Jul 2019 11:40:35 +0100
References: <f4008f3c-1a49-f248-2a33-960181d46557@bobbriscoe.net>
To: Carsten Bormann <cabo@tzi.org>, loops@ietf.org
Cc: Michael WELZL <michawe@ifi.uio.no>
From: Bob Briscoe <ietf@bobbriscoe.net>
X-Forwarded-Message-Id: <f4008f3c-1a49-f248-2a33-960181d46557@bobbriscoe.net>
Message-ID: <c7910328-5eba-bf23-0af3-4afe755f7b8b@bobbriscoe.net>
Date: Sat, 20 Jul 2019 11:40:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <f4008f3c-1a49-f248-2a33-960181d46557@bobbriscoe.net>
Content-Type: multipart/alternative; boundary="------------F3148A64C8282431069C0733"
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.dnsblock1.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: server.dnsblock1.com: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: server.dnsblock1.com: in@bobbriscoe.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/loops/lsVH1PKFnfjs06MilrVH_iRyhao>
X-Mailman-Approved-At: Sat, 20 Jul 2019 04:02:55 -0700
Subject: [LOOPS] Fwd: Re: Relevant to Loops?
X-BeenThere: loops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Local Optimizations on Path Segments <loops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/loops>, <mailto:loops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/loops/>
List-Post: <mailto:loops@ietf.org>
List-Help: <mailto:loops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/loops>, <mailto:loops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jul 2019 10:40:42 -0000

Carsten,

I see that you're presenting the slot in loops on related work.
Below I've digested a conversation I've been having with Michael Welzl 
listing work that should be useful to loops.


-------- Forwarded Message --------
Subject: 	Re: Relevant to Loops?
Date: 	Sat, 20 Jul 2019 11:25:56 +0100
From: 	Bob Briscoe <research@bobbriscoe.net>
To: 	Michael Welzl <michawe@ifi.uio.no>



Michael,

On 19/07/2019 08:17, Michael Welzl wrote:
> Hi,
>
>
>> On Jul 18, 2019, at 5:21 PM, Bob Briscoe <research@bobbriscoe.net 
>> <mailto:research@bobbriscoe.net>> wrote:
>>
>> Michael,
>>
>> I only scanned the drafts, so I've not quite grocked what "the 
>> proposed mechanism" is - the descriptions seem quite abstract.
>
> Understood; I guess it’s good to be somewhat abstract at this early 
> stage. Also, there isn’t one single proposed mechanism - the one in 
> the appendix is quite different from the rest: no need to tunnel (use 
> a hash instead), and never delay packets (just to re-sequence them). A 
> “LOOPS egress” could just ACK the hashes, and the “LOOPS ingress” 
> would retransmit packets from its cache.
>
>
>> So, I just offer the stuff below as a stream of consciousness, in 
>> case it's relevant:
>>
>>   * There's an analysis of when it becomes more efficient to
>>     retransmit locally than e2e, dependent on loss level, in Short
>>     Messages  (Damon Wischik)
>>
> I knew about the short messages work, but it has moved so far back in 
> my mind that I didn’t think of its relevance for LOOPS.
I think it's very relevant. Even if the calculation has to be adapted 
(e.g. I don't think it takes account of the processing on the link 
receiver), it gives a good structure for the optimization.
It's in S.3.b) of Short Messages 
<https://www.cl.cam.ac.uk/~djw1005/Research/ucl_research/shortmsg.pdf>.

The optimization is between processing load of the retransmitting 
machine vs. completion time (of short messages) in the common case, 
assuming the usual distribution of mice vs elephants seen on the 
Internet. The result determines at what level of loss it becomes worth 
all the bother of maintaining all the machinery and state to retransmit 
over the local link.
>>
>>   * The PWE protocol (and some other encaps) already has a seq no, so
>>     OE to OE loss can be detected.
>>
> Ok… but note my point above about tunneling
OK, I've read appx B.1 
<https://tools.ietf.org/html/draft-welzl-loops-gen-info-00#appendix-B.1> 
now.
I like the hash idea.

But, where a protocol already has the facilities, using them improves 
performance, given network nodes sometimes need to shave every last 
per-packet op...

I assume you're aware of tunnel congestion feedback 
<https://tools.ietf.org/html/draft-ietf-tsvwg-tunnel-congestion-feedback>, 
which is already a tsvwg WG draft (it was originally based on a tunnel 
alternative in an expired ConEx draft 
<https://tools.ietf.org/html/draft-briscoe-conex-data-centre-02#section-5.1.1>). 
TCF has to count bytes to work out loss levels over the tunnel, so it's 
already half way to loops, and retrans info from loops would give TCF 
loss level for free.

However, I guess retrans info (e.g. hashes) is heavier than just a 
couple of counters. The TCF authors defined an IPFIX f/b channel (at my 
suggestion), which made sense 'cos it was only sending counters, so you 
could run it over a partially reliable SCTP transport.

Therefore, on reflection, I think there's still a place for separate 
approaches for just congestion f/b and for retransmission f/b.

Indeed, combining two of the above, the f/b protocol would have to 
determine the loss level all the time (using TCF). Then when loss was 
high, it could switch to retransmission (or FEC) mode.


>
>>   * Is Magnus Austrheim's thesis relevant? It shows how you can relax
>>     the ordering requirement for 'link' layer retransmissions, where
>>     'link' includes overlays. Unfortunately, the evaluation
>>     tantalizingly ends abruptly ('cos Magnus wanted to focus on his
>>     new job).
>>
Implementing immediate forwarding for 4G in a network simulator 
<https://www.duo.uio.no/handle/10852/68158>
>>
> Thanks for the pointers!
He ended with this odd result where, with RACK and the LTE receiving 
node not doing resequencing, completion times were generally worse. We 
couldn't work out how spurious retransmissions could make that much 
difference.

But then Joakim remembered that RACK starts in 3-DUPACK mode. So we 
surmised that the RACK flow was dropping out of SS early. Some day, I'll 
find some way to finish that off by trying to improve the start-up 
behaviour of RACK - or if anyone else on this list wants to - feel free.



Bob


>
> Cheers,
> Michael
>

-- 
________________________________________________________________
Bob Briscoehttp://bobbriscoe.net/