Re: [dnssd] DNS Name Autoconfiguration for Home Network Devices

Alf Watt <alf@istumbler.net> Tue, 18 November 2014 18:46 UTC

Return-Path: <alf@istumbler.net>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1E591A6F21 for <dnssd@ietfa.amsl.com>; Tue, 18 Nov 2014 10:46:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.093
X-Spam-Level:
X-Spam-Status: No, score=-1.093 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V6TkXLfCXdjE for <dnssd@ietfa.amsl.com>; Tue, 18 Nov 2014 10:46:42 -0800 (PST)
Received: from polaris.istumbler.net (polaris.istumbler.net [66.116.108.178]) by ietfa.amsl.com (Postfix) with ESMTP id EC0171A6F12 for <dnssd@ietf.org>; Tue, 18 Nov 2014 10:46:41 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by polaris.istumbler.net (Postfix) with ESMTP id CC94F30B106B; Tue, 18 Nov 2014 10:46:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at example.com
Received: from polaris.istumbler.net ([127.0.0.1]) by localhost (polaris.istumbler.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G4fQ-WqkyVeO; Tue, 18 Nov 2014 10:46:40 -0800 (PST)
Received: from [10.0.20.27] (unknown [157.130.198.150]) by polaris.istumbler.net (Postfix) with ESMTPSA id 7B96030B1054; Tue, 18 Nov 2014 10:46:40 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail-64001965-DE29-4073-8032-80210F936DD3"
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
X-Apple-Base-Url: x-msg://13/
X-Universally-Unique-Identifier: 7E5B8951-B03F-464D-95F6-0127BFF20C42
X-Apple-Mail-Remote-Attachments: YES
X-Apple-Auto-Saved: 1
From: Alf Watt <alf@istumbler.net>
X-Mailer: iPhone Mail (12B411)
In-Reply-To: <CAPK2DeyCToF6MwQOpnbW=tY+uU_iEsgOS0WSe1NYpxGq6kC+3Q@mail.gmail.com>
X-Apple-Windows-Friendly: 1
Date: Tue, 18 Nov 2014 10:46:38 -0800
Content-Transfer-Encoding: 7bit
X-Apple-Mail-Signature:
Message-Id: <F158B437-8DAB-469E-B957-745CDBB3AB41@istumbler.net>
References: <CAPK2DeyuABqSbH5dtdtScYWnE-vkmGO642xFb6FZehu-5MTaAA@mail.gmail.com> <436692B4-978D-4E62-868E-78FA8AF3F26F@nominum.com> <CAPK2Deys6VU83R0hfv_8svNKuaSBEfu_dGqnGkoN_pQ9zE_6HQ@mail.gmail.com> <F61ADDF8-6BC1-4C9E-B80A-32F3EF186E3D@istumbler.net> <CAPK2DeyCToF6MwQOpnbW=tY+uU_iEsgOS0WSe1NYpxGq6kC+3Q@mail.gmail.com>
X-Uniform-Type-Identifier: com.apple.mail-draft
To: "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/dnssd/akd1-jOhFuN_uhIGamIUI6_-Lfk
Cc: Brian Haberman <brian@innovationslab.net>, Myung-Ki Shin <mkshin@etri.re.kr>, "dnssd@ietf.org" <dnssd@ietf.org>, Jung-Soo Park <pjs@etri.re.kr>, Ted Lemon <Ted.Lemon@nominum.com>, Sejun Lee <prosejun14@gmail.com>
Subject: Re: [dnssd] DNS Name Autoconfiguration for Home Network Devices
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion of extensions to Bonjour \(mDNS and DNS-SD\) for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Nov 2014 18:46:55 -0000

The proposal may have merit for other reasons but in terms of resource usage for IoT devices it’s very instructive to look at existing products.

The Phillips Hue lights are built around a 32 ARM core [1] with limited RAM (128kb). The Nest Protect smoke detector is also built around a similar 32bit ARM core from Freescale, the K60[2].

Both of these are attached to a Zigbee radio, which provides sufficient bandwidth for DNS-SD over mDNS, as per our charter[3].

Devices which need service discovery on batteries will very likely be using layer-2 discovery mechanisms for power consumption reasons (i.e. BT-LE). 

I have a hard time imagining that a device with much less capabilities than above will be a useful internet node. If it can't afford to run a simple discovery service then what is it doing on the network?

Best,
Alf

[1] http://www.digchip.com/datasheets/parts/datasheet/456/STM32F217VET6.php
"ARM-based 32-bit MCU, MB Flash/128+4KB RAM, crypto, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 	comm. interfaces & camera"
[2] http://cache.freescale.com/files/32bit/doc/data_sheet/K60P100M100SF2V2.pdf?fpsp=1&WT_TYPE=Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation
[3] http://datatracker.ietf.org/wg/dnssd/charter/

> On Nov 14, 2014, at 10:34 PM, Mr. Jaehoon Paul Jeong <jaehoon.paul@gmail.com> wrote:
> 
> Alf,
> For embedded such as printers, cameras that have power and capacity equivalent to smartphone,
> you are right.
> 
> For low-power low-capacity devices, such as light bulb and smoke detecting sensor,
> I think that running server(s) seems not viable 
> even though I have no exact number of target memory and cpu size 
> for such low-power low-capacity IoT devices.
> 
> Is there anyone else to comment on the hardware specification of such IoT devices?
> 
> Thanks.
> 
> Paul  
> 
> ===========================
> Mr. Jaehoon (Paul) Jeong, Ph.D.
> Assistant Professor
> Department of Software /
> Department of Computer Engineering
> Sungkyunkwan University
> Office: +82-31-299-4957
> Mobile: +82-10-4758-1765
> Fax: +82-31-290-5119
> Email: pauljeong@skku.edu, jaehoon.paul@gmail.com
> CPS Lab Website: http://cpslab.skku.edu
> Personal Homepage: http://cpslab.skku.edu/people-jaehoon-jeong.php
> 
>> On Fri, Nov 14, 2014 at 12:02 PM, Alf Watt <alf@istumbler.net> wrote:
>> I’m confused, the mDNSResponder code is very lightweight and already runs on embedded devices such as printers, cameras and may other low-memory and low-cpu devices.
>> 
>> What is your target memory and cpu size for an IoT device? Given that we’ve been using mDNS for more than a decade, the steady pace of improvement in semiconductors means that even the smallest device will have more than sufficient resources for mMDS.
>> 
>> Best,
>> Alf
>> 
>>> On Nov 14, 2014, at 1:34 PM, Mr. Jaehoon Paul Jeong <jaehoon.paul@gmail.com> wrote:
>>> 
>>> The solution in RFC 6762 (Multicast DNS) section 9 is viable for regular computers, 
>>> such as laptop, desktop, and smartphone that can afford to run mDNS responder.
>>> For IoT devices, such as light bulb and fire detecting sensor, that have limited memory and storage,
>>> mDNS seems not viable for the DNS naming for them.