Re: [core] #410 (block): Initial MID on restart after blockwise transfer

"Kraus Achim (INST/ESY1)" <Achim.Kraus@bosch-si.com> Mon, 09 May 2016 12:46 UTC

Return-Path: <Achim.Kraus@bosch-si.com>
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 75B5312B069 for <core@ietfa.amsl.com>; Mon, 9 May 2016 05:46:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 LuZuO53CSMcG for <core@ietfa.amsl.com>; Mon, 9 May 2016 05:46:01 -0700 (PDT)
Received: from smtp6-v.fe.bosch.de (smtp6-v.fe.bosch.de [IPv6:2a03:cc00:ff0:100::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3DD012B038 for <core@ietf.org>; Mon, 9 May 2016 05:46:00 -0700 (PDT)
Received: from vsmta13.fe.internet.bosch.com (unknown [10.4.98.53]) by imta24.fe.bosch.de (Postfix) with ESMTP id 27416D80204; Mon, 9 May 2016 14:45:57 +0200 (CEST)
Received: from imbvw2exc01.bosch-si.com (vsgw24.fe.internet.bosch.com [10.4.98.24]) by vsmta13.fe.internet.bosch.com (Postfix) with ESMTP id B74402E40227; Mon, 9 May 2016 14:45:56 +0200 (CEST)
Received: from IMBPW2EXD01.bosch-si.com ([fe80::d052:f355:928e:e5ba]) by imbvw2exc01.bosch-si.com ([::1]) with mapi id 14.03.0279.002; Mon, 9 May 2016 14:45:55 +0200
From: "Kraus Achim (INST/ESY1)" <Achim.Kraus@bosch-si.com>
To: Carsten Bormann <cabo@tzi.org>, "trac+core@zinfandel.tools.ietf.org" <trac+core@zinfandel.tools.ietf.org>
Thread-Topic: [core] #410 (block): Initial MID on restart after blockwise transfer
Thread-Index: AQHRp5dvDrse8dD2TUSqr2zTL8r+H5+rvqiAgAAvSICABJi9sA==
Date: Mon, 09 May 2016 12:45:55 +0000
Message-ID: <BC36447FF5C62E46BEF3F124D3C1E8925E19BC2E@imbpw2exd01.bosch-si.com>
References: <064.4cbf8d09348a03ec25afdd8a19df82d0@trac.tools.ietf.org> <079.91253355a6c5469f216ec0c7fd810306@trac.tools.ietf.org> <572CBDCB.9090000@tzi.org>
In-Reply-To: <572CBDCB.9090000@tzi.org>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.55.144.103]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.0.0.1202-22310.006
X-TMASE-MatchedRID: B+VEu1exVFdJJDuM6qazTpmug812qIbzwx0jRRxcQfPlY3fh4J0VvjzA K7q1A+IiuGX5AZSrLM1+tcxIlnGhdaiCOW6RkH3YQCg+244Pxtq4IRKvHvCWckdmDSBYfnJRBXb mYqeVw+z2F344+hM7xA6tvAvztRdhoVVi0fhQg53Wmh5xCo4mMCnGh6cFQ6shY8r/ndGdDsXLsL vOp8aQisrfCsxYhUl5cmHAUC91bv1iZyE2UOy4HJGtJGqXJFNbGa8+8BBl2GYS5KhLWFf6k0bNX f9sRezIfG5NkoCquAs6hkzmvV1DhFiz6pt5Pa2rEwyZyuMQ410rtU4v33TxwVHaR5xICCF6TGww xUMNAZS5Nq9Z7+iI4z4lyTZE5tsq5js1tiEJISzf8GJjBXCUiFQQ0EgzIoPRmyiLZetSf8n5kvm j69FXvEl4W8WVUOR/joczmuoPCq3d7bP/BLYr+CrUXimWZk5WvhytpgpcsoMUFaZ79tGu5KTSoF PJBGhd
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/7itUL7D_jDBghZWjPYZ152rQvoE>
Cc: "draft-ietf-core-block@tools.ietf.org" <draft-ietf-core-block@tools.ietf.org>, "core@ietf.org" <core@ietf.org>
Subject: Re: [core] #410 (block): Initial MID on restart after blockwise transfer
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 09 May 2016 12:46:05 -0000

Hi Carsten,

> Can you be a bit more specific about the scenario?

> So maybe your scenario is one where the node fetches the new firmware from a hub per block-wise GET, then restarts, and then tries to talk to the same hub (using the same port number) right after restart?

Yes, your right, that's the case. I tried to test a "LWM2M Firmware Update" using a "package URI" pointing back to the same LWM2M server, so that the note uses a block-wise (CON GET requests) to transfer the firmware. Short later the note tries to register after a restart (CON PUT request).   

> I don't think it is really entirely specific to block-wise transfers (the firmware fetch process might just be using another way to do the bulk transfer).

My intent to mention the block-wise transfer was, that it "consumes naturally more MIDs" then “usually traffic”, and therefore it’s one the ingredients of the situation.

Mit freundlichen Grüßen / Best regards

Achim Kraus

Bosch Software Innovations GmbH
Communications (INST/ESY1)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com 

achim.kraus@bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn



-----Ursprüngliche Nachricht-----
Von: Carsten Bormann [mailto:cabo@tzi.org] 
Gesendet: Freitag, 6. Mai 2016 17:53
An: trac+core@zinfandel.tools.ietf.org
Cc: draft-ietf-core-block@tools.ietf.org; Kraus Achim (INST/ESY1); core@ietf.org
Betreff: Re: [core] #410 (block): Initial MID on restart after blockwise transfer

Hi Achim,

thank you for this observation!

Can you be a bit more specific about the scenario?

If I imagine a hub/server doing a firmware upgrade on a node via PUT (as in LWM2M), the selection of the MIDs is on the hub side, which is not the one that gets restarted by the firmware upgrade.

So maybe your scenario is one where the node fetches the new firmware from a hub per block-wise GET, then restarts, and then tries to talk to the same hub (using the same port number) right after restart?

I think this scenario would make great content for section 2.3 or 3.5 of lwig-coap.  I don't think it is really entirely specific to block-wise transfers (the firmware fetch process might just be using another way to do the bulk transfer).

(While we are talking about firmware upgrades, here's a pertinent pointer:
https://down.dsg.cs.tcd.ie/iotsu/
Just two weeks left before the submission deadline...)

Grüße, Carsten