Re: [codec] #16: Multicast?

Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> Thu, 27 May 2010 11:48 UTC

Return-Path: <jean-marc.valin@usherbrooke.ca>
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 89F533A6ACA for <codec@core3.amsl.com>; Thu, 27 May 2010 04:48:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[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 BEYdB0OBw2CX for <codec@core3.amsl.com>; Thu, 27 May 2010 04:47:59 -0700 (PDT)
Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by core3.amsl.com (Postfix) with ESMTP id A212D3A6AC9 for <codec@ietf.org>; Thu, 27 May 2010 04:47:59 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 8bit
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Received: from [192.168.1.14] ([70.81.109.112]) by VL-MR-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0L32001QSU3PWAH0@VL-MR-MR001.ip.videotron.ca> for codec@ietf.org; Thu, 27 May 2010 07:47:50 -0400 (EDT)
Message-id: <4BFE5BE7.503@usherbrooke.ca>
Date: Thu, 27 May 2010 07:47:51 -0400
From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
To: Christian Hoene <hoene@uni-tuebingen.de>
References: <062.7439ee5d5fd36480e73548f37cb10207@tools.ietf.org> <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> <CB68DF4CFBEF4942881AD37AE1A7E8C74B90345522@IRVEXCHCCR01.corp.ad.broadcom.com> <CB68DF4CFBEF4942881AD37AE1A7E8C74B9043D30B@IRVEXCHCCR01.corp.ad.broadcom.com> <909E12B9-984F-4051-A93E-2291EFE0A40E@cisco.com> <CB68DF4CFBEF4942881AD37AE1A7E8C74B9BE9EDB7@IRVEXCHCCR01.corp.ad.broadcom.com> <20100526151326.2882694zuaeslk3q@mail.skype.net> <CB68DF4CFBEF4942881AD37AE1A7E8C74B9BE9F2E7@IRVEXCHCCR01.corp.ad.broadcom.com> <20100526214255.206532jzf8wjld1r@mail.skype.net> <002901cafd89$acf402e0$06dc08a0$@de>
In-reply-to: <002901cafd89$acf402e0$06dc08a0$@de>
Cc: 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, 27 May 2010 11:48:00 -0000

Christian, please leave semiconductor physics out of this. FYI, see below:

On 10-05-27 06:45 AM, Christian Hoene wrote:
> Regarding Moore-law and so: We shall keep in mind that cannot continue forever. Already today, due to Quantum tunneling and
> subthreshold leakage current very small semiconductor structures consume increasing amounts of energy. Thus, it might not always be
> advisable to use the latest technology if power consumption shall be low.

Although power no longer scales linearly with the area of the 
transistors, it still decreases when one uses a smaller technology (with 
the exception being the huge leakage from 65 nm).

> It is know that "CMOS circuits dissipate power by charging the various load capacitances (mostly gate and wire capacitance, but also
> drain and some source capacitances) whenever they are switched. The charge moved is the capacitance multiplied by the voltage
> change. Multiply by the switching frequency on the load capacitances to get the current used, and multiply by voltage again to get
> the characteristic switching power dissipated by a CMOS device: P = CV²f".
> ...
> Thus, the power does not decrease if the calculation (e.g., the encoding and decoding) is done faster or slower.

Euh?? what about f? That's the part that takes into account faster vs 
slower. Even if you don't change the clock, the amount of calculations 
you have still has an impact on power. Once you've paid for the idle 
(static) power, the dynamic power is pretty much proportional to how 
fast you do your calculation. That being said, there's also about 100 
other factors involved in the power consumption, including the 
technology used (low/standard/high threshold gates), tons of 
architectural decisions (cache, branch prediction, parallelism, ...), 
power-saving features, and so on.

> In order to save power in mobile device, Dynamic frequency scaling and Dynamic voltage scaling change the frequency and/or the
> voltage to save power.  If power consumption needs to be reduced, the device reduces voltage and frequency and thus the calculation
> takes longer. Thus, even if the CPU can do the encoding/decoding at full speed and in a fraction of the frame duration, it is not
> always advisable to do it like that. Instead, if energy supply is limited, then calculations shall be slowed down.

Many people have found that for a given CPU, it's very often more 
efficient to do the calculation at full-speed and then enter the 
low-power state as quickly as possible -- as opposed to making the 
calculation slower and being in low-power state for less time. The term 
for that is "race to idle".

> My argumentations above support the position of Raymond that device with low processing power will be used and that this increases
> to the transmission delay. However, I am not an expert in system or chip design and thus, I might have missed a few details or
> tradeoffs.

No need to go into chip design to say that "lower complexity is better". 
The key is deciding what's acceptable and what's the tradeoff. If 
complexity was the only issue, we'd all be using G.711. No matter what 
the final complexity will be, there will be chips that aren't powerful 
to execute it and there will be chips that are so powerful that they 
don't wouldn't notice if the complexity doubled.

Cheers,

	Jean-Marc