NDT August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.

Slides:



Advertisements
Similar presentations
Ethernet Switch Features Important to EtherNet/IP
Advertisements

Developing Web100 Based Network Configuration & Performance Measurement Tools Web-100 Workshop Aug 1, 2002 by Rich Carlson Argonne National Laboratory.
Local Area Networks - Internetworking
Overview of network monitoring development at AMRES Slavko Gajin.
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Firewall Simulation Teaching Information Security Using: Visualization Tools, Case Studies, and Hands-on Exercises May 23, 2012.
Network Time Protocol (NTP) August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
OWAMP March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
KX-NS1000 Initial Set Up For step by step : 16 May,
Iperf Tutorial Jon Dugan Summer JointTechs 2010, Columbus, OH.
Introduction to Network Analysis and Sniffer Pro
Nada Abdulla Ahmed.  SmoothWall Express is an open source firewall distribution based on the GNU/Linux operating system. Designed for ease of use, SmoothWall.
Transparent Caching The art of caching network traffic without requiring user / browser side configuration.
Diagnosing Wireless TCP Performance Problems: A Case Study Tianbo Kuang, Fang Xiao, and Carey Williamson University of Calgary.
(NHA) The Laboratory of Computer Communication and Networking Network Host Analyzer.
The StarNet Analyzer. Contact SNA Department x172
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.
Installing software on personal computer
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Ch 11 Managing System Reliability and Availability 1.
Chapter Six NetworkingHardware. Agenda Questions about Ch. 11 Midterm Exam Ch.6 Cable kit.
Document Number ETH West Diamond Avenue - Third Floor, Gaithersburg, MD Phone: (301) Fax: (301)
Performance Measurement Tools August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
© 1999, Cisco Systems, Inc. 3-1 Chapter 10 Controlling Campus Device Access Chapter 3 Connecting the Switch Block © 1999, Cisco Systems, Inc. 3-1.
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.
Hands-on Networking Fundamentals
The Performance Bottleneck Application, Computer, or Network Richard Carlson Internet2 Part 3 Richard Carlson Internet2 Part 3.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
BWCTL March 10 th 2011, OSG All Hands Meeting, Network Performance Jason Zurawski – Internet2.
Detective and NDT Live’n on the edge of Network Performance Joint Techs Winter 2006 Bob Riddle/Rich Carlson Joint Techs Winter.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Presenter’s Name NDT Administrator Tools Jakub Slawinski Rich Carlson Internet2 Fall Member Meeting October 9, 2007.
BWCTL August 9 th 2011, OSG Site Admin Workshop Jason Zurawski – Internet2 Research Liaison.
1 Network Monitoring Mi-Jung Choi Dept. of Computer Science KNU
Developing the Web100 Based Network Diagnostic Tool (NDT) E2EpiPEs/Web100 Joint Session April 9, 2002 by Rich Carlson Argonne National Laboratory.
Linux Networking and Security
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Rate Control Rate control tunes the packet sending rate. No more than one packet can be sent during each packet sending period. Additive Increase: Every.
NDT: Update Duplex Mismatch Detection Rich Carlson Winter Joint Tech February 15, 2005.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Network Diagnostic Tool (NDT) Duplex-Mismatch detection update Fall Member Meeting Sept 21, 2005 Rich Carlson
OWAMP August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2.
Switch Features Most enterprise-capable switches have a number of features that make the switch attractive for large organizations. The following is a.
1 Capacity Dimensioning Based on Traffic Measurement in the Internet Kazumine Osaka University Shingo Ata (Osaka City Univ.)
PerfSONAR-PS Functionality February 11 th 2010, APAN 29 – perfSONAR Workshop Jeff Boote, Assistant Director R&D.
National Center for Atmospheric Research Pittsburgh Supercomputing Center National Center for Supercomputing Applications Web100 Roll Out I2 Members Meeting.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
National Center for Atmospheric Research Pittsburgh Supercomputing Center National Center for Supercomputing Applications Web100 and Logistical Networking.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
1 Three ways to (ab)use Multipath Congestion Control Costin Raiciu University Politehnica of Bucharest.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
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.
Manajemen Jaringan, Sukiswo ST, MT 1 Network Monitoring Sukiswo
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Lecture 6: TCP/IP Networking By: Adal Alashban
Wired Networks CIT 1100 Chapter4.
Packet Sniffing.
File Transfer Issues with TCP Acceleration with FileCatalyst
Beyond FTP & hard drives: Accelerating LAN file transfers
“Detective”: Integrating NDT and E2E piPEs
Anant Mudambi, U. Virginia
Presentation transcript:

NDT August 10 th 2010, OSG Site Admin Workshop - Network Performance Jason Zurawski, Internet2

Tutorial Agenda: – Network Performance Primer - Why Should We Care? (15 Mins) – Getting the Tools (10 Mins) – Use of the BWCTL Server and Client (30 Mins) – Use of the OWAMP Server and Client (30 Mins) – Use of the NDT Server and Client (30 Mins) – BREAK (15 mins) – Diagnostics vs Regular Monitoring (30 Mins) – Network Performance Exercises (1 hr 30 Mins) Agenda 2 – 9/18/2015, © 2010 Internet2

MLab (Commodity Networking) – Internet2 (R&E Networking) – – To not overwhelm the server, also try replacing ‘atla’ with: chic hous kans losa newy salt seat wash Hands on Testing of NDT 3 – 9/18/2015, © 2010 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 4 – 9/18/2015, © 2010 Internet2

NDT Results 5 – 9/18/2015, © 2010 Internet2

Measure performance to users desktop – Lots of tools to measure performance to a nearby server – Also ‘plugable’ hardware to measure everything up to the network cable – Want something to accurately show what the user is seeing Develop “single shot” diagnostic tool that doesn’t use historical data Combine numerous Web100 variables to analyze connectionWeb100 Develop network signatures for ‘typical’ network problems – Based on heuristics and experience – Lots of problems have a smoking gun pattern, e.g. duplex mismatch, bad cable, etc. Motivation for Work 6 – 9/18/2015, © 2010 Internet2

Simple bi-directional test to gather end to end data – Test from client to server, and the reverse – Gets the ‘upload’ and ‘download’ directions Gather multiple data variables from server – Via Web100, also some derived metrics (packet inter arrival times) Compare measured performance to analytical values – How fast should a connection be given the observations of the host and network Translate network values into plain text messages Geared toward campus area network How It works 7 – 9/18/2015, © 2010 Internet2

Joint PSC/NCAR project funded by NSF Develop a system mib, similar to data that is exposed via SNMP ‘First step’ to gather TCP data – Kernel Instrument Set (KIS) Requires patched Linux kernel Geared toward wide area network performance Goal is to automate tuning to improve application performance Patches available for vanilla kernels (e.g. non vendor modified) Web100 Project 8 – 9/18/2015, © 2010 Internet2

Operates on Any client with a Java enabled Web browser – No additional client software needs to be installed – No additional configuration required What it can do: – State if Sender, Receiver, or Network is operating properly – Provide accurate application tuning info – Suggest changes to improve performance What it can’t do – Tell you where in the network the problem is – Tell you how other servers perform – Tell you how other clients will perform Web Based Performance Tool 9 – 9/18/2015, © 2010 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 10 – 9/18/2015, © 2010 Internet2

NDT Testing – Normal Operation 11 – 9/18/2015, © 2010 Internet2

NDT Testing – Duplex Mismatch 12 – 9/18/2015, © 2010 Internet2

NDT Testing – Low Throughput 13 – 9/18/2015, © 2010 Internet2

NDT Testing – Increase TCP Buffer Size 14 – 9/18/2015, © 2010 Internet2

What is the slowest link in the end-to-end path? – Monitors packet arrival times using libpcap routinelibpcap Data and ACK packets Is aware of packet sizes – used to calculate speed – Use TCP dynamics to create packet pairs – Quantize results into link type bins Broad classification, e.g. “FastE” No fractional or bonded links currently Example: – Consider the following setup 1G network card on Host 1G LAN 100M (FastE) Wall Jack – NDT will report there is a slow link somewhere in the path. It can’t tell you where, but something is limiting the test speed Bottleneck Link Detection 15 – 9/18/2015, © 2010 Internet2

Duplex Mismatch: – Operation between a host and an interface are at different duplex modes (e.g. one half, one full) – Common in networks where auto negotiation is disabled, or faulty – Classic example of a “soft failure”, connectivity is present and speeds are poor Developed analytical model to describe how Ethernet responds Expanding model to describe UDP and TCP flows Develop practical detection algorithm Test models in LAN, MAN, and WAN environments Duplex Mismatch Detection 16 – 9/18/2015, © 2010 Internet2

Detect non-congestive loss due to – Faulty NIC/switch interface – Bad Cat-5 cable – Dirty optical connector Faulty Hardware or Link 17 – 9/18/2015, © 2010 Internet2

Shared network infrastructures will cause periodic congestion episodes – Detect/report when TCP throughput is limited by cross traffic – Detect/report when TCP throughput is limited by own traffic Congestion Detection 18 – 9/18/2015, © 2010 Internet2

Provide basic tuning information Features: – Basic configuration file – FIFO scheduling of tests, support for testing with simultaneous clients – Simple server discovery protocol – Logging of all test results on the server side Command line client support Other Clients can be developed against open Javascript API: – Posted on Google Code: – Additional Functions and Features 19 – 9/18/2015, © 2010 Internet2

Architecture 20 – 9/18/2015, © 2010 Internet2 Client Web Browser Java Applet NDT - Server Web Server Testing Engine Child Test Engine Spawn child Well Known NDT Server Web Request Redirect msg Web Page Request Web page response Test Request Control Channel Specific test channels

Static List of servers – doesn’t scale Finding a Server – The Old Way 21 – 9/18/2015, © 2010 Internet2

perfSONAR Infrastructure – automatically search for instances Finding a Server – The New Way 22 – 9/18/2015, © 2010 Internet2

Measurement Lab – Joint Project between several partners – More Info Here: Locate a ‘close’ NDT server using DONAR ( Finding a Server – MLab 23 – 9/18/2015, © 2010 Internet2

Changing desktop effects performance – Lesson in why testing end-to-end is necessary Faulty Hardware identification – When is performance being effected by the environment or the equipment? Interpreting Results 24 – 9/18/2015, © 2010 Internet2

Theme: Its important to test to the user’s desktop to see what they are seeing. Changing hardware changes performance observations – E.g. tech support can’t show up with a ‘tuned’ laptop to prove the network is functional – this doesn’t help the user… Host 1: 10 Mbps NIC – Throughput 6.8/6.7 Mbps send/receive – RTT 20 ms – Retransmission/Timeouts 25/3 Host 2: 100 Mbps NIC – Throughput 84/86 Mbps send/receive – RTT 10 ms – Retransmission/Timeouts 0/0 Interpretation: – Ignore speed for a second – 70% utilization on the first vs 85% – Why are we seeing retransmissions and timeouts? Different Host – Same Switch Port 25 – 9/18/2015, © 2010 Internet2

The following is a test on our Lab LAN – 12 PCs – All connected to a Switch – 2 VLANs – Router linking VLANs All testing is VLAN to VLAN, e.g. crossing the router. Things to note: – 100MB Full Duplex unless noted – Look for correlations between RTT and Speed – Look at Loss rates Can you identify what may be suspect based on the observations? LAN Testing 26 – 9/18/2015, © 2010 Internet2

LAN Testing Results 27 – 9/18/2015, © 2010 Internet2 100 Mbps Full Duplex Ave Rtt%loss Mbps Speed

LAN Testing Results 28 – 9/18/2015, © 2010 Internet2 100 Mbps Full Duplex Ave Rtt%loss loss/sec Mbps Speed Normal Operation Bad Switch Interface Reverse of Above… Congestion 6.99 Normal Operation 7.15 Same Bad Interface

Source should compile for all modern *NIX – *BSD, Linux, OS X – configure/make/make install Web100 Patched Kernel – perfSONAR-PS Project also offers two alternatives: pS Performance Toolkit (bootable ISO) pS Performance Toolkit Pre-packaged kernel with Web100 for CentOS Other Software – Java SDK – Libpcap RPMs compiled specifically for CentOS 5.x – May work with other RPM based systems (Fedora, RHEL) General Requirements – Support 29 – 9/18/2015, © 2010 Internet2

There are no settings or options for the Web based java applet. – It allows the user to run a fixed set of tests for a limited time period Test engine settings – Turn on admin view (-a option) – If multiple network interfaces exist use –i option to specify correct interface to monitor (ethx) Simple Web server (fakewww) – Use –l fn option to create log file – Could also use a ‘real’ web server like Apache Recommended Settings 30 – 9/18/2015, © 2010 Internet2

Non-standard kernel required – Web100 patching may be difficult to apply to new kernels – Hard to keep up with vendor patching – GUI tools can be used to monitor other ports – Consider using pS Performance Toolkit enhancements if this scares you…pS Performance Toolkit Public servers generate trouble reports from remote users – Respond or ignore s Test streams can trigger IDS alarms – Configure IDS to ignore NDT server Potential Risks 31 – 9/18/2015, © 2010 Internet2

Main Page: – Mailing lists: – – Availability 32 – 9/18/2015, © 2010 Internet2

NDT August 10 th 2010, OSG Site Admin Workshop – Network Performance Jason Zurawski – Internet2 For more information, visit 33 – 9/18/2015, © 2010 Internet2