Top Banner
Troubleshooting Voice and Troubleshooting Voice and Video Performance over IP Video Performance over IP using Measurement Tools… using Measurement Tools… Prasad Calyam and Paul Schopis, Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center, ITEC-Ohio, OARnet and Ohio Supercomputer Center, Tools Tutorial, Tools Tutorial, Joint Techs, Salt Lake City, Utah, February 2005 Joint Techs, Salt Lake City, Utah, February 2005
48

Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Dec 13, 2015

Download

Documents

Augusta Bruce
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Troubleshooting Voice and Troubleshooting Voice and Video Performance over IP Video Performance over IP

using Measurement Tools…using Measurement Tools… Prasad Calyam and Paul Schopis,Prasad Calyam and Paul Schopis,ITEC-Ohio, OARnet and Ohio Supercomputer Center, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Tools Tutorial,Tools Tutorial, Joint Techs, Salt Lake City, Utah, February 2005Joint Techs, Salt Lake City, Utah, February 2005

Page 2: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Topics of Discussion

Basics of Voice and Video over IP performance measurementMeasurement Tools we have experimented with…“H.323 Beacon” Tool we have developed!

How is this tool different?Tool FeaturesTwo Case-studies

An Useful H.323 Beacon Tool Supplement!!!Ethereal RTP Analysis Module

Conclusion

Page 3: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Basics of Voice and Video over IP performance measurement

Voice and Video Traffic are inherently different from Data Traffic

They use Signaling protocols such as H.323, SIP, …Media (Voice and Video payload) is delivered over IP using RTP packets irrespective of which codec or end-point technology (PC-based Vs Appliance-based)

General ICMP and UDP based tools fail to totally capture the performance bottlenecks faced by actual voice and video traffic at the end-host and in the network

i.e.- ping, traceroute, Iperf, pathrate, … don’t suffice!We need to measure end-user experience of Voice and Video over IP applications also!

Page 4: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Measuring End-user experience…

Two approaches to evaluating end-user experience of audiovisual quality

Subjective Measurements Involve human participants to rate audiovisual quality Can you hear me now? Mean Opinion Score (MOS) Ranking technique (ITU-T P.800) Not just “Good”!

Objective Measurements Automated techniques to rate audiovisual quality

“E-Model” [ITU-T G.107]Perceptual Evaluation of Speech Quality (PESQ) [ITU-T P.862]

Page 5: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Mean Opinion Score (MOS) Concept

Page 6: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Scenario I: A Researcher and an Industry professional want to Videoconference

Internet2 Abilene Network

GigaPOP

OC2

OC192

What are the end-host and network problems?

Page 7: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Case1:Researcher is unable to make a call!

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 8: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

There was a mis-configured firewall blocking necessary ports…

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 9: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Case2: Industry professional is unable to make a call!

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 10: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

His LAN’s Internet connectivity was non-functional at that time…

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 11: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Case3: They connected, but of them experienced bad audio & video!

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 12: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

There was congestion at one of the intermediate routers along the path…

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 13: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

There was congestion at one of the intermediate routers along the path…

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 14: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

There was congestion at one of the intermediate routers along the path…

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 15: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

The performance problem can be anywhere in the E2E Path!!!

Internet2 Abilene Network

GigaPOP

OC2

OC192

Page 16: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

What are the other common end-to-end performance problems?

Common problems involving endpoint devicesFailure of audio and video hardware, out dated or buggy end-point application softwareFaulty connections and configurations of audio and video interfacesLack of lip-synchronizationMis-configured jitter buffer sizesNon inter-operable end-point application softwareLack of forward error correction and echo cancellation mechanisms in end-point clientsLack of end-user training

Page 17: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Common End-to-End performance problems in VVoIP Systems (2)

Common problems involving network devices Insufficient network capacity for handling multiple high data rate videoconferencing calls

Excessive delay, loss, jitter, out of order packets and re-ordered packets in the network

Duplex mis-match problems

Traffic congestion at peak-usage periods of the network

Mis-configured priorities for real-time audio and video traffic streams in the network

Asymmetric routing with excessive delays on one path

Lack of network engineering resource personnel

Page 18: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Common End-to-End performance problems in VVoIP Systems (3)

Common problems involving application service devices

Misconfigured firewalls that block required ports

Non-H.323 friendly NATs

Misconfigured devices

MCUs

Gatekeeper

Gateway devices

Outdated or buggy application-service device application software

Page 19: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Measurement Tools we have experimented with…

MCU-specific Performance Monitors Per-call monitoring of many network and end-point parameters (delay, jitter, loss, reordering)

Telchemy VQMonBased on E-Model Standard; Integrated into many vendor VoIP troubleshooting products (e.g., Brix Networks, Agilent, etc…)

PESQ Based on PESQ Standard; Used in many products (e.g., Opticom, Acterna, etc…)

Hammer Call AnalyzerPacket Analyzer (Ethereal backend) with many features such as call-flow display, jitter buffer analysis, wave file analysis, etc…

NettachDeveloped originally by PictureTel; Similar to H.323 Beacon where you emulate Voice and Video traffic and measure performance

Many other good tools… (AppareNet, ViDeNet Scout (based on NetIQ Chariot), etc.)

Page 20: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

MCU-specific Performance Monitors

Increased Video Sync Loss!

Page 21: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Telchemy VQMon

Page 22: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

PESQ

SAMPLE RESULTS: REFERENCE DEGRADED PESQMOS PESQMOS original.wav degraded.wav SQValue=2.930 2.930

Page 23: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Hammer Call Analyzer

Taken from- http://www.empirix.com

Page 24: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Nettach

Page 25: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

H.323 Beacon Overview

An application-specific measurement tool To monitor and qualify the performance of H.323 Videoconferencing sessions at the host and in the network (end-to-end)

Useful to an end-user/conference operator/network engineer

Uses OpenH323 and J323Engine libraries

Page 26: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Comparison with other existing tools…

Addresses problems due to H.323 protocol-specific idiosyncrasies

Can be generalized to RTP packets performance over the networkMany in-built tools that generate various kinds of measurement data for pre/during/post Videoconference troubleshooting!

An “easy to install and use” tool that is open source (FREE!)

Commercial tools are VERY expensive!NetIQ Chariot, Spirent Smartbits, Telchemy VQMon,…

Page 27: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Initial call setup failures and haphazard disconnections…

Test Status In-Session, Normal Close, Exception Close

Exception Close Alarms “Possible Firewall/NAT presence obstruction”

“No Internet connectivity”

“Incompatible codec being used”

“Insufficient bandwidth”

“Remote H.323 Beacon Server not online”

Page 28: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Initial call setup failures and haphazard disconnections…

Page 29: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Network Health Status…

Delay, Jitter and Loss data Real-time, offline raw data and test session summary

Page 30: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Network Health Plots…

Watermarks for “Good”, “Acceptable” and “Poor” grade of quality as experienced by end-userDelay: (0-150)ms, (150-300)ms, > 300msJitter: (0-20)ms, (20-50)ms, > 50msLoss: (0-0.5)%, (0.5-1.5)%, >1.5%

Levels obtained from our PAM 2004 paper

Poor

Acceptable

Good

Page 31: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Audio and Video Quality Assessments

Audio and video loopback feature

E-Model-based objective MOS ranking

Slider-based subjective MOS ranking

Page 32: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Customization of tests…

Test results data folder, TCP/UDP/RTP port settings, H.225 and H.245 parameters, preferred codec, watermarks for delay, jitter, loss, …

Page 33: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Use-case I

Effect of a mis-configured firewall on a video stream

Problem report Intermittent frame freezing

Lot of pixilation

No significant audio problems

Sudden disconnections

Page 34: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Use-case I (2)

MCU Software ~15 fps for 384Kbps call and ~0.6% packet loss ~30 fps for 128Kbps call and ~0% packet loss

H.323 Beacon Sluggish call-setup Delayed packet-events Initial jitter variations in poor range

Jitter variations indicated by H.323 Beacon client-to-server test

Increasing the rate-limit and firewall re-configuration solved the problem!

Page 35: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Use-case II

Problem report Poor audio and video reception at the site of user Problem only in the streams from Campus A to Campus B

MCU Software Packet loss (~1%) Packet re-ordering

H.323 Beacon Jitter values consistently in poor range Traceroute and Reverse-Traceroute showed an asymmetric route E-Model results

Campus A to Campus B: 3.78Campus B to Campus A: 4.37

Page 36: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Use-case II (2)

Fig. 2 Time-plot of Delay

Fig. 3 Time-plot of Loss Fig. 4 Time-plot of Mean Opinion Score Ranking

Fig. 1 Time-plot of Equipment Impairment Factor

Problem was solved by contacting the neighboring ISP who was suspected to be experiencing problems!

Page 37: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Scenario I: H.323 Beacon used in a Network Measurement Infrastructure…

Internet2 Abilene Network

GigaPOP

OC2

OC192

3Com

CISCOSYSTEMS

3Com

CISCOSYSTEMS

Core Router

Switch

NMS

CDMA Device

How do you setup the H.323 Beacon in a network?

Page 38: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Scenario II: In a Multi-point setting…

Page 39: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Scenario II: In a Multi-point setting…

Page 40: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Scenario II: In a Multi-point setting…

Page 41: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module

An useful H.323 Beacon Tool supplement!!!Adds advantages of passive measurement to the H.323 Beacon

In general, to any RTP-based application!

Generates inter-packet jitter, packet-size distribution, packet loss and re-ordering information from input traffic tracesWe have written simple parsing scripts that can process data in a format that facilitates analysis using Minitab or ExcelUse the OPENXTRA version of Ethereal!

http://resource.intel.com/telecom/support/appnotes/9008/9008an.pdf

Page 42: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (2)

Steps for analyzing the TracesLoad the packet trace into Ethereal

Trace will contain both forward and reverse direction streams (Check “Source” and “Destination” IP addresses)

Decode streams as RTP (default is UDP) This will mark all related packets as belonging to a specific audio and video codec streams

Analyze individual audio or video streamsImport various information fields as .csv file (“Save as CSV” option)Also has wave file generation relating to an audio stream (“Save Payload” option)

Works only for G.711 Codec streams!Good for PESQ where you want to compare original and degraded wave files to obtain Objective MOS information

Page 43: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (3)

General UDP Stream decoded as an H.263

payload stream

Page 44: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (4)

Audio Stream Video Stream

Page 45: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (5)

Pink-marked packets relate to either lost or re-ordered packets!

Re-ordering; 45413 45415 45414(Observe Sequence #s; could also be 2

consecutive packet losses)

Loss

Page 46: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (6)

An Imported CSV File!

Page 47: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Ethereal RTP Analysis Module (6)

Create interesting visualizations to understand various RTP packet characteristics; can do the same for both Voice and Video packets!!!

Page 48: Troubleshooting Voice and Video Performance over IP using Measurement Tools… Prasad Calyam and Paul Schopis, ITEC-Ohio, OARnet and Ohio Supercomputer Center,

Questions?

http://www.itecohio.org/beacon

H.323 Beacon Reference: