[rohc] decompression code announcement (was RE: Default decompression algorithms)

zhigang.c.liu@nokia.com Tue, 26 February 2002 18:32 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15042 for <rohc-archive@odin.ietf.org>; Tue, 26 Feb 2002 13:32:49 -0500 (EST)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA09638; Tue, 26 Feb 2002 13:26:43 -0500 (EST)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA09607 for <rohc@optimus.ietf.org>; Tue, 26 Feb 2002 13:26:41 -0500 (EST)
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14772 for <rohc@ietf.org>; Tue, 26 Feb 2002 13:26:38 -0500 (EST)
From: zhigang.c.liu@nokia.com
Received: from esvir02nok.ntc.nokia.com (esvir02nokt.ntc.nokia.com [172.21.143.34]) by mgw-x2.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id g1QIQnZ05352 for <rohc@ietf.org>; Tue, 26 Feb 2002 20:26:49 +0200 (EET)
Received: from esebh003.NOE.Nokia.com (unverified) by esvir02nok.ntc.nokia.com (Content Technologies SMTPRS 4.2.5) with ESMTP id <T5950884fc8ac158f22076@esvir02nok.ntc.nokia.com> for <rohc@ietf.org>; Tue, 26 Feb 2002 20:26:39 +0200
Received: from daebh001.NOE.Nokia.com ([172.18.242.231]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 26 Feb 2002 20:26:39 +0200
Received: from daebe005.NOE.Nokia.com ([172.18.242.203]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.2966); Tue, 26 Feb 2002 12:25:37 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Date: Tue, 26 Feb 2002 12:25:36 -0600
Message-ID: <DE0842B293FC4847992F9EDF8D72E1ED24A267@daebe005.NOE.Nokia.com>
Thread-Topic: decompression code announcement (was RE: Default decompression algorithms)
Thread-Index: AcG+8vwcEFQ8fyqjEdaaLwAQpIbXLw==
To: <rohc@ietf.org>
X-OriginalArrivalTime: 26 Feb 2002 18:25:37.0213 (UTC) FILETIME=[FC95E6D0:01C1BEF2]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by optimus.ietf.org id NAA09608
Subject: [rohc] decompression code announcement (was RE: Default decompression algorithms)
Sender: rohc-admin@ietf.org
Errors-To: rohc-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Robust Header Compression <rohc.ietf.org>
X-BeenThere: rohc@ietf.org
Content-Transfer-Encoding: 8bit

Hi,

Below is a quick write-up I promised earlier. Comments welcome.

BR,
Zhigang

=============================================================

Decompression code announcement
-------------------------------

During normal SigComp operation, a compressor needs to
send the decompression code consisting of UDVM instructions
to its peer decompressor before any message can be decompressed.
The overhead of sending the code may be undesirable in wireless
environment, which is the major application of SigComp.
Following outlines an optimization that reduces such overhead.

1) It is assumed that a compressor (or application) contacts 
its peer decompressor (or application) before applying SigComp
to compress messages, e.g., during negotiation of the use of
SigComp. (See note c).)

2) When the decompressor (or application) replies to the compressor,
it can piggyback in the message a list of hash values of the 
decompression codes it already has (see note b) below).

3) Upon receiving such a list, the compressor compares the hash
values in the list with the one of the decompression code it wants
the decompressor to use. If a match is found (i.e. it's a hit), the 
compressor no longer needs to upload the code to the decompressor. 
If no match is found or the compressor would rather use a different 
decompression code, it will upload the code to the decompressor.

4) The decompression code announcement may contain empty list. 

Notes:

a) The decompressor may have a piece of decompression code in different
ways. Case 1 is that a decompressor supports a set of well-know 
algorithms whose decompression codes are documented. It can store the 
codes locally hoping the peer compressor is likely to use one of them. 
Case 2 is that a decompressor (e.g. in P-CSCF in 3GPP) may actively engaged
with multiple compressors (e.g. in mobiles) that use the same decompression 
code. Therefore, once the decompressor acquires one copy of the code
from one compressor, it can use the code announcement to avoid redundant
code uploading from other compressors later.

b) The hash value could be the constructed using the first n bytes of
MD5 hash over the decompression code. n should be large enough so that
collision probability is negligible in practice.

c) For step 2 above, the decompression code announcement could be done
in other ways, e.g. out-of-band or in a pre-configured way. Basically, 
it can be bundled together with the SigComp negotiation/discovery 
mechanism to avoid additional round trip delay.

d) In any case, if compressor does not expect a message from its
peer decompressor as it is assumed in step 1, it should always 
follow the default procedure to upload the decompression code. 

e) Obviously, the mechanism gives benefits only when the hit probability
is high. If a decompressor is not confident about that, it can always
send empty list in the announcement or does not send the announcement
at all if the compressor does not expect its message.
=====================================================================

_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www1.ietf.org/mailman/listinfo/rohc