cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
2
Replies

cRTP - efficiency improvement factor

tjoliveira
Level 1
Level 1

Hi.

Can anyone tell me what exactly is the “efficiency improvement factor” stated by the “show policy-map interface XPTO” and what are the circumstances that affect it? Wasn't it supposed to be some kind of a deterministic value?

One small example: In a two voice site configuration if I connect two routers back to back I get ~2.29 but if I place a router between the two (doing routing, emulating a backbone) it lows to 1.4.

Thanks in advance.

Best regards,

Telmo Oliveira

CCNA, CCDA, CCNP, CCDP, R&S Specialist

2 Replies 2

dgahm
Level 8
Level 8

The efficiency improvement factor is the ratio of total bytes to be sent pre-compression to the bytes actually sent. So if the router had 50,000 bytes to send, and the compression reduced that to 25,0000 bytes actually sent, then the ratio would be 2.

The display shows bytes saved and bytes sent, so you need to add the 2 together then divide by bytes saved to get the efficiency improvement factor. In my example bytes saved would be 25,000 and bytes sent would be 25,000.

RTP header compression is on a link by link basis. You must configure it on both ends of each link. The efficiency improvement factor on each link should not be affected by the number of routers in the path between 2 endpoints.

I have frame relay links running rtp header compression with G729 codec calls. The efficiency improvement factor shows 2.71 on all links. Each uncompressed packet has an IP header of 20 bytes, an UDP/RTP header of 20 bytes,and 20 bytes payload for a total 60 bytes. Compression reduces the header to 4-5 bytes, so the 60 becomes 24 for a calculated improvement factor of 2.5. Including the frame header drops it down to to 2.38. Not sure why the router says it does a bit better, but the calculation comes pretty close.

Hi again. Thanks for the answer.

Is there any reason (other than some IOS mismatch or bug) for having 1.4 when I put a third router (emulating a backbone)? In a two router cenario the RTP would only be compressed one time but with three routers it will be compressed at the source, decompressed at the backbone in the interface connectig the source router, compressed again in the egress to the destination router and decompressed at the destination router.

I allways looked at the bandwith gain of using cRTP as something deterministic...

Best regards,

Telmo Oliveira