Re: [core] sleepy to sleepy communication I-Ds

Bruce Nordman <bnordman@lbl.gov> Thu, 01 March 2012 21:56 UTC

Return-Path: <bnordman@lbl.gov>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A803521E82BA for <core@ietfa.amsl.com>; Thu, 1 Mar 2012 13:56:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.707
X-Spam-Level:
X-Spam-Status: No, score=-5.707 tagged_above=-999 required=5 tests=[AWL=0.269, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naoPVuNxTr1F for <core@ietfa.amsl.com>; Thu, 1 Mar 2012 13:56:17 -0800 (PST)
Received: from ironport4.lbl.gov (ironport4.lbl.gov [128.3.41.45]) by ietfa.amsl.com (Postfix) with ESMTP id 8BC5721E82AB for <core@ietf.org>; Thu, 1 Mar 2012 13:56:17 -0800 (PST)
X-Ironport-SBRS: 5.2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjICAL7vT0/RVdy0mGdsb2JhbAA5BwOCRKhVAYhnCCIBAQEBAQgJDQcUJ4F9AQEBAwESAjUwBQsLCwYDAQIBLiISAQUBFAgGExQOh18FC5tZCp0fiX2DCwIKAgEEAQMCAgEKSQsBAgEChFkOBgkDAgsNCi8DDQEGCAMEAwcKCoMnBIhPiQ6DXo4yPYQk
X-IronPort-AV: E=Sophos;i="4.73,513,1325491200"; d="scan'208";a="66817830"
Received: from mail-vx0-f180.google.com ([209.85.220.180]) by ironport4.lbl.gov with ESMTP; 01 Mar 2012 13:56:16 -0800
Received: by vcbf13 with SMTP id f13so459661vcb.39 for <core@ietf.org>; Thu, 01 Mar 2012 13:56:16 -0800 (PST)
Received-SPF: pass (google.com: domain of bnordman@lbl.gov designates 10.52.64.234 as permitted sender) client-ip=10.52.64.234;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of bnordman@lbl.gov designates 10.52.64.234 as permitted sender) smtp.mail=bnordman@lbl.gov
Received: from mr.google.com ([10.52.64.234]) by 10.52.64.234 with SMTP id r10mr11650751vds.39.1330638976416 (num_hops = 1); Thu, 01 Mar 2012 13:56:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.64.234 with SMTP id r10mr9900714vds.39.1330638976207; Thu, 01 Mar 2012 13:56:16 -0800 (PST)
Received: by 10.220.149.209 with HTTP; Thu, 1 Mar 2012 13:56:16 -0800 (PST)
In-Reply-To: <4F4FE403.8060205@ericsson.com>
References: <CAK+eDP8n4sa7gAHH+Kk3qSZ0dDV8Pnj2cY1tA2ODpQpNVVEK2Q@mail.gmail.com> <4F4FE403.8060205@ericsson.com>
Date: Thu, 01 Mar 2012 13:56:16 -0800
Message-ID: <CAK+eDP_sKO-1SnyjBaiAKk6N-wcemegxRaSXMPQnNucWTPWaGg@mail.gmail.com>
From: Bruce Nordman <bnordman@lbl.gov>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>
Content-Type: multipart/alternative; boundary="20cf307ac775804ced04ba358746"
X-Gm-Message-State: ALoCoQnPTcpjR2Bui51/RLtzRenBl73fs76wkJU7wlvmYsr2dTUbeMUwnu8UYvDh2MHbB9z5EmzB
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] sleepy to sleepy communication I-Ds
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Mar 2012 21:56:18 -0000

In some contexts it has been helpful to identify "light sleep" vs. "deep
sleep" when
there are two sub-states with different characteristics.  Beyond two, the
terminology gets trickier.

It is probably already in the various drafts but it is important to
distinguish the link
state from the device power state.  Energy Efficient Ethernet (IEEE
802.3az) created
a sleep state for Ethernet with quick sleep/wake times (as opposed to a
link disconnected
state with very long renegotiation of the link).  On PCs, the link state
and the system
power state are completely independent.  Turning off the radio on a duty
cycle sounds
like a link sleep state that enables faster reestablishment of the link
than from a no-link state.

