Re: [6lo] [IANA #1200929] expert review for draft-irtf-icnrg-icnlowpan-10

2021-09-23 Thread Pascal Thubert (pthubert)
Hello Cenk

Superb!

This leaves unallocated space for future work. We can still write somewhere 
that this page is reserved for NDN so you can add stuff in the future with no 
page switch.

Very cool.

Pascal

Le 23 sept. 2021 à 12:42, Cenk Gündoğan 
 a écrit :

Hello Pascal,

thanks for your helpful input.  I was able to squeeze out a bit for CCNx
messages by not encoding the version field and always relying on the
version number to be "1" (as mandated by RFC8609 [1]).  6LoWPAN follows
a similar philosophy [2].  I guess any serious protocol update may
require big changes on the compression scheme anyways.

If you are okay with the current allocations (diff: [3]), then I would
carry this change back to the icnrg mail list and initiate a version
update on positive feedback.

Cheers,
Cenk

[1] https://datatracker.ietf.org/doc/html/rfc8609#section-3.2
[2] https://datatracker.ietf.org/doc/html/rfc6282#section-3
[3] 
https://tools.ietf.org//rfcdiff?url1=draft-irtf-icnrg-icnlowpan-10=https://inet.haw-hamburg.de/tmp/draft-irtf-icnrg-icnlowpan-11.txt/@@download/file/draft-irtf-icnrg-icnlowpan-11.txt

On Thu, Sep 23 2021 at 10:19 +0200, Cenk Gündoğan wrote:

[[PGP Signed Part:Undecided]]
Hello Pascal,

the compressed NDN Interest + compressed NDN Data message dispatches
have a few RSV bits.  Fixing the prefix on 4 bits might work for them.
For the compressed CCNx Content Object message it already works since we
removed the RSV bit in the proposed solution.

Currently, the compressed CCNx Interest message dispatch consumes two
full octets and has no RSV bits left.  That's the source of the
asymmetry.  I'll have a look at that particular section to see if we can
optimize something there and will report again.

Thanks,
Cenk

On Thu, Sep 23 2021 at 07:31 +, Pascal Thubert (pthubert) wrote:

Hello Amanda;

The current draft has this:

   +-+--+---+
   | Bit Pattern | Page | Header Type   |
   +-+--+---+
   |  00 00  | TBD1 | Uncompressed NDN Interest messages|
   |  00 10  | TBD1 | Uncompressed NDN Data messages|
   |  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
   |  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
   |  10 0x  | TBD1 | Compressed NDN Interest messages  |
   |  10 1x  | TBD1 | Compressed NDN Data messages  |
   |  11 0x  | TBD1 | Compressed CCNx Interest messages |
   |  11 1x  | TBD1 | Compressed CCNx Content Object messages   |
   +-+--+---+

The Uncompressed form has the 4 rightmost bits set to 0 while the compressed 
has them x.
Which leaves lots of unassigned space un the Uncompressed range.

This simple proposal seems to break the symmetry of compressed forms.


   |  10 0x  | TBD1 | Compressed NDN Interest messages  |
   |  10 1x  | TBD1 | Compressed NDN Data messages  |
   |  10 0x  | TBD1 | Compressed CCNx Interest messages |
   |  11 10  | TBD1 | Compressed CCNx Content Object messages   |

Maybe 4 bits is sufficient in all compressed forms? If so we can do better:

   +-+--+---+
   | Bit Pattern | Page | Header Type   |
   +-+--+---+
   |  00 00  | TBD1 | Uncompressed NDN Interest messages|
   |  00 01  |  |   |
   |...  |  |  Unassigned   |
   |  00 00  |  |   |
   |  00 01  | TBD1 | Compressed NDN Interest messages  |
   |  00 10  | TBD1 | Uncompressed NDN Data messages|
   |  00 11  |  |   |
   |...  |  |  Unassigned   |
   |  00 10  |  |   |
   |  00 11  | TBD1 | Compressed NDN Data messages  |
   |  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
   |  01 01  |  |   |
   |...  |  |  Unassigned   |
   |  01 00  |  |   |
   |  01 01  | TBD1 | Compressed CCNx Interest messages |
   |  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
   |  01 11  |  |   |
   |...  |  |  Unassigned   |
   |  01 10  |  |   |
   |  01 11  | TBD1 | Compressed CCNx Content Object messages   |
   +-+--+---+

Works?

Pascal

This leaves 

Re: [6lo] [IANA #1200929] expert review for draft-irtf-icnrg-icnlowpan-10

2021-09-23 Thread Cenk Gündoğan
Hello Pascal,

thanks for your helpful input.  I was able to squeeze out a bit for CCNx
messages by not encoding the version field and always relying on the
version number to be "1" (as mandated by RFC8609 [1]).  6LoWPAN follows
a similar philosophy [2].  I guess any serious protocol update may
require big changes on the compression scheme anyways.

If you are okay with the current allocations (diff: [3]), then I would
carry this change back to the icnrg mail list and initiate a version
update on positive feedback.

Cheers,
Cenk

[1] https://datatracker.ietf.org/doc/html/rfc8609#section-3.2
[2] https://datatracker.ietf.org/doc/html/rfc6282#section-3
[3] 
https://tools.ietf.org//rfcdiff?url1=draft-irtf-icnrg-icnlowpan-10=https://inet.haw-hamburg.de/tmp/draft-irtf-icnrg-icnlowpan-11.txt/@@download/file/draft-irtf-icnrg-icnlowpan-11.txt

On Thu, Sep 23 2021 at 10:19 +0200, Cenk Gündoğan wrote:

> [[PGP Signed Part:Undecided]]
> Hello Pascal,
>
> the compressed NDN Interest + compressed NDN Data message dispatches
> have a few RSV bits.  Fixing the prefix on 4 bits might work for them.
> For the compressed CCNx Content Object message it already works since we
> removed the RSV bit in the proposed solution.
>
> Currently, the compressed CCNx Interest message dispatch consumes two
> full octets and has no RSV bits left.  That's the source of the
> asymmetry.  I'll have a look at that particular section to see if we can
> optimize something there and will report again.
>
> Thanks,
> Cenk
>
> On Thu, Sep 23 2021 at 07:31 +, Pascal Thubert (pthubert) wrote:
>
>> Hello Amanda;
>>
>> The current draft has this:
>>
>> +-+--+---+
>> | Bit Pattern | Page | Header Type   |
>> +-+--+---+
>> |  00 00  | TBD1 | Uncompressed NDN Interest messages|
>> |  00 10  | TBD1 | Uncompressed NDN Data messages|
>> |  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
>> |  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
>> |  10 0x  | TBD1 | Compressed NDN Interest messages  |
>> |  10 1x  | TBD1 | Compressed NDN Data messages  |
>> |  11 0x  | TBD1 | Compressed CCNx Interest messages |
>> |  11 1x  | TBD1 | Compressed CCNx Content Object messages   |
>> +-+--+---+
>>
>> The Uncompressed form has the 4 rightmost bits set to 0 while the compressed 
>> has them x.
>> Which leaves lots of unassigned space un the Uncompressed range.
>>
>> This simple proposal seems to break the symmetry of compressed forms.
>>
>>
>> |  10 0x  | TBD1 | Compressed NDN Interest messages  |
>> |  10 1x  | TBD1 | Compressed NDN Data messages  |
>> |  10 0x  | TBD1 | Compressed CCNx Interest messages |
>> |  11 10  | TBD1 | Compressed CCNx Content Object messages   |
>>
>> Maybe 4 bits is sufficient in all compressed forms? If so we can do better:
>>
>> +-+--+---+
>> | Bit Pattern | Page | Header Type   |
>> +-+--+---+
>> |  00 00  | TBD1 | Uncompressed NDN Interest messages|
>> |  00 01  |  |   |
>> |...  |  |  Unassigned   |
>> |  00 00  |  |   |
>> |  00 01  | TBD1 | Compressed NDN Interest messages  |
>> |  00 10  | TBD1 | Uncompressed NDN Data messages|
>> |  00 11  |  |   |
>> |...  |  |  Unassigned   |
>> |  00 10  |  |   |
>> |  00 11  | TBD1 | Compressed NDN Data messages  |
>> |  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
>> |  01 01  |  |   |
>> |...  |  |  Unassigned   |
>> |  01 00  |  |   |
>> |  01 01  | TBD1 | Compressed CCNx Interest messages |
>> |  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
>> |  01 11  |  |   |
>> |...  |  |  Unassigned   |
>> |  01 10  |  |   |
>> |  01 11  | TBD1 | Compressed CCNx Content Object messages   |
>> +-+--+---+
>>
>> Works?
>>
>> Pascal
>>
>> This leaves unassigned space 
>>

Re: [6lo] [IANA #1200929] expert review for draft-irtf-icnrg-icnlowpan-10

2021-09-23 Thread Pascal Thubert (pthubert)
Hello Amanda;

The current draft has this:

+-+--+---+
| Bit Pattern | Page | Header Type   |
+-+--+---+
|  00 00  | TBD1 | Uncompressed NDN Interest messages|
|  00 10  | TBD1 | Uncompressed NDN Data messages|
|  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
|  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
|  10 0x  | TBD1 | Compressed NDN Interest messages  |
|  10 1x  | TBD1 | Compressed NDN Data messages  |
|  11 0x  | TBD1 | Compressed CCNx Interest messages |
|  11 1x  | TBD1 | Compressed CCNx Content Object messages   |
+-+--+---+

The Uncompressed form has the 4 rightmost bits set to 0 while the compressed 
has them x.
Which leaves lots of unassigned space un the Uncompressed range.

This simple proposal seems to break the symmetry of compressed forms.


|  10 0x  | TBD1 | Compressed NDN Interest messages  |
|  10 1x  | TBD1 | Compressed NDN Data messages  |
|  10 0x  | TBD1 | Compressed CCNx Interest messages |
|  11 10  | TBD1 | Compressed CCNx Content Object messages   |

Maybe 4 bits is sufficient in all compressed forms? If so we can do better:

+-+--+---+
| Bit Pattern | Page | Header Type   |
+-+--+---+
|  00 00  | TBD1 | Uncompressed NDN Interest messages|
|  00 01  |  |   |
|...  |  |  Unassigned   |
|  00 00  |  |   |
|  00 01  | TBD1 | Compressed NDN Interest messages  |
|  00 10  | TBD1 | Uncompressed NDN Data messages|
|  00 11  |  |   |
|...  |  |  Unassigned   |
|  00 10  |  |   |
|  00 11  | TBD1 | Compressed NDN Data messages  |
|  01 00  | TBD1 | Uncompressed CCNx Interest messages   |
|  01 01  |  |   |
|...  |  |  Unassigned   |
|  01 00  |  |   |
|  01 01  | TBD1 | Compressed CCNx Interest messages |
|  01 10  | TBD1 | Uncompressed CCNx Content Object messages |
|  01 11  |  |   |
|...  |  |  Unassigned   |
|  01 10  |  |   |
|  01 11  | TBD1 | Compressed CCNx Content Object messages   |
+-+--+---+

Works?

Pascal

This leaves unassigned space 

> -Original Message-
> From: Amanda Baber via RT 
> Sent: mercredi 22 septembre 2021 19:30
> Cc: Eric Vyncke (evyncke) ; ek.i...@gmail.com;
> carle...@entel.upc.edu; shwetha.bhand...@gmail.com; Pascal Thubert
> (pthubert) ; robert.cra...@gridmerge.com; 6lo@ietf.org
> Subject: [IANA #1200929] expert review for draft-irtf-icnrg-icnlowpan-10
> 
> Hi,
> 
> IANA has been asked to notify the 6lo group and the authors of RFC 8025 as
> well as the IESG-designated experts that the authors of draft-irtf-icnrg-
> icnlowpan-10 (and the RG) have accepted a proposed change to an assignment
> in that document.
> 
> Carles and Shwetha, can you confirm that we can move forward with this
> registry update?
> 
> The issue is that Table 2 in https://datatracker.ietf.org/doc/html/draft-
> irtf-icnrg-icnlowpan is currently instructing IANA to make this
> registration in the Dispatch Type Field registry (we understand that this
> "TBD1" should be page 14):
> 
> 11 1x | TBD1 | Compressed CCNx Content Object messages
> 
> However, 11 11 has already been assigned to "Page switch" for pages 0-
> 15:
> 
> https://www.iana.org/assignments/_6lowpan-parameters
> 
> This is the solution suggested by the experts and accepted by the authors:
> 
> =
> 
> One simple solution could be as follows:
> 
> OLD:
> 11 1x | TBD1 | Compressed CCNx Content Object messages
> 
> NEW:
> 11 10 | TBD1 | Compressed CCNx Content Object messages
> 
> A drawback of this solution is that it reduces the space of this type of
> messages (from 32 options to 16 options, for this specific type of
> messages), but perhaps it could be sufficient.
> 
> =
> 
> The authors write, "The simple solution provided by the designated experts
> is sufficient. The