Performance Measurement Tools August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.

Slides:



Advertisements
Similar presentations
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
Advertisements

Network Time Protocol (NTP) August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
QoS Solutions Confidential 2010 NetQuality Analyzer and QPerf.
NCAR perfSONAR Pete Siemsen September 19, Hardware and software Dedicated server with 2 10G ports –Only one is connected – Outside UCAR firewall.
MAGGIE NIIT- SLAC On Going Projects Measurement & Analysis of Global Grid & Internet End to end performance.
Internet Bandwidth Measurement Techniques Muhammad Ali Dec 17 th 2005.
Network Measurement Bandwidth Analysis. Why measure bandwidth? Network congestion has increased tremendously. Network congestion has increased tremendously.
Web and Internet Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
Network Performance Toolkit (NPToolkit) A Knoppix Live-CD Rich Carlson Tools Tutorial 12/4/06.
Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Network Performance Measurement Atlas Tier 2 Meeting at BNL December Joe Metzger
Performance Measurement Tools March 10 th 2011, OSG All Hands Workshop - Network Performance Jason Zurawski, Internet2.
Using NDT July 22 nd 2013, XSEDE Network Performance Tutorial Jason Zurawski – Internet2/ESnet.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
Reading Report 14 Yin Chen 14 Apr 2004 Reference: Internet Service Performance: Data Analysis and Visualization, Cross-Industry Working Team, July, 2000.
Hands-on Networking Fundamentals
The Performance Bottleneck Application, Computer, or Network Richard Carlson eVLBI Workshop – Performance Tuning Tutorial September 17, 2006 Richard Carlson.
BWCTL March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
NDT August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Networks QUME 185 Introduction to Computer Applications.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Linux Networking and Security
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Internet2 E2EPI End-2-End Performance Initiative Jeff W. Boote Internet2 29 May 2006.
Page 1 Intro to Cisco Routers and RIP & IGRP Lecture 6 Hassan Shuja 04/18/2006.
Exploring Office 2003 – Grauer and Barber HTML And Basic Web page.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
NDT: Update Duplex Mismatch Detection Rich Carlson Winter Joint Tech February 15, 2005.
CCNA 2 Week 9 Router Troubleshooting. Copyright © 2005 University of Bolton Topics Routing Table Overview Network Testing Troubleshooting Router Issues.
OWAMP August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
1 Network Measurement Summary ESCC, Feb Joe Metzger ESnet Engineering Group Lawrence Berkeley National Laboratory.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
IP Telephone Lab 1 Connectivity Test IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping.
PerfSONAR-PS Functionality February 11 th 2010, APAN 29 – perfSONAR Workshop Jeff Boote, Assistant Director R&D.
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
PRACTICAL INTRODUCTION TO INTERNET TECHNOLOGY. Practical one PACKET DELAY AND LOSS IN INTERNET In this experiment, you will observe real delays and loss.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
US LHC Tier-2 Network Performance BCP Mar-3-08 LHC Community Network Performance Recommended BCP Eric Boyd Deputy Technology Officer Internet2.
GEMINI: Active Network Measurements Martin Swany, Indiana University.
14-Nov-07 OWAMP (One-Way Latencies) BWCTL (Bandwidth Test Control) Jeff Boote Network Performance Tools BOF-SC07.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Connect communicate collaborate Performance Metrics & Basic Tools Robert Stoy, DFN EGI TF, Madrid September 2013.
BWCTL August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
Advanced Network Diagnostic Tools Richard Carlson EVN-NREN workshop.
PiPEs Tools in Action Rich Carlson SMM Tools Tutorial May 3, 2005.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Network Monitoring Sebastian Büttrich, NSRC / IT University of Copenhagen Last edit: February 2012, ICTP Trieste
Network Commands 2 Linux Ubuntu A.S.
Ping and traceroute.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Monitoring Appliance Status
Chapter 2: Static Routing
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
IIS.
Chapter 2: Static Routing
A tool for diagnosing internet connectivity problems
Network Performance Measurement
“Detective”: Integrating NDT and E2E piPEs
Presentation transcript:

Performance Measurement Tools August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison

Tutorial Agenda: – Network Performance Primer - Why Should We Care? (30 Mins) – Introduction to Measurement Tools (20 Mins) – Use of NTP for network measurements (15 Mins) – Use of the BWCTL Server and Client (25 Mins) – Use of the OWAMP Server and Client (25 Mins) – Use of the NDT Server and Client (25 Mins) – perfSONAR Topics (30 Mins) – Diagnostics vs Regular Monitoring (20 Mins) – Use Cases (30 Mins) – Exercises Agenda 2 – 8/29/2015, © 2011 Internet2

Use of the network should meet user expectations. – See Examples from earlier – When things don’t look right, time to explore ‘why’ If they don’t, user has the right to complain! – Will you listen? – Learn how to complain effectively Produce results Isolate problem – ‘The network is slow’ is not how to complain effectively Basic Premise 3 – 8/29/2015, © 2011 Internet2

When problems exist, it’s the networks fault! – Easy to blame a resource, but where else could a problem be when transferring large data sets? Host (Disk, CPU, Kernel, NIC Drivers) Network Interface Cards Routers/Switches, Routing and Configuration Physical Infrastructure Protocols The network is viewed as a single resource in many cases – Reality – complex series of components – Multiple vendors/technologies – Multiple configuration options – Crossing administrative domains Underlying Assumption 4 – 8/29/2015, © 2011 Internet2

Network View (Layman’s Terms) 5 – 8/29/2015, © 2011 Internet2 Bob’s Host “The Internets” Carol’s Host

Network View (Actual) 6 – 8/29/2015, © 2011 Internet2 Switch 1 Switch 2Switch 3 R1 R3 R4 R2 R7 R6 R9 R8 R5 Switch 4

What are the first steps to address problems related to network performance? – Try a Tool What tools are out there – Numerous – Different metrics (measurements) available – How to interpret the results? Addressing a Performance Discrepancy 7 – 8/29/2015, © 2011 Internet2

Ping Traceroute Iperf Tcpdump Tcptrace BWCTL NDT OWAMP AMP Advisor Thrulay Web100 MonaLisa pathchar NPAD Pathdiag Surveyor Tools, Tools, Tools 8 – 8/29/2015, © 2011 Internet2 Ethereal CoralReef MRTG Skitter Cflowd Cricket Net100 Pathload Pathchrip MRTG Cacti Smokeping PingER FDT perfSONAR Nagios Ganglia Thurlay Etc. etc. etc.

Focus on 3 Types of tools (for now) – Basic Diagnostics Ping, Traceroute – Advanced User Tools NDT – Network Admin Focused OWAMP, BWCTL What about the others? – Try them out, learn how they work. – Most tools are designed to solve a specific problem and they may add value to your organization Integration of multiple solutions – Measurement frameworks integrate use of tools (operation, collecting results) along with analysis and presentation – perfSONAR Highlighting some Interesting Tools 9 – 8/29/2015, © 2011 Internet2

Ping – Round Trip (e.g. source to destination, and back) – Confirms that remote host is ‘up’ – Some network operators block these packets Play w/ command options to see if that will change anything Traceroute – Identifies the routers along the path – Same blocking problem as above – Routers treat TR packets with lower priority See presentation from prior JTs: litvanyi.pdf litvanyi.pdf Basic Diagnostic Tools 10 – 8/29/2015, © 2011 Internet2

Ping Output 11 – 8/29/2015, © 2011 Internet2

Intro message – Identifies remote host name and IP address – States size of packets being sent Setting larger sizes may reveal hidden problems Output lines – Who responded, and the RTT, maybe other details Summary lines – Number of packets sent/received/lost – RTT statistics min/average/max N.B. 1 msec RTT = ~50 miles of between hosts Ping Output 12 – 8/29/2015, © 2011 Internet2

Traceroute Output 13 – 8/29/2015, © 2011 Internet2

Intro messages – Name and address of remote host – Maximum number of link before giving up Status messages – One line per router in path – ‘*’ indicates router didn’t respond – Routers usually rate limit replies – No name indicates DNS entry is missing – Hops required to reach remote host or max number from above Traceroute Output 14 – 8/29/2015, © 2011 Internet2

NDT = Network Diagnostics Tool Measure performance to users desktop Identify real problems for real users – Network infrastructure could be the problem – Host tuning issues could be the problem Make tool simple to use and understand – Presentation in a method almost all users can access: web browser Make tool useful for users and network administrators – Variables for many aspects of host, protocol, and network performance Advanced User Tool - NDT 15 – 8/29/2015, © 2011 Internet2

Web-based JAVA applet allows testing from any browser – One Click testing – Option to dig deep into available results – Send report of results to network administrators Command-line client allows testing from remote login shell – Same options available – Client software can be build independent of server software NDT User Interface 16 – 8/29/2015, © 2011 Internet2

NDT Results 17 – 8/29/2015, © 2011 Internet2

Duplex Mismatch – This is a serious error and nothing will work right. Reported on main page, on Statistics page, and mismatch: on More Details page Packet Arrival Order – Inferred value based on TCP operation. Reported on Statistics page, (with loss statistics) and order: value on More Details page Packet Loss Rates – Calculated value based on TCP operation. Reported on Statistics page, (with out-of-order statistics) and loss: value on More Details page Path Bottleneck Capacity – Measured value based on TCP operation. Reported on main page Finding Results of Interest 18 – 8/29/2015, © 2011 Internet2

BWCTL – Bandwidth Control – Allows single person operation over wide area testing environment – Runs NLANR ‘iperf’ program Support for Thrulay, nuttcp OWAMP – One way Delay Measurement – Advanced ‘ping’ command One way vs round trip – Allows single person operation over wide area testing environment Network Administration Tools 19 – 8/29/2015, © 2011 Internet2

BWCTL Sample Results 20 – 8/29/2015, © 2011 Internet2

You must pre-install BWCTL software package – Server/Client required for ends of a test Internet2 default permission: TCP test from any member – UDP available on request Sites can restrict access to ‘known’ remote users – Rich set of permissions and limitations BWCTL Highlights 21 – 8/29/2015, © 2011 Internet2

bwctl -L90 -i2 -t20 -c bwctl.losa.net.internet2.edu bwctl -L90 -i2 -t20 -s bwctl.newy.net.internet2.edu – Bwctl = name of program – L90 = wait up to 90 seconds for a test – i2 = report intermediate results every 2 seconds – t20 – run test for 20 seconds – s name = remote end will send data to you – c name = you will send data to the remote host BWCTL Commands 22 – 8/29/2015, © 2011 Internet2

bwctl -L90 -i2 -t20 -c bwctl.salt.net.internet2.edu -s bwctl.atla.net.internet2.edu – User can run a test between 2 remote hosts BWCTL 3 rd Party Testing 23 – 8/29/2015, © 2011 Internet2

OWPing Results 24 – 8/29/2015, © 2011 Internet2

You must pre-install OWAMP software package User program is called ‘owping’ Internet2 default permissions: basic test from any member – Other options (e.g. longer test, more data sent) available on request Sites can restrict access to ‘known’ remote users – Similar rich set of permissions to BWCTL OWAMP Results 25 – 8/29/2015, © 2011 Internet2

owping owamp.salt.net.internet2.edu – owping = program name – owamp… = name of server Output results – Separate statistics for both directions – Number of packets sent and lost – One-way delay statistics min/median/max – Number of IP hops in path – Number of packets that arrives out-of-order Using OWPing 26 – 8/29/2015, © 2011 Internet2

Source Packages (Client and Server) Typical ‘configure/make/make install’ RPM Installation (CentOS 5.5 Supported): Install our RPM package to enable the Internet2 Repository See instructions here: Support for YUM and APT-RPM pS Performance Toolkit ISO All tools, pre-installed and configured More info: Others Notes: Other RPM based distros (Fedora/RHEL) may work with packaged RPMs … YMMV To install on Debian, consider source. Alien conversions of RPMs may be problematic Software Availability 27 – 8/29/2015, © 2011 Internet2

Primary tools still useful – Know the tool Advanced tools are being developed all the time Installation using simple methods (e.g. RPM based package managers) Conclusions 28 – 8/29/2015, © 2011 Internet2

Performance Measurement Tools August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison For more information, visit 29 – 8/29/2015, © 2011 Internet2