← Back to team overview

rohc team mailing list archive

Re: [Question #403983]: Are compressor and no of contexts tightly coupled?

 

Question #403983 on rohc changed:
https://answers.launchpad.net/rohc/+question/403983

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

The maximum number of contexts that a (de)compressor can handle is
limited by the MAX_CID constant. The greatest MAX_CID possible value is
16383 [1], giving you 16384 different possible contexts. This is a hard
limit defined by the ROHC protocol.

If you are implementing some router or gateway that shall handle the
streams of 100K different customers, you might want to initiate one
(de)compressor per client (identified by their source IP address for
example). That way, every customer get up to 16384 streams and you get
up to 1,638,400 streams in total.

Regards,
Didier

[1] https://tools.ietf.org/html/rfc3095#section-5.1.1

-- 
You received this question notification because your team ROHC Team is
an answer contact for rohc.