KW Avaya IP Telephony Implementation Guide
19
G.711 20-ms call over Ethernet = 90.4kbps
G.711 30-ms call over Ethernet = 81.6kbps
G.726 20-ms call over Ethernet = 58.4kbps
G.726 30-ms call over Ethernet = 49.1kbps
G.729 20-ms call over Ethernet = 34.4kbps
G.729 30-ms call over Ethernet = 25.6kb
s
G.729 20-ms call over PPP = 26.8kbps
G.726 20-ms call over PPP = 50.8kbps
G.729 20-ms call over 14-B L2 = 29.6kbps
G.726 20-ms call over 14-B L2 = 53.6kbps
Figure 11: IP/UDP/RTP overhead
To this point the calculation is simple. Add up the voice payload and overhead per packet, and multiply
by the number of packets per second. Here are the calculations for a G.711 and a G.729 call, both using
20-ms packets. (Remember that there are 8 bits per byte.)
G.711: (160B voice payload + 40B overhead)/packet * 8b/B * 50 packets/s = 80kbps
G.726: (80B Voice payload + 40B overhead/packet *8b/B * 50 packets/s = 48kbps
G.729: (20B voice payload + 40B overhead)/packet * 8b/B * 50 packets/s = 24kbps
The calculations above do not include the L2 encapsulation overhead. L2 overhead must be added to the
bandwidth calculation, and this varies with the protocol being used (Ethernet, PPP, HDLC, ATM, Frame
Relay, etc).
L2
header
IP
20 B
UDP
8 B
RTP
12 B
Voice Payload
Variable
L2
trailer
Figure 12: L2 overhead
Ethernet Overhead
Ethernet has a header of 14 bytes and a trailer of 4
bytes. It also has a 7-byte preamble and a 1-byte
start of frame delimiter (SFD), which some
bandwidth calculation tools do not take into
consideration. Nevertheless, the preamble and SFD
consume bandwidth on the LAN, so the total
Ethernet overhead is 26 bytes. When transmitting 20-ms voice packets, the Ethernet overhead equates to
10.4kbps (26 * 8 * 50), which must be added to the 80kbps for G.711, 40kbps for G.726, and 24kbps for
G.729. For full-duplex operation the totals are 90.4kbps for G.711, 50.4kbps for G.726, and 34.4kbps for
G.729. For half-duplex operation these figures are at least doubled, but effectively the load is higher due
to the added overhead of collisions.
WAN Overhead
The WAN overhead is calculated just like the Ethernet overhead, by determining the size of the L2
encapsulation and figuring it into the calculation. L2 headers and trailers vary in size with the protocol
being used, but they are typically much smaller than the Ethernet header and trailer. For example, the
PPP overhead is only 7 bytes. However, to allow for a high margin of error, assume a 14-byte total L2
encapsulation size, which would add an overhead of 5.6kbps (14 * 8 * 50), assuming 20-ms voice
packets. This would result in approximately 43kbps
for G.726 and 30kbps for G.729 over a WAN link.
Significant bandwidth savings are realized by using a
compressed codec (G.729 recommended) across a
WAN link. Note that in today’s data networks most, if
not all, WAN links are full duplex.
L3 Fragmentation (MTU)
Related to bandwidth, there are two other factors that must be considered for operation across WAN links,
and they both involve fragmentation. The first factor, maximum transmission unit (MTU), involves
fragmenting the layer 3 (L3) payload. The MTU is the total size of the L3 packet (IP header + IP
payload), which is 200 bytes for G.711 and 60 bytes for G.729 (assuming 20-ms voice packets). If the
MTU on an interface is set below these values the IP payload (UDP + RTP + voice payload) must be
fragmented into multiple IP packets, each packet incurring the 20-byte IP overhead. For example,