I have found that it is difficult to impose detailed requirements on the
specifics of
power states across a wide variety of devices, but CORE's clarity on this
for CoAP
low-power devices will be of great help in future.

Thanks,

--Bruce

On Thu, Mar 1, 2012 at 1:02 PM, Salvatore Loreto <
salvatore.loreto@ericsson.com> wrote:

>  Hi Bruce,
>
> thanks a lot for your terminology comment...
> that is for sure something that we will adjust in a next version
> as well as we need text explaining the fact
> that there are differences in how the sensor go to sleep
> or in another way that different sensor go to sleep in a different way
> e.g. just turning off the radio to save the battery can be considered a
> sleep
>
>
> actually we were already discussing, during the writing of the drafts, the
> eventual
> implications of the different way to go to sleep on the design of the
> Options
> but we decided to do it later as well
> hopefully with the help of the community
>
> cheers
> Salvatore
>
> --
> Salvatore Loretowww.sloreto.com
>
>
>
> On 3/1/12 10:36 PM, Bruce Nordman wrote:
>
> Hi all--
>
>   I don't have a comment on the substance of this topic, but just on
> terminology.
> I have worked for many years on saving energy in mains-powered devices, and
> found terminology on power state important to pay attention to.  I have
> not worked
> on low-power sensors, but I think some of the lessons apply.
>
>   I would only suggest that the requirement be changed from "powered off"
> to "powered
> down".  "Down" is ambiguous as to whether it is to sleep or off, but the
> following
> sentence makes clear that the device is asleep since it wakes up.  A
> device that
> is off needs to be turned on - a sleeping device can be wake itself up (on
> timer or
> local activity), or possibly be woken from the network (not all devices
> will support this).
>
>   The distinction is that we would expect a wider range of events to
> trigger a wake
> than to trigger a turn-on, and a shorter latency on coming back from sleep
> than
> from turning on.
>
>   Not all devices have all three states (on, sleep, off) - many have just
> on and sleep
> and many others just on and off.  Some devices are always on.
> (Disconnection from
> all power sources, including internal batteries, will turn a device off so
> all devices have
> this sort of off mode)
>
>   Thanks,
>
> --Bruce
>
>
> ---------- Forwarded message ----------
> From: Thomas Fossati <tho@koanlogic.com>
> To: core WG <core@ietf.org>
> Cc:
> Date: Wed, 29 Feb 2012 22:46:58 +0100
> Subject: [core] sleepy to sleepy communication I-Ds
> Hello all,
>
> today we have submitted a couple of I-Ds proposing three new CoAP Options
> that try dealing with the requirement REQ3 of draft-shelby-core-coap-req-04
>
>    The ability to deal with sleeping nodes.  Devices may be
>    powered off at any point in time but periodically "wake up"
>    for brief periods of time.
>
> leveraging on different techniques, i.e. store-and-forward, explicit
> origin delegation, REST interface to carbon-copy an observed resource.
>
>
> Their URIs and respective abstracts are given in the following for
> convenience:
>
> (1) "Sleepy Option for CoAP" (see
> http://tools.ietf.org/html/draft-giacomin-core-sleepy-option-00)
>
> This draft defines a new CoAP elective option, Sleepy, targeted
> specifically at proxies and used to signal a proxy the will to initiate an
> asynchronous request/response exchange.  The Sleepy option is partitioned
> in 2/3 subfields indicating: the remaining time before sleep, the expected
> sleep interval, and (optionally) the on-duty interval.
> .....
>
>
> --
> *Bruce Nordman*
> Lawrence Berkeley National Laboratory
> eetd.lbl.gov/ea/nordman
> BNordman@LBL.gov
> 510-486-7089
> m: 510-501-7943
>
>
>
>


-- 
*Bruce Nordman*
Lawrence Berkeley National Laboratory
eetd.lbl.gov/ea/nordman
BNordman@LBL.gov
510-486-7089
m: 510-501-7943