Re: [codec] #16: Multicast?

stephen botzko <stephen.botzko@gmail.com> Wed, 05 May 2010 11:06 UTC

Return-Path: <stephen.botzko@gmail.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 C40AD3A6AD2 for <codec@core3.amsl.com>; Wed, 5 May 2010 04:06:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.703
X-Spam-Level:
X-Spam-Status: No, score=-0.703 tagged_above=-999 required=5 tests=[AWL=-0.705, BAYES_50=0.001, HTML_MESSAGE=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 uNYl3RdNiNzM for <codec@core3.amsl.com>; Wed, 5 May 2010 04:06:49 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 3478F3A6AEA for <codec@ietf.org>; Wed, 5 May 2010 04:06:45 -0700 (PDT)
Received: by wwi18 with SMTP id 18so1864699wwi.31 for <codec@ietf.org>; Wed, 05 May 2010 04:06:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=RaUCS8Dr33gb7E9LRZ3q8c0sjSSgUKF0ds9K75FKddA=; b=SMW637zPskjY011ItSkOjm0auEMEKFXutwP+X6D4yl/fNJPK+dnMPGqQYwwgT4Z2yk 6iWs+ojaoDzXYdo7pp8IpzySHQA2EmAg1QudApDuaKJIeUuWDWpG4T5HHQs9OjRBHjOR bdZo/KTTlriMXyiy9HZx26gDvRAmNxuk2Jfa4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SJ7Pt6n20uAJp6VjY0k/YTEQf0H88//k7cd+Q9mvaAqDBxKSRczYcJyzNzxAEIFQcc yNfizwu9dMQOis0z+TigwLwcs9bfx1bv51lBUS4wbC7wM0WccD4j+thi3fLEfb8ELBTq WUnjkdLhJRuX2fcWDDw/H7d1jI8ho1GPIMJqA=
MIME-Version: 1.0
Received: by 10.216.86.212 with SMTP id w62mr680210wee.131.1273057588049; Wed, 05 May 2010 04:06:28 -0700 (PDT)
Received: by 10.216.28.139 with HTTP; Wed, 5 May 2010 04:06:27 -0700 (PDT)
In-Reply-To: <CB68DF4CFBEF4942881AD37AE1A7E8C74B90345538@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>
Date: Wed, 05 May 2010 07:06:27 -0400
Message-ID: <p2z6e9223711005050406rdc5cd24at547fdd968c0ef78f@mail.gmail.com>
From: stephen botzko <stephen.botzko@gmail.com>
To: "Raymond (Juin-Hwey) Chen" <rchen@broadcom.com>
Content-Type: multipart/alternative; boundary="0016e6d9a3a25079570485d6d14c"
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: Wed, 05 May 2010 11:06:50 -0000

In-line

Regards
Stephen Botzko

On Tue, May 4, 2010 at 10:21 PM, Raymond (Juin-Hwey) Chen <
rchen@broadcom.com> wrote:

> Hi Stephen,
>
> > If the frame-size multiplier is due to serialization, then I agree with
> > Koen's assessment.  In fact on many connections the multiplier would be
> > less than 1. Dial-up is of course the worst case here, and on those
> > links the multiplier ought to be close to 2.  Variations due to
> > congestion (and on some links, polling) are (IMHO) better modeled as
> > jitter.
> [Raymond]: The frame-size multiplier has many more components than just
> serialization as I have discussed in my previous emails.  How can the total
> multiplier be less than 1 when just buffering the current frame of input
> speech samples will take one frame?  Perhaps you are only talking about the
> serialization delay component?  I agree that delay variations due to
> congestion are better modeled as jitter.  That's always the case, and my
> previous discussions did not include jitter in the codec-dependent delay.
>

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?  I'd suggest
keeping the gateway out of it for the first pass.


>
> > Gateways are another matter, with the delays being highly dependent on
> > the product architecture.  Interupt latencies, context switching, bus
> > architectures, etc. can dominate, so it is totally possible that
> > reducing the frame size might actually increase the latency (since it
> > increases the packets per second load on the gateway).  So I agree with
> > Koen on this as well.
> [Raymond]: I agree with the first half of your paragraph above but not the
> second half, because the second half contradicts with the real-world
> observed behaviors: G.711 with a 5 ms frame/packet size gets 12 to 17 ms of
> codec-dependent delay, while G.711 with a 10 ms frame/packet size gets 50 to
> 60 ms of worst-case codec-dependent delay before delay optimization, and 30
> ms after delay optimization.  In these two actual real-world VoIP gateway
> implementations, the codec-dependent delay grow with the codec frame size
> with about a 3X multiplier.
>
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.


>
> > Anecdotal models based on industry experience can be useful guides -
> > though if we are going to use these models to drive requirements, I'd
> > prefer something more analytical.
> [Raymond]: We broke down the one-way delay into codec-independent delay and
> codec-dependent delay, and then further broke down the codec-dependent delay
> into the components of codec buffering delay, processing delay, transmission
> delay (I guess what you called serialization delay), and scheduling and
> buffering delays of the micro-controllers and DSPs due to many tasks to many
> channels competing for the processors, etc. We also analyzed which part
> doesn't change with improving technology (e.g. codec buffering delay) and
> how certain delay components may change with increasing processor speed and
> transmission speed.  Isn't that analytical?  How much more analytical can
> you get than that?  We didn't just throw a few real-world observed
> codec-dependent delay values and ask everyone to believe the 3X multiplier
> without any explanation or analysis. No, we just used these real-world
> values to support our analysis.
>
Serialization is just one component of transmission delay, and is
independent of distance.  As it turns out, it is the network delay component
that depends on packet size.

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.