Re: [quicwg/base-drafts] Priority in QUIC Transport (#104)

janaiyengar <notifications@github.com> Fri, 06 January 2017 06:28 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 80AD012998D for <quic-issues@ietfa.amsl.com>; Thu, 5 Jan 2017 22:28:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.82
X-Spam-Level:
X-Spam-Status: No, score=-5.82 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.1, SPF_PASS=-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 oviOCY_WH29C for <quic-issues@ietfa.amsl.com>; Thu, 5 Jan 2017 22:28:01 -0800 (PST)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (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 9CE93129535 for <quic-issues@ietf.org>; Thu, 5 Jan 2017 22:28:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=N3b13G8zQXz/UDeO26IIn5wjuYE=; b=U2944tM1Qj+urNC3 sj9arhYt9T/XhG/opoAsX64BrsoUCy3tg8c8WUDpNL+kAZTSFPvsm5DwNHgeNV+N qm3igKV5v6I6nSHwHtApWtUXqkt4hiJFAKgF0MWS2oDvQE7aXDqYrOrXcbE85pkd i6UZPSSOK8sIb1VfLBpLARjSpU8=
Received: by filter0933p1mdw1.sendgrid.net with SMTP id filter0933p1mdw1-14187-586F38F0-1D 2017-01-06 06:28:00.313555325 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id S51TVg6CTw6Q-j-kyTlaMg for <quic-issues@ietf.org>; Fri, 06 Jan 2017 06:28:00.302 +0000 (UTC)
Date: Thu, 05 Jan 2017 22:28:00 -0800
From: janaiyengar <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/104/270841122@github.com>
In-Reply-To: <quicwg/base-drafts/issues/104@github.com>
References: <quicwg/base-drafts/issues/104@github.com>
Subject: Re: [quicwg/base-drafts] Priority in QUIC Transport (#104)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_586f38f02c018_d453fa5f9e151343376bd"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak33d78Q93il9mRW+jQ27nEjGD+WoxPnBY41nm vVQqcUyvU2n/TWaR2Ryye7KNJUhXQD0Uw6PCjSwzW2ByQBNjG1vay2AFJYXsVwQh9CKZArWda/PpQK YjakYbNPlJ94H3jaXdG4TPTOHFQ+CjtbiA7egGzCB5+zM6unJJg1P+PXYOJH4dOnYyoMEVcEksMio6 w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/x50EZwQgw7pLA5rhxmRZ5d4oj1U>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
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: Fri, 06 Jan 2017 06:28:03 -0000

Given that QUIC implementations should really not be buffering any/much data, I think an API ought to be adequate. I agree that prioritization is important, but any prio scheme that you bake into QUIC is going to be either a poor fit for the next application. 

QUIC implementations can be (i) encouraged to minimize or not buffer any unsent data, and (ii) strongly encouraged to have an API that allows an application to indicate priorities across all "active streams". This would have the drawback of making priority opaque during QUIC's retransmissions, but I would argue that an application may well consider the priority of a retransmission as higher than that of the original transmission simply because of the amount of time in between the two.   I think that it's reasonable for endpoints to generally prioritize retransmissions over the rest.

In a past life, I implemented priorities in the TCP socket send buffer to prioritize across multiple application "messages". I learned the hard way that simply limiting the send buffer size in TCP and allowing the application to handle priorities above yielded similar benefits. The key was in keeping the TCP send buffer size low.

(When you're worried about prioritizing new data over retransmissions, my intuition tells me that it's either a non-issue or it doesn't matter. It's a non-issue when there are very few retransmissions that it's in the noise, or it doesn't matter since there are too many losses that those dominate latency beyond what priority can help with.)

-- 
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/104#issuecomment-270841122