Re: [codec] #16: Multicast?

"Raymond (Juin-Hwey) Chen" <rchen@broadcom.com> Wed, 05 May 2010 01:16 UTC

Return-Path: <rchen@broadcom.com>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 02A063A698C for <codec@core3.amsl.com>; Tue, 4 May 2010 18:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.195
X-Spam-Level:
X-Spam-Status: No, score=-0.195 tagged_above=-999 required=5 tests=[AWL=-0.196, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s09K5jFlmC83 for <codec@core3.amsl.com>; Tue, 4 May 2010 18:16:21 -0700 (PDT)
Received: from mms1.broadcom.com (mms1.broadcom.com [216.31.210.17]) by core3.amsl.com (Postfix) with ESMTP id 51B133A6995 for <codec@ietf.org>; Tue, 4 May 2010 18:16:20 -0700 (PDT)
Received: from [10.9.200.131] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Tue, 04 May 2010 18:15:56 -0700
X-Server-Uuid: 02CED230-5797-4B57-9875-D5D2FEE4708A
Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.252.49.31]) by IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) with mapi; Tue, 4 May 2010 18:15:56 -0700
From: "Raymond (Juin-Hwey) Chen" <rchen@broadcom.com>
To: Koen Vos <koen.vos@skype.net>, "codec@ietf.org" <codec@ietf.org>
Date: Tue, 04 May 2010 18:15:51 -0700
Thread-Topic: [codec] #16: Multicast?
Thread-Index: Acro9LURl2A6sjoqQQyK1rZVvgmFJAC8xHvA
Message-ID: <CB68DF4CFBEF4942881AD37AE1A7E8C74B90345522@IRVEXCHCCR01.corp.ad.broadcom.com>
References: <062.7439ee5d5fd36480e73548f37cb10207@tools.ietf.org> <3E1D8AD1-B28F-41C5-81C6-478A15432224@csperkins.org> <D6C2F445-BE4A-4571-A56D-8712C16887F1@americafree.tv> <C0347188-A2A1-4681-9F1E-0D2ECC4BDB3B@csperkins.org> <u2x6e9223711004210733g823b4777y404b02330c49dec1@mail.gmail.com> <000001cae173$dba012f0$92e038d0$@de> <r2q6e9223711004211010gfdee1a70q972e8239fef10435@mail.gmail.com> <001101cae177$e8aa6780$b9ff3680$@de> <t2t6e9223711004211119i6b107798pa01fc4b1d33debf1@mail.gmail.com> <002d01cae188$a330b2c0$e9921840$@de> <CB68DF4CFBEF4942881AD37AE1A7E8C74AB3F4A017@IRVEXCHCCR01.corp.ad.broadcom.com> <4BD11C50.2020206@usherbrooke.ca> <CB68DF4CFBEF4942881AD37AE1A7E8C74AB3F4A270@IRVEXCHCCR01.corp.ad.broadcom.com> <12151537-165D-426A-B71F-8B3D76BE4854@cisco.com> <CB68DF4CFBEF4942881AD37AE1A7E8C74B901372FE@IRVEXCHCCR01.corp.ad.broadcom.com> <20100430230756.13687lc1s5o89gsc@mail.skype.net>
In-Reply-To: <20100430230756.13687lc1s5o89gsc@mail.skype.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-cr-hashedpuzzle: BsSg Btj6 EXNO F4RZ Gkyo Hbn+ LrtI NDYV NVTN N/0E PsCu ScNg Sxb4 T3ua UY6a UhF5; 2; YwBvAGQAZQBjAEAAaQBlAHQAZgAuAG8AcgBnADsAawBvAGUAbgAuAHYAbwBzAEAAcwBrAHkAcABlAC4AbgBlAHQA; Sosha1_v1; 7; {6D363085-0A56-480E-A56B-73C229C129F7}; cgBjAGgAZQBuAEAAYgByAG8AYQBkAGMAbwBtAC4AYwBvAG0A; Wed, 05 May 2010 01:15:51 GMT; UgBFADoAIABbAGMAbwBkAGUAYwBdACAAIwAxADYAOgAgAE0AdQBsAHQAaQBjAGEAcwB0AD8A
x-cr-puzzleid: {6D363085-0A56-480E-A56B-73C229C129F7}
acceptlanguage: en-US
MIME-Version: 1.0
X-WSS-ID: 67FE194620S113846361-01-01
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [codec] #16: Multicast?
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2010 01:16:23 -0000

Hi Koen,

I respect that Skype engineers have a lot of experience in VoIP soft clients running on computers. Skype is the world leader in that area, no question about that.  However, here I am talking about the codec-dependent one-way delay in typical IP phone and VoIP gateway implementations, which are quite different from VoIP soft clients.  How many of your 100+ years of combined VoIP experience were spent in actually designing IP phones or VoIP gateways?  

Regarding the 3X multiplier for VoIP gateways, I already stated clearly in my original text that the 12 to 17 ms was the codec-dependent one-way delay.  There is no "constant delay of 7 ms" in that (if it were constant, it would not be codec-dependent).  The whole 12 to 17 ms delay was proportional to the codec frame size.

As I said in my last email to Christian, there is another independent corroboration by another person (who was deeply involved in VoIP gateway designs) that this 3*(codec frame size) worst-case codec-dependent one-way delay was about the lowest that can be achieved after they "optimized the delay to death".  What I didn't say is that this was actually for G.711 channels with a 10 ms frame/packet size, where the actual processing time spent on encoding and decoding the 10 ms G.711 codec frame was next to nothing, and yet the complex scheduling and buffering delays throughout the system, which are proportional to the 10 ms processing intervals, still added up to 3X frame size.

Currently, 70% to 80% of the phone shipments to large enterprises are IP phones.  With small enterprises also counted, the overall average is about 60% IP phones.  The current industry projection is that within 5 years, the overall average would be 80% to 90% IP phones. (The large enterprises will probably be close to 100% IP phones by then.)  Hence, there are already a huge number of IP phones deployed, and in the future it would be almost all IP phones in the workplace, especially in medium to large companies.  I think it would be a mistake for the IETF Internet codec to completely ignore such IP phone applications, but if we want to address such a huge installed base of IP phones, the 3*(codec frame size) delay is very real for IP phones and it is desirable to have a low-delay mode for the IETF codec to enhance the user experience when using the IETF codec in such IP phones.

Raymond

-----Original Message-----
From: codec-bounces@ietf.org [mailto:codec-bounces@ietf.org] On Behalf Of Koen Vos
Sent: Friday, April 30, 2010 11:08 PM
To: codec@ietf.org
Subject: Re: [codec] #16: Multicast?

Quoting "Raymond (Juin-Hwey) Chen":

>   One-way delay = codec-independent delay + 3*(codec frame size) +  
> (codec look-ahead) + (codec filtering delay if any)
>
> This formula was obtained from an experienced engineer who has been  
> working on IP phones related fields for more than a decade,

At Skype We have 100+ years of combined VoIP experience, and a focus  
on minimizing delay as part of our goal to maximize quality.  The  
consensus among our engineers is that the multiplier is closer to 1  
than to 2, at least for software VoIP applications over typical  
Internet connections.  Some years ago the situation was slightly worse  
because dial-up was more prevalent.


> Similar 3X multiplier is also observed in VoIP gateways.  Even with  
> a fast processor/system optimized from ground up to be low-delay,  
> the measured "codec-dependent" one-way delay of such a VoIP gateway  
> using the G.711 codec with a 5 ms frame/packet size is between 12  
> and 17 ms, or around 3X the frame size.

As I've pointed out before, that doesn't say much about how the delay  
increases with larger frame sizes.  Perhaps the 12~17 ms includes a  
constant delay of 7 ms, and the marginal growth of delay with frame  
size is 1x.

best,
koen.
_______________________________________________
codec mailing list
codec@ietf.org
https://www.ietf.org/mailman/listinfo/codec