[ippm] Re: Seeking input from engineers with expertise in video conferencing and similar delay-sensitive applications
Jeffrey Walton <noloader@gmail.com> Mon, 28 October 2024 20:31 UTC
Return-Path: <noloader@gmail.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4425EC14F605 for <ippm@ietfa.amsl.com>; Mon, 28 Oct 2024 13:31:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ZJ6rMsZb2SW for <ippm@ietfa.amsl.com>; Mon, 28 Oct 2024 13:31:41 -0700 (PDT)
Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69989C16941D for <ippm@ietf.org>; Mon, 28 Oct 2024 13:31:41 -0700 (PDT)
Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-e292926104bso4602691276.0 for <ippm@ietf.org>; Mon, 28 Oct 2024 13:31:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730147500; x=1730752300; darn=ietf.org; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Wuk4564wzjsUp4zaOOkCnzhVVU3Tj7cdilFO3+CcaQQ=; b=aPr+f0tqeXwtrQZc3ZX8F0vrMz9/YSI6LyMdVF39OV7yIXLoLYWDCXsgc8HGsjbFD2 9j6qHfAQ+Q6NJ9K9wQdZzJ0RDrtw4/euCfkzvZbyAXna+S4QT5YKoHQdizs9UNKtVxc1 Txl0eaLkEJ7gkez4qX2WsGiyB3sugUNF0zJpGtKx9/xA6JqdJqfwGeCEUL85x4MMRTin mbiZvFg/ppHj/IgMfrO7Y6G/YClEVUl5scwfAMXNxPyLTEAKwUn/3Larkfr4tTYQuKv3 nvlMbnjWbUeO4AuqR2L/V1+vPKS92HBrgiYDLj7GuBg6z8AvbzpeAkbexbSQt/o48V+5 K3vQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730147500; x=1730752300; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wuk4564wzjsUp4zaOOkCnzhVVU3Tj7cdilFO3+CcaQQ=; b=TjOTHMJvrgGkmLcFxlZzP7PHR6yRaw1x0R7cDus79n6AjFSKK3MSguAOCpQIRLcr4t h46zlmSzjas10/pzcDvL4ol1KIroAVzE7LWH0Bcf4DqKr0SPOhe5R35lKLgpP8OYiR7e elNJ/9WyKMBHyMklx/cfcdluEtA+J9Akr3RzpsS+oriNroUu1OpqLYXlloKIys3Pjlyu syPhk6GgKcR1oIzyefuTD0j4sfk5jx1WxjJr+t6uL588U2uzw8UhBjnAVhi/osOnbfIp fTpev33LJLgkK3VurvdXIwlwA/k3VDH/UZ7AcfE62pFMXmyO0TcCuhIefWxjr3BsIOEO j+lQ==
X-Gm-Message-State: AOJu0YwfEh1qW3y89okNHXThKIEUEBuXcdpVOajaas6azzqntgtB1UHQ zxJoVRpzP6modwxpkEG9cNlbxqGMZv8CD3HAn7joL1iyzBXNPnc1op11jQ/3MhPLjR+WmfdwoSt W6QtIN7Qaeq1pgkt0mFjZ1gDGQoYKOd+C
X-Google-Smtp-Source: AGHT+IHJeuDrazJFo7VBhVv0YCwFUCJ9cmIzIJL6Bs2uxO5HEOEXIULJ7TFpDCoDNddzRlD5WJYk6l5oU/UBA+4Q2iM=
X-Received: by 2002:a05:6902:2788:b0:e26:2a81:51a6 with SMTP id 3f1490d57ef6-e3087949dbamr7946518276.10.1730147500040; Mon, 28 Oct 2024 13:31:40 -0700 (PDT)
MIME-Version: 1.0
References: <935CC801-1E96-414A-80F0-29DD18617AE1@apple.com>
In-Reply-To: <935CC801-1E96-414A-80F0-29DD18617AE1@apple.com>
From: Jeffrey Walton <noloader@gmail.com>
Date: Mon, 28 Oct 2024 16:31:03 -0400
Message-ID: <CAH8yC8m9kKwjReSMyu=kzk=EHYV47SeuDGwXS88dgL+8M-42Rg@mail.gmail.com>
To: ippm@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: ZPQFFZ46GUZ4FJP7UNZAW77I5HHELFWT
X-Message-ID-Hash: ZPQFFZ46GUZ4FJP7UNZAW77I5HHELFWT
X-MailFrom: noloader@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ippm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: noloader@gmail.com
Subject: [ippm] Re: Seeking input from engineers with expertise in video conferencing and similar delay-sensitive applications
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/Et8W_xCSHclZt_IlUAfyakqhiHE>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Owner: <mailto:ippm-owner@ietf.org>
List-Post: <mailto:ippm@ietf.org>
List-Subscribe: <mailto:ippm-join@ietf.org>
List-Unsubscribe: <mailto:ippm-leave@ietf.org>
Hi Everyone/Stuart, On Mon, Oct 28, 2024 at 3:21 PM Stuart Cheshire <cheshire=40apple.com@dmarc.ietf.org> wrote: > > Hello IETF colleagues, > > The IETF has been working on L4S, to reduce packet loss and delay on the Internet, which should be a great benefit for delay-sensitive applications like video conferencing. > > In a companion project, we are working on a network measurement tool to report meaningful delay measurements, to validate whether L4S deployments and other similar technologies are actually delivering what they promise. > > We are seeking expert feedback on this Internet Draft: > > <https://datatracker.ietf.org/doc/html/draft-ietf-ippm-responsiveness> > > It will be discussed next Monday at the IETF meeting in Dublin: > > <https://datatracker.ietf.org/meeting/121/materials/agenda-121-ippm> > > The purpose of this work is to create a repeatable analytical test that can be run to assess how well a network will support delay-sensitive applications like video conferencing. For the test to be useful, the results it reports need to correlate with subjective user experience. I worry that we have not validated this aspect of the test enough. > > My understanding is that video conferencing applications accumulate received packets in a playback buffer (to smooth out delay variation), and then determine a time when those packets are decoded to display a frame. Setting the playback buffer too deep results in conversational delay that impacts user experience. Setting the playback buffer too shallow results in lower delay, but risks displaying a frame before all the necessary packets have been received, degrading image (and audio) quality. Thus the playback buffer needs to dynamically adjust to network conditions, to balance between playing early enough to keep conversational delay low, but late enough that a sufficient percentage of packets have been received by the playback time. > > How does a video conferencing application compute this ideal playback delay? Is the delay set such that we expect 90% of the necessary packets should have been received? 95%? 99%? > > The draft has been through a series of revisions with input from multiple people. It has currently arrived at an algorithm that samples the application-layer round-trip delay over a period of about ten seconds, discards the worst 5% of those measurements, and reports the arithmetic mean of the the best 95%. > > Is this a good predictor of video conferencing performance? I fear that our current test may be measuring the exact opposite of what video conferencing cares about. Mean and median mean nothing to video conferencing. If the median round-trip delay is just 1ms then that’s awesome, but it does a video conferencing application no good to decode a frame when it’s got only half the packets (that’s what median means). If the 90th percentile round-trip delay is 500ms, and the application needs to have 90% of the packets before it can usefully decode a frame, then the application needs to wait that long before decoding a frame. It doesn’t matter if half the packets arrive really early, if the remaining necessary packets arrive late. It is the latecomers that determine the playback delay, not the early packets. > > Does my reasoning make sense here? What metric would video conferencing applications like to see reported? 90th percentile? 95th percentile? 99th percentile? Something else? > > I want to make sure that when we publish this Internet Draft as an IETF RFC it serves its purpose of motivating vendors and operators to tune their networks so that delay-sensitive applications work well. If the test measures the wrong thing, then it motivates vendors and operators to optimize the wrong thing, and that doesn’t help delay-sensitive applications like video conferencing work better. > > Please send comments to ippm@ietf.org <mailto:ippm@ietf.org>, or attend IPPM in Dublin to share your thoughts in person. Two related comments, based on some work around this about 15 years ago. First, conferencing software is more sensitive to audio loss than video loss. If possible, keep the voice stream continuous and and allow video to be discarded/frozen (if needed). I read a paper on that subject years ago, but I cannot find it at the moment. Second, a good network simulated stress test is <https://github.com/tylertreat/comcast>. The project describes itself as: Simulating shitty network connections so you can build better systems. I've used it in the past to help improve robustness of application layer software. Jeff
- [ippm] Re: Seeking input from engineers with expe… Chris Box
- [ippm] Re: Seeking input from engineers with expe… Jeffrey Walton