Re: [quicwg/base-drafts] Idle timeout interaction with RTO (#1429)
Martin Thomson <notifications@github.com> Tue, 12 June 2018 00:47 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F973130DEE for <quic-issues@ietfa.amsl.com>; Mon, 11 Jun 2018 17:47:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.009
X-Spam-Level:
X-Spam-Status: No, score=-8.009 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, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 Ns1ImNNRufVH for <quic-issues@ietfa.amsl.com>; Mon, 11 Jun 2018 17:47:41 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF29A130DC3 for <quic-issues@ietf.org>; Mon, 11 Jun 2018 17:47:40 -0700 (PDT)
Date: Mon, 11 Jun 2018 17:47:40 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1528764460; bh=3bzoVLE4GOx76beeBsgsGrSEhrKCzhwdMw3CuRLzeL8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=CjnBI6ORFQRv9fvFtIGkOixZ92hzYzf/mT/47bHB2BlwvESYXUkQOaULPP7gUZCja oc2ZHwf788ZMDabCVosLtk/LT5IwHHa/gmg0MOzTAywTMuDlhljTzfalx/s28Eo1Qo goFhAlrNTpHY78QwSuXzxpcBZz4Q6hGYcx+0RcAk=
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abe81722d4828f2b93b9b00a72eb0fadb3f28590e192cf000000011736da2c92a169ce13af8711@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1429/396430649@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1429@github.com>
References: <quicwg/base-drafts/issues/1429@github.com>
Subject: Re: [quicwg/base-drafts] Idle timeout interaction with RTO (#1429)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b1f182c37c46_236303f960a386f782046e2"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/wmYKqcfPqpA7vIuTKdd9aWa59is>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2018 00:47:45 -0000
Here's the example: Idle timeout is 10s. You send a packet and subsequently receive an ACK at t=0. You send a new message at T=10-sRTT. You are now no longer idle, but the message you sent is going to arrive at the peer too late with ~50% probability of arriving before the idle timeout fires on their end. During that last sRTT (and maybe a little before), you have a very good chance of not keeping the connection alive, but you will persist nonetheless and what will happen is that requests will fail. The worst thing is that requests will fail in unrecoverable ways. It's very clear that you don't want to count an RTO here. A dead path is a common reason that you are hitting an RTO and restarting the idle timer just makes detecting the dead path that much harder (if not impossible as Subodh discovered). I suspect that you want proof of life - that is, packets inbound - and to only rely on that. You probably also need some advice about avoiding idle timeout by doing a liveness check once you reach `idle_timeout-sRTT-n*rtt_var` for some value of `n` that you tune based on your tolerance toward losing the messages you are about to send (for an idempotent message, `n` might be zero, for instance). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/issues/1429#issuecomment-396430649
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… Mike Bishop
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… janaiyengar
- Re: [quicwg/base-drafts] Idle timeout interaction… janaiyengar
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Nick Banks
- [quicwg/base-drafts] Idle timeout interaction wit… Subodh Iyengar
- Re: [quicwg/base-drafts] Idle timeout interaction… Mike Bishop
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson
- Re: [quicwg/base-drafts] Idle timeout interaction… ianswett
- Re: [quicwg/base-drafts] Idle timeout interaction… Martin Thomson