Re: [codec] #16: Multicast?

"Raymond (Juin-Hwey) Chen" <rchen@broadcom.com> Thu, 06 May 2010 19:04 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 1FCB63A6989 for <codec@core3.amsl.com>; Thu, 6 May 2010 12:04:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.176
X-Spam-Level:
X-Spam-Status: No, score=-0.176 tagged_above=-999 required=5 tests=[AWL=-0.177, 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 RfzHF5UN771C for <codec@core3.amsl.com>; Thu, 6 May 2010 12:04:22 -0700 (PDT)
Received: from mms2.broadcom.com (mms2.broadcom.com [216.31.210.18]) by core3.amsl.com (Postfix) with ESMTP id 0111C3A6BBC for <codec@ietf.org>; Thu, 6 May 2010 12:04:20 -0700 (PDT)
Received: from [10.9.200.131] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Thu, 06 May 2010 12:03:26 -0700
X-Server-Uuid: D3C04415-6FA8-4F2C-93C1-920E106A2031
Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.252.49.31]) by IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) with mapi; Thu, 6 May 2010 12:03:12 -0700
From: "Raymond (Juin-Hwey) Chen" <rchen@broadcom.com>
To: stephen botzko <stephen.botzko@gmail.com>
Date: Thu, 06 May 2010 12:03:08 -0700
Thread-Topic: [codec] #16: Multicast?
Thread-Index: AcrsQwno3Hpz1jahRX+JkGogPbxfdgBA0v1g
Message-ID: <CB68DF4CFBEF4942881AD37AE1A7E8C74B9034592F@IRVEXCHCCR01.corp.ad.broadcom.com>
References: <062.7439ee5d5fd36480e73548f37cb10207@tools.ietf.org> <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> <x2t6e9223711005010631kb53e8d5fmb680b34a43f13416@mail.gmail.com> <CB68DF4CFBEF4942881AD37AE1A7E8C74B90345538@IRVEXCHCCR01.corp.ad.broadcom.com> <p2z6e9223711005050406rdc5cd24at547fdd968c0ef78f@mail.gmail.com>
In-Reply-To: <p2z6e9223711005050406rdc5cd24at547fdd968c0ef78f@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-WSS-ID: 67FDCDF738O198894993-14-01
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "codec@ietf.org" <codec@ietf.org>
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: Thu, 06 May 2010 19:04:23 -0000

Hi Stephen,

Sorry, I was too busy to respond yesterday.

You wrote:
> Generally the need to buffer the current frame is treated as part of the 
> algorithmic delay.  At least I believe that is what the ITU-T does.
> So maybe we need a list of what all these components are?  

[Raymond]: Sure, my previous analysis was an attempt to do just that, but perhaps my list was not complete enough.

> I'd suggest keeping the gateway out of it for the first pass.

[Raymond]: May I ask why? 

> I've worked with Gateways\MCUs where the packet size had to be increased 
> because packet loading in the product became too high.  Also, if you 
> have QOS features enabled in many routers, the routers themselves have 
> to start using a "software path", which creates a similar throughput 
> problem in the routers.  Too many packets per second can overwhelm these 
> devices, creating both capacity issues and excessive queuing delays. 
 
[Raymond]: OK, now I see what you meant when you said "it is totally possible that reducing the frame size might actually increase the latency". This is probably more likely to happen many years ago but less of a problem now, as I was told by networking guys that nowadays networking gears can handle 5 ms packets without problems.  In fact, the VoIP gateway I talked about, which has a 12 to 17 ms codec-dependent one-way delay for a 5 ms frame/packet size, was done 6 or 7 years ago.  Even back then the gateway can handle it without problems. 

> I don't think the group has an agreed-upon model which names these 
> components consistently, and describes are appropriately in-scope and 
> which are out-of-scope.  Perhaps that is one reason why Koen is saying 
> multiplier the number is 1x.  

> Also, there are real-world negative consequences to higher packet rates, 
> and we have not yet considered them. 

[Raymond]: Yes, higher packet rates means higher packet header overhead bit-rates, more burden on networking gears in I/O bandwidth and throughput, etc.  However, that's the price to pay if we need low latency, just like if we want to avoid all these, the price to pay is higher latency.  It's all a matter of trade-off and the best choice depends on the application at hand.  

In Section 2 of Jean-Marc's Internet Draft draft-ietf-codec-requirements-00, 6 specific applications for the IETF codec were listed.  Fully 5 of these 6 applications list less than 10 ms of codec delay as either a requirement or a desirable feature. (The only exception is point-to-point calls.)  The only way to achieve this less than 10 ms codec delay is with a codec frame size of less than 10 ms, and to get the kind of low latency that these 5 applications desire, each packet had better contain only one codec frame as payload (rather than multiple frames). 

So, yeah, there is negative consequences of the resulting higher packet rates, but hey, if we want to get low latency as desired or required by these 5 applications, that's the price we will need to be prepared to pay.  There is no free lunch.  If we want to use a 20 ms frame/packet size to avoid those consequences, then we need pay the price of not achieving the low latency that these 5 applications desire or require.

Raymond