Metro Ethernet has simplified the deployment of enterprise Wide Area Networks (WANs) and reduced access and transport costs. Even so, traditional point-to-point circuits continue to play a significant role in enterprise networks in the 21st century. As a result, technologies have emerged to apply the simplicity and economy of Ethernet to the issue of private lines with dedicated bandwidth. Circuit Emulation Services (CES) and Pseudowire Emulation (PWE) have emerged as methods for carrying Time Division Multiplexing (TDM) circuits over a packet-switched network (PSN).
The benefits of transporting TDM over Ethernet are compelling. The CapEx and OpEx required to support TDM services can be lowered by reducing the cost and complexity of the equipment and by simplifying provisioning and troubleshooting. The solution benefits both top line and bottom line, driving sales with integrated services and reducing costs. It creates a sustainable business model for carriers, allowing them to offer a full range of communications and services, including end-to-end TDM services for enterprise, backhaul for wireless transport, or TDM access with interworking between Ethernet, Frame Relay and ATM. Cost savings can translate into price relief, easing budget pressure for customers.
The benefits and applications for CES all depend on the delivery of a low-delay, low-jitter signal over Ethernet. Anue Network Emulators allow test engineers to introduce realistic network conditions in a controlled and repeatable fashion to predict performance in actual networks. The Technology Several organizations address standards for circuit emulation, including the Internet Engineering Task Force, the Metro Ethernet Forum, the MFA (MPLS, Frame Relay, ATM) Forum and the International Telecommunications Union. Solutions address encapsulation of Nx64, T1, E1, T3, E3, OC-3, STM-1, OC-12 and STM-4 lines for transmission across IP, MPLS and pure-Ethernet. The public switched telephone network (PSTN) was built based on time division multiplexing.
• The analog signals from the phone are byte sampled 8,000 times per second, producing a 64 kbps digital signal, called a DS0 circuit. (8 bits X 8,000 samples = 64,000 bits.)
• Twenty-four DS0 circuits are grouped together in time slots to form a DS1 (or T1) circuit of 1.544 mbps. (64 kbps X 24 lines = 1536 kbps + 8 kbps framing and signaling = 1544 kbps.)
• Twenty-eight DS1 circuits are grouped to form a DS3 circuit of 44.736 mbps. (1.544 mbps X 28 DS1-circuits = 43.232 mbps + 1.504 mbps framing and signaling – 44.736 mbps.)
• A DS3 circuit is encapsulated in SONET framing to form an STS-1 circuit of 51.84 mbps.
• Three STS-1 circuits are grouped to form an STS-3 circuit of 155.52 mbps.
• Twelve STS-1 circuits are grouped to form an STS-12 circuit of 622.08 mbps. These circuits are transmitted synchronously, i.e. as a continuous stream of bits controlled by a common clock. As a result the delay is low and exhibits minimal variation.
In a T1, every DS0 has 64 kbps of bandwidth available to it at all times, whether it is in use or not. The good news is that it can always carry the 8,000 samples per second required to support a phone conversation regardless of what is happening on the other channels. (Guaranteed bandwidth and performance.) The bad news is that the bandwidth is not available for other uses when no phone conversation is taking place. (Inefficient use of bandwidth.) The packet-switched network, on the other hand, uses a shared medium to transmit data on demand. Packets are transmitted asynchronously, i.e. they are transmitted as required and bit-timing is synchronized per message, not based on a system clock. Idle applications don’t reserve bandwidth that can be used by other applications. The result is a more efficient use of the network, but also the increased likelihood for contention during peak usage times. Buffering to manage contention can introduce highly variable delay and occasional packet loss.
Circuit Emulation Service (CES) is the process of transmitting TDM signals on a PSN transparently. At the source, TDM frames are converted to packets and transported in the core as packets. The packets are converted back to TDM frames at the destination, since the endpoints use traditional TDM equipment. CES involves:
1. Encapsulating data into packets.
2. Delivering synchronous timing information across the asynchronous PSN.
3. Ensuring that the packets are delivered with the low levels of loss and jitter required by TDM networks.
ES performance is affected directly or indirectly by four main characteristics of the packet network:
• packet loss
• packet mis-order
• packet network latency
• packet delay variation (PDV), also known as packet jitter
Since TDM is typically used to carry voice or video, disruption to the signal caused by conditions found in packet networks can have a significant effect on the user experience. Dropped voice/video frames are obvious listener/viewer as cutouts or distortion. High latency and mis-order can result in dropped packets if they don’t arrive before the buffer is transmitted.
Rapid failure protection is a characteristic of SONET networks not typically found in a PSN. If one path in a SONET network fails due to unacceptable bit error rates or loss of signal, the data is switched to an alternate path within 50 milliseconds. PSNs use routing protocols that typically converge on a new network topology in seconds rather than milliseconds, unless using a protocol designed to optimize failover response.
Testing Considerations
CES solutions employ various techniques to compensate for the effect of the PSN on TDM signals.
• Buffers are used to compensate for packet mis-order and PDV. However, since a buffer actually increases the delay in a system, care must be taken to achieve the optimum balance between quality and performance.
• Packet Loss Concealment (PLC) is used to mask the effect of intentionally or unintentionally dropped packets. Simple solutions insert silence or replay the last received frame. Others use algorithms to interpolate values based on the data in the previous and following frames, if available.
• Fast re-route protocols are used to reduce the delay encountered in PSNs when a path fails and route-forwarding tables are updated.
• Some CES standards specify the tracking and reporting of performance metrics and status/alarm indicators to assist in delivering and maintaining an acceptable the level of network performance.
In a Perfect Word: The Performance Baseline. The first step in testing CES is to evaluate it in a test lab under optimum conditions. The infrastructure of the test lab should provide an environment with no packet loss, no packet reorder and minimal delay. As all aspects of the solution are tested, such as packet loss concealment, buffering, or protection failover, the maximum performance limits of the system are determined. These limits establish the baseline which will be used for comparison against the results of tests in a more realistic environment.
Real-World Testing: The Reality Check. CES is not delivered on an ideal network. Packetized TDM signals run in combination with other traffic through multiple devices and across infrastructure that spans significant distances. The result is an environment that presents some level of delay, impairment, and bandwidth limitation, the severity of which depends on how well the network is engineered.
To deliver CES with confidence, test and debugging iterations must be performed under the conditions in which it will actually be deployed, and also under worse conditions to account for equipment failure and disaster conditions. Rather than test on a live network, which is expensive and impractical, real-world testing is achieved by using network emulation in the test lab.
Each of the tests performed during baselining are performed again with a network emulator creating impairments such as packet loss, delay, bit errors, sequence errors or duplication in a controlled fashion. The emulator can also model the effects of high traffic load by constraining available bandwidth. The actual delay, impairment and bandwidth values used are determined by various methods.
Before and After. Features that are susceptible to specific impairments should be baselined and then tested in the presence of the impairments known to affect them. As issues are revealed, troubleshooting uncovers root causes and facilitates the debugging of applications or tuning of network parameters. This iterative process is required to assure robust solutions and minimize support costs.
Buffer size. Buffers are targeted specifically to addressing issues of mis-ordered packets and PDV. Quality or performance scores from the baseline tests should be compared to results as re-order and jitter are applied in a controlled fashion. As breaking points are established, adjustments to buffering can be tested to known values to discover optimum buffer design and configuration.
Packet Loss Concealment Algorithms. PLC is targeted at packet loss. Implementations are tested against multiple loss profiles, from periodic and random loss rates to burst loss events associated with traffic congestion, route failure and route flapping. Performance thresholds are established for each loss profile.
Timing Distribution. Circuit Emulation requires timing signals to be distributed within packets instead of at the physical layer as is done with SONET/SDH. As packets are delayed, dropped or otherwise impaired, timing signals are affected and synchronization can be lost. Synchronization frequency and phase then needs to be recovered.
Failure protection. Since CES is often used for real-time applications such as voice and video, performance of failure protection is important. In addition to validating acceptable fail-over times for loss of signal, error and loss should be ramped up to verify that fail-over is initiated at proper impairment thresholds.
Statistics, status and alarms. A successful CES implementation depends on management of PSN impairments that adversely affect TDM applications. The solution must accurately track and report metrics such as sent/received packets, errored data blocks, errored seconds, packet loss, mis-ordered packets, misconnection, malformed frames, PDV, buffer overruns and underruns, and others. This functionality is tested by introducing the relevant impairments in a controlled fashion and verifying the counters, status and alarm indicators reflect the impairment.
Conclusion
A successful CES solution requires testing under real-world conditions to guarantee that it can provide TDM-like performance by compensating for conditions that occur in IP networks. Using Anue Network Emulators enables engineers to predict application performance, thereby reducing risk, accelerating time to market, and allows deployment with fewer problems and more confidence.