Are compressor and no of contexts tightly coupled?

Asked by BHASKAR TILAK

What I want to do is, have multiple (100K) SourceIPs talking to (100K) Dest IPs and I am limited by the contexts supplied by Comp/Decomp, even when I use LARGE_CID format.

So current implementation has table of MAX_CID contexts per Comp-Decmp and not IP based.
I might have to decouple the context-compressor binding and have context-db as a separate db?

Is my understanding correct?

Thanks,
- Bhaskar

Question information

Language:
English Edit question
Status:
Answered
For:
rohc Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Didier Barvaux (didier-barvaux) said :
#1

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

Can you help with this problem?

Provide an answer of your own, or ask BHASKAR TILAK for more information if necessary.

To post a message you must log in.