[quicwg/base-drafts] persistent congestion can never happen (#2208)

Marten Seemann <notifications@github.com> Wed, 19 December 2018 06:31 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 44FB9130DC8 for <quic-issues@ietfa.amsl.com>; Tue, 18 Dec 2018 22:31:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.447
X-Spam-Level:
X-Spam-Status: No, score=-1.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_24=1.618, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 GrXLo-d-Fy4h for <quic-issues@ietfa.amsl.com>; Tue, 18 Dec 2018 22:31:11 -0800 (PST)
Received: from o4.sgmail.github.com (o4.sgmail.github.com [192.254.112.99]) (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 64F4312F1A5 for <quic-issues@ietf.org>; Tue, 18 Dec 2018 22:31:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=reXMgOtUFaqabD420LmipWh/X8U=; b=hXX80o10u730+zUB slhFFZPop3Lb4Qk7tZkZlsZ01iYstThd1x9K+Fc5ytcG9TqbgliO1uF6pKTvYWmT fWeTYd8g9ZssGqtzqF9hSvGhDZUjwke50QWSHAQCed9vG2T/VmxMnqDrTiSXbFix YoBvCeHsUnpO49ihyETl5dKyKD8=
Received: by filter0172p1iad2.sendgrid.net with SMTP id filter0172p1iad2-22252-5C19E5AD-13 2018-12-19 06:31:09.815154667 +0000 UTC m=+130217.717351122
Received: from github-lowworker-5909e27.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id Wl490fY_SE6Gf6zm0eONxQ for <quic-issues@ietf.org>; Wed, 19 Dec 2018 06:31:09.884 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-5909e27.cp1-iad.github.net (Postfix) with ESMTP id B984F3E0A3D for <quic-issues@ietf.org>; Tue, 18 Dec 2018 22:31:09 -0800 (PST)
Date: Wed, 19 Dec 2018 06:31:10 +0000
From: Marten Seemann <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab3562a0b7878294cbb9f31af658f87fac87b64d3992cf000000011831a7ad92a169ce17647435@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2208@github.com>
Subject: [quicwg/base-drafts] persistent congestion can never happen (#2208)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c19e5adb7a7c_2f453fd9c58d45bc170260"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: marten-seemann
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3ZG3D43h1Paxfbghf7Apm9klGSxkztS+lkIL KbAKs7jEPRfUmccj8J4nWivu00eKVUqPijl3Y1BKEYBsctqJXfkd/zH5ZzGjMWjBXM1FsNA1lq6FOY 2PoJ9NA/aR0tJdwY9guzfzO8dG/SAkwCLJ/44sduQWzz0WkhLfzDEMCJsVUQgGUjGD15tUn2/PrYNb w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/5A64hGkLIwW8FG1KNHai2wQJac4>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 19 Dec 2018 06:31:13 -0000

The collapse of the congestion window (which used to happen after an RTO was verified) happens in `CongestionEvent`, if `pto_count > kPersistentCongestionThreshold`.
`CongestionEvent` is called from `OnPacketsLost`, which is called from `DetectLostPackets`, which in the case of a tail is only called when a new ACK is received from `OnAckReceived`. However, `OnAckReceived` resets the `pto_count` to 0 *before* calling `DetectLostPackets`, so the condition that leads to the collapse of the congestion window can never occur.

-- 
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/2208