Re: [quicwg/base-drafts] create codec streams only when necessary (#2090)

MikkelFJ <> Wed, 12 December 2018 10:12 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 683D312777C for <>; Wed, 12 Dec 2018 02:12:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.056
X-Spam-Status: No, score=-3.056 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id u7bgkQWU76Ow for <>; Wed, 12 Dec 2018 02:12:38 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 90794131188 for <>; Wed, 12 Dec 2018 02:12:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;; 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=jmhFqKh1JVuWPRVYKiGdzOKRIJo=; b=iNdz8H8SspNYVjmJ TVXBwIvpTvQLek3Rym2HVRWM4RyErZOjCkdNjYzmasP86FFv9ChYALnB9CeheMMs WC2IMeRTwwrOpCfCCzGi/Zqq/hMYdZPrSM+oMgH/2xRJ2IgmCmQNvLWf8yeiZDYH EEdmI07zKy/IhlPulo3rgdjh/OM=
Received: by with SMTP id filter0106p1iad2-2379-5C10DF14-21 2018-12-12 10:12:36.743663869 +0000 UTC m=+125008.515466984
Received: from (unknown []) by (SG) with ESMTP id vm6KgQe3Sp62yJ9iYALOLA for <>; Wed, 12 Dec 2018 10:12:36.777 +0000 (UTC)
Received: from (localhost []) by (Postfix) with ESMTP id BA74C3E0958 for <>; Wed, 12 Dec 2018 02:12:36 -0800 (PST)
Date: Wed, 12 Dec 2018 10:12:36 +0000
From: MikkelFJ <>
Reply-To: quicwg/base-drafts <>
To: quicwg/base-drafts <>
Cc: Subscribed <>
Message-ID: <quicwg/base-drafts/pull/2090/>
In-Reply-To: <quicwg/base-drafts/pull/>
References: <quicwg/base-drafts/pull/>
Subject: Re: [quicwg/base-drafts] create codec streams only when necessary (#2090)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c10df14b8c11_55f93f827bcd45b41331f2"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2wKXKcSns3Jt3ceEGQiv+LrXfNRS0wD7b3VT fc+h4nUJBqPgnuM30rs6eo9SrGw8FUFs8XGxmy+GrIstT+abWwsbRDO34XRF+sHkokx/nnHw6Kyn7R SQIh0uacBvYbpoSd+PzhzsoUOf5PD5Y5xBmNKq/ZawxyiTjRwDZAnGGUlA==
Archived-At: <>
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 12 Dec 2018 10:12:42 -0000

I agree with MT that unnecessary concurrency is bad, but without digging into MT's architecture, I'd just point out that atomic reads or writes of integers are generally very cheap operations, unlike atomic exchange and the likes. This only applies when you can afford to react lazily to updates - such as more flow credits available. Technically you may need a costly bus sync (fence) to eventually see writes by other cores, but in praxis this happen soon enough.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: