Re: [6lo] Comparison of 6lo-rpl drafts
"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 18 September 2014 08:40 UTC
Return-Path: <pthubert@cisco.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E95FA1A8027; Thu, 18 Sep 2014 01:40:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.152
X-Spam-Level:
X-Spam-Status: No, score=-16.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.652, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 0feNDyCXr-ZL; Thu, 18 Sep 2014 01:40:40 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C48271A6FBB; Thu, 18 Sep 2014 01:40:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19046; q=dns/txt; s=iport; t=1411029640; x=1412239240; h=from:to:cc:subject:date:message-id:references: mime-version; bh=EgnN99SgUbPPcz/lwZTtciW9Au0wgjESvnuLvmzIOwk=; b=HzPBOzUNWWcj0UzyoF54m3pXoMsjqF/eOpRaeArUb5V7FYa2arpSdXSQ 9GUWLN2wrBGKaJIcX9SSv27AE8ddggviiTL/9Xa/Ze5Brkmq37byHve33 0lUhHXT12Ub07WG95DK3E38wOfYUxKdrAJAMgoQKwuwE4FaVYCq8+467R g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjUFACOaGlStJA2I/2dsb2JhbABhgkdGU1cE0QcBgQoWAXmEAwEBAQMBLUwFBwQCAQgOAwQBAQsdBzIUCQgCBAENBQgSAYgbCKwBlD4BF49GMQ2DKIEdBYsEhkqhBoFnHoFZbIFIgQIBAQE
X-IronPort-AV: E=Sophos;i="5.04,545,1406592000"; d="scan'208,217";a="356207349"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-3.cisco.com with ESMTP; 18 Sep 2014 08:40:39 +0000
Received: from xhc-aln-x06.cisco.com (xhc-aln-x06.cisco.com [173.36.12.80]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s8I8ecrJ016365 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 18 Sep 2014 08:40:38 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.174]) by xhc-aln-x06.cisco.com ([173.36.12.80]) with mapi id 14.03.0195.001; Thu, 18 Sep 2014 03:40:38 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Carsten Bormann <cabo@tzi.org>, Martin Turon <mturon@nestlabs.com>
Thread-Topic: [6lo] Comparison of 6lo-rpl drafts
Thread-Index: AQHP0fEA45rOaH5h9EilpQ4nIux9ypwGi51ggAAGZZA=
Date: Thu, 18 Sep 2014 08:40:37 +0000
Deferred-Delivery: Thu, 18 Sep 2014 08:40:00 +0000
Message-ID: <E045AECD98228444A58C61C200AE1BD842DC9C07@xmb-rcd-x01.cisco.com>
References: <CAH=LnKQDPf_-Tw7BODF03PKYkLXjLCSR9RAtd-x9-ha-c80Hrg@mail.gmail.com> <037472BD-E257-4561-8A07-988039DD4641@nestlabs.com> <FA5DEFD9-A8A3-4A75-8410-F3A0757BA377@tzi.org>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.171.169]
Content-Type: multipart/alternative; boundary="_000_E045AECD98228444A58C61C200AE1BD842DC9C07xmbrcdx01ciscoc_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/6lo/3LOpJmN09AEIc2UygUnAXyBxxZc
Cc: "6tisch@ietf.org" <6tisch@ietf.org>, "6lo@ietf.org" <6lo@ietf.org>
Subject: Re: [6lo] Comparison of 6lo-rpl drafts
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Sep 2014 08:40:44 -0000
Typo below, please read: > I picked position 1, because we need 3 bits for RPL, TWO bitS for the > proposed compression format, and then one bit for the NH flag. Proposed rpl-nhc: 0 1 2 3 4 5 6 7 +---+---+---+---+---+---+---+---+ | 1 | 0 | I | K | O | R | F |NH | +---+---+---+---+---+---+---+---+ Classical 6lowpan-nhc: 0 1 2 3 4 5 6 7 +---+---+---+---+---+---+---+---+ | 1 | 1 | 1 | 0 | EID |NH | +---+---+---+---+---+---+---+---+ Classical udp-nhc: 0 1 2 3 4 5 6 7 +---+---+---+---+---+---+---+---+ | 1 | 1 | 1 | 1 | 0 | C | P | +---+---+---+---+---+---+---+---+ Cheers, Pascal > -----Original Message----- > From: Pascal Thubert (pthubert) > Sent: jeudi 18 septembre 2014 10:27 > To: 'Carsten Bormann'; Martin Turon > Cc: 6tisch@ietf.org; 6lo@ietf.org > Subject: RE: [6lo] Comparison of 6lo-rpl drafts > > Hello Carsten and Martin; > > One thing we need to be very clear on is the way LOWPAN_NHC works in > 6282. That's very different from the dispatch type for instance. > > You have a sequence on 1's followed by a 0. The number of 1's tell you what > the LOWPAN_NHC type is. The bits after the first 0 are used for the specific > use of that NHC. > > With three 1's (first 0 at position 3, that is the fourth bit) the NHC an > enumeration if classical NHCs, used to enable the compression of whatever > comes after (eg UDP) without saving anything on that particular header. > With four 1's (first 0 at position 4) the NHC is UDP. We picked it because we > could compress UDP with 3 bits in the LOWPAN_NHC. > Which leaves us with 6 possibilities for the first 0 at positions 0, 1, 2, 5, 6 and > 7. > > I picked one position 1, because we need 3 bits for RPL, one bit for the > proposed compression format, and then one bit for the NH flag. > Because we need to kept the headers bytes-aligned, using a different > encoding would probably lead us to one more octet overall, which would be > very bad news for a 6lo based solution. > > That would leave us with 5 more positions for the future out of a total 8 at > the beginning of times. > > With this clearly in mind, would you suggest a different compression format? > > Pascal > > > > -----Original Message----- > > From: Carsten Bormann [mailto:cabo@tzi.org] > > Sent: mardi 16 septembre 2014 22:59 > > To: Pascal Thubert (pthubert) > > Cc: Tisch; Martin Turon; 6lo@ietf.org<mailto:6lo@ietf.org> > > Subject: Re: [6lo] Comparison of 6lo-rpl drafts > > > > Hi Pascal, > > > > being back in the office, I have now looked at draft-thubert-6lo-rpl-nhc-01. > > Section 4/5 works for me: this is a nicer solution than the one I derived. > > (As with my draft, some additional text is needed to discuss how a hbh > > header that contains a RPL option beside other hbh option(s) is to be > > handled.) > > > > Honestly, I'm not so hot about the verbiage in Section 1/2 of the draft. > > If we could get a draft that just contains the parts that need > > consensus, I could mark draft-bormann-6lo-rpl-mesh-01.txt as > > replaced-by that updated version, removing some of the current > > confusion about the way forward on this. > > > > Using up 1/4 of the RFC 6282 NHC space for the RPL hbh option strikes > > me as expensive, even if we only have used ~ 1/8 of that space yet > > (GHC will need ~ another 1/16). > > (I think this is the essence of Martin's comment, too.) If we want to > > work further on this draft, we should look for ways moving this down > > to, say, 1/8, without unduly increasing complexity. > > E.g., we could get rid of the forwarding-error bit, as that applies to > > storing mode only (we could use one additional NHC code, followed by > > the rest of the NHC code, to indicate a forwarding-error if people > > really think storing mode needs to be kept alive). > > > > Note that we'll need another chunk of the NHC space to compress RFC > > 6554, so the total usage for RPL will be even higher. (I tried to > > initiate the discussion for this with my question whether we need to > > stick with the reversible "segments left" model of RFC 6554 or can > > discard addresses that have been traversed. If nobody has an opinion > > on this, I might want to go ahead and propose something.) > > > > Grüße, Carsten
- [6lo] Fwd: Comparison of 6lo-rpl drafts Martin Turon
- Re: [6lo] [6tisch] Fwd: Comparison of 6lo-rpl dra… Xavier Vilajosana
- Re: [6lo] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] [6tisch] Fwd: Comparison of 6lo-rpl dra… Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Fwd: Comparison of 6lo-rpl dra… Carsten Bormann
- Re: [6lo] [6tisch] Fwd: Comparison of 6lo-rpl dra… Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Fwd: Comparison of 6lo-rpl dra… Carsten Bormann
- Re: [6lo] Fwd: Comparison of 6lo-rpl drafts Abdussalam Baryun
- Re: [6lo] Fwd: Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] Comparison of 6lo-rpl drafts Martin Turon
- Re: [6lo] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] Comparison of 6lo-rpl drafts Martin Turon
- Re: [6lo] Comparison of 6lo-rpl drafts Martin Turon
- Re: [6lo] Comparison of 6lo-rpl drafts Pascal Thubert (pthubert)
- Re: [6lo] [6tisch] Comparison of 6lo-rpl drafts Carsten Bormann
- Re: [6lo] Fwd: Comparison of 6lo-rpl drafts Michael Richardson