Latency Monitoring Tool on Cisco Nexus Switches: Troubleshoot Network Latency



Similar documents
Traffic Mirroring Commands on the Cisco ASR 9000 Series Router

Traffic Mirroring Commands on the Cisco IOS XR Software

Troubleshooting the Firewall Services Module

Technical Bulletin. Enabling Arista Advanced Monitoring. Overview

A Dell Technical White Paper Dell PowerConnect Team

Sample Configuration Using the ip nat outside source static

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

Lab Diagramming Intranet Traffic Flows

High Availability Solutions & Technology for NetScreen s Security Systems

Powerful Duo: MapR Big Data Analytics with Cisco ACI Network Switches

Monitoring and Analyzing Switch Operation

NetFlow-Lite offers network administrators and engineers the following capabilities:

Lab Characterizing Network Applications

Configuring Port Security

Troubleshooting the Firewall Services Module

Flow Monitor Configuration. Content CHAPTER 1 MIRROR CONFIGURATION CHAPTER 2 RSPAN CONFIGURATION CHAPTER 3 SFLOW CONFIGURATION...

Configuring a Load-Balancing Scheme

Sampled NetFlow. Feature Overview. Benefits

What s New in VMware vsphere 5.0 Networking TECHNICAL MARKETING DOCUMENTATION

Business Benefits. Cisco Virtual Networking solutions offer the following benefits:

Integrated Traffic Monitoring

Quick Start for Network Agent. 5-Step Quick Start. What is Network Agent?

Understanding and Configuring NAT Tech Note PAN-OS 4.1

Network Analysis Modules

Precision Time Protocol (PTP/IEEE-1588)

Configuring a Load-Balancing Scheme

Cisco NetFlow Generation Appliance (NGA) 3140

AlliedWare Plus OS How To Use sflow in a Network

IP Accounting C H A P T E R

Monitoring Network Traffic Using SPAN

A Guide to Simple IP Camera Deployment Using ZyXEL Bandwidth Solutions

Flow Monitor Configuration. Content CHAPTER 1 MIRROR CONFIGURATION CHAPTER 2 SFLOW CONFIGURATION CHAPTER 3 RSPAN CONFIGURATION...

2. Are explicit proxy connections also affected by the ARM config?

Choosing Tap or SPAN for Data Center Monitoring

Lab - Using IOS CLI with Switch MAC Address Tables

Configuring DHCP Snooping

Configuring Network QoS

Configuring Static and Dynamic NAT Simultaneously

Intel Ethernet Switch Converged Enhanced Ethernet (CEE) and Datacenter Bridging (DCB) Using Intel Ethernet Switch Family Switches

Easy Performance Monitor

SolarWinds Technical Reference

Cisco IOS Flexible NetFlow Technology

Configuring NetFlow Secure Event Logging (NSEL)

Monitoring Network Traffic Using SPAN

Configuring NetFlow. Information About NetFlow. Send document comments to CHAPTER

ICND2 NetFlow. Question 1. What are the benefit of using Netflow? (Choose three) A. Network, Application & User Monitoring. B.

Monitoring Traffic Interception

Network Configuration Example

Firewall Stateful Inspection of ICMP

Network Management Deployment Guide

SolarWinds Technical Reference

Redefine Network Visibility in the Data Center with the Cisco NetFlow Generation Appliance

How To Mirror On An Ipfix On An Rspan Vlan On A Pc Or Mac Or Ipfix (Networking) On A Network On A Pnet (Netnet) On An Uniden (Netlan

Extending SANs Over TCP/IP by Richard Froom & Erum Frahim

Configuring NetFlow on Cisco ASR 9000 Series Aggregation Services Router

SolarWinds Technical Reference

Configuring Auto-QoS

Configuring MAC ACLs

The Role of Precise Timing in High-Speed, Low-Latency Trading

Sample Configuration Using the ip nat outside source list C

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

In fact, the three most common reasons for a network slow down are: congestion data corruption collisions

Migrate from Cisco Catalyst 6500 Series Switches to Cisco Nexus 9000 Series Switches

Improving Quality of Service

How To Configure Rmon On Cisco Me 2600X On Ios 2.5A (Cisco) With A Network Monitor On A Network Device (Network) On A Pnet (Network Monitor) On An Ip

How To Switch A Layer 1 Matrix Switch On A Network On A Cloud (Network) On A Microsoft Network (Network On A Server) On An Openflow (Network-1) On The Network (Netscout) On Your Network (

Intel Ethernet Switch Load Balancing System Design Using Advanced Features in Intel Ethernet Switch Family

Technical Bulletin. Arista LANZ Overview. Overview

Microsoft SQL Server 2012 on Cisco UCS with iscsi-based Storage Access in VMware ESX Virtualization Environment: Performance Study

Chapter 11 Network Address Translation

Cisco Performance Agent Data Source Configuration in the Branch-Office Router

Cisco Nexus Data Broker for Network Traffic Monitoring and Visibility

VLANs. Application Note

Using Debug Commands

Quick Start for Network Agent. 5-Step Quick Start. What is Network Agent?

Introduction to Cisco IOS Flexible NetFlow

Mellanox Academy Online Training (E-learning)

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

Configuring Traffic Storm Control

Configuring PROFINET

Packet Tracer - Connecting a Wired and Wireless LAN Topology

Chapter 4: Spanning Tree Design Guidelines for Cisco NX-OS Software and Virtual PortChannels

Troubleshooting an Enterprise Network

Using Debug Commands

TROUBLESHOOTING CISCO DATA CENTER UNIFIED FABRIC (DCUFT)

Configuring Flexible NetFlow

Lab Load Balancing Across Multiple Paths

Cisco Nexus Data Broker: Deployment Use Cases with Cisco Nexus 3000 Series Switches

Cisco Dynamic Workload Scaling Solution

Cisco for SAP HANA Scale-Out Solution on Cisco UCS with NetApp Storage

Introduction. The Inherent Unpredictability of IP Networks # $# #

QoS: Color-Aware Policer

Integrated Traffic Monitoring

What s New in VMware vsphere 5.5 Networking

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

TD 271 Rev.1 (PLEN/15)

End-to-End Network Centric Performance Management

- EtherChannel - Port Aggregation

Lab - Observing DNS Resolution

Transcription:

White Paper Latency Monitoring Tool on Cisco Nexus Switches: Troubleshoot Network Latency Introduction Networks often encounter problems related to latency. Troubleshooting such problems can be complicated. End-toend system latency that is higher than expected may arise from the servers, applications, network design, burstiness of traffic to a single port, misconfiguration in the switch, etc. Latency measurements can be used to identify the flows that are affected by latency. These statistics also allow administrators to plan network topologies, manage incident responses, and identify root causes of application problems in the network. The statistics also can be used to provide service-level agreements (SLAs) for latency-intensive applications. The Cisco latency monitoring tool on the Cisco Nexus 5600 platform switches can help you troubleshoot latency concerns in the network with ease. Note: All the details presented in this document apply to Cisco Nexus 6000 Series Switches as well. The latency monitoring tool marks each ingress and egress packet with a time-stamp value. To calculate the latency for each packet in the system, the switch compares the ingress time stamp with the egress time stamp. The tool allows you to display historical averages of latency between all pairs of ports as well as real-time latency data. By default, Instantaneous mode latency monitoring is enabled between a pair of ports. This mode measures switch latency for each packet. The switch latency monitoring tool works at line rate; hence, packet sampling is not required. This tool is fully implemented in hardware. Hence, it has no effect on the CPU or on data traffic. Latency monitoring reveals the minimum, average, and maximum latency between a specified port pair and also maintains a latency histogram (accurate to several nanoseconds [ns]), as shown in Figure 1. 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 5

Figure 1. Latency Monitoring In Figure 1, when a packet enters the source port, it is marked with a time stamp (t0). When it exits the destination port, the time stamp is marked again (t1). The latency monitoring tool essentially provides the time (t1 - t0). Switch Latency Measurement Modes The following modes can be configured between ingress and egress port pairs: Instantaneous mode: This is the mode enabled by default. No configuration is needed to see latency values in this mode. This mode is useful for getting a quick snapshot of port-pair latency. Linear Histogram mode: This mode is useful for seeing the number of packets that had the user-configured latency value. Exponential Histogram mode: This mode provides an exponential view of the linear histogram mode. Custom Histogram mode: This mode displays the number of packets that are in the low-latency range and the number of packets that are in the high-latency range. Instantaneous Mode In Instantaneous mode, the minimum, maximum, and average latency can be collected. This mode is enabled by default. No configuration is required. Following is a sample of latency measurement output in Instantaneous mode. Eth 1/1 is the egress port and 1/6 is the ingress port. Egress Port: Ethernet1/1 Ingress Port: Ethernet1/6 Mode: Inst Minimum Maximum Average cnt 890 1020 960 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 2 of 5

In the preceding output, cnt denotes the minimum, maximum, and average latency, in nanoseconds, of packets entering 1/6 and egressing 1/1. Linear Histogram Mode A linear histogram can show you the number of packets seen in a given latency range. For instance, suppose you want to count packets for the following ranges of latencies (in nanoseconds) separately: 800 to 849, 850 to 899, 900 to 949, and 950 to 999. You can do this by using a linear histogram. You first configure a latency base value for the table to 800 ns. Then you program a step value of 50 ns. Using these two values, you partition the entry into four separate counters: if base latency < base + step, increment CNT0 if base + step latency < base + 2 * step, increment CNT1 if base + 2 * step latency < base + 3 * step, increment CNT2 if base + 3 * step latency < base + 4 * step, increment CNT3 This histogram mode is linear because the latency ranges are increased linearly using the step value. Following is a sample of latency measurement output in Linear Histogram mode. Eth 1/1 is the egress port and 1/6 is the ingress port. Egress Port: Ethernet1/1 Ingress Port: Ethernet1/6 Mode: Linear Histogram Range 800-840 840-880 880-920 920-960 cnt 123009 556009 640003 450243 of 800 ns and a step value of 40 ns were configured. Exponential Histogram Mode An exponential histogram provides the binning of latencies for ranges increasing exponentially. For instance, suppose that you want to count the packets in the following ranges of latencies: 850 to 899, 900 to 999, 1000 to 1199, and 1200 to 1599. You can achieve this by using the Exponential Histogram mode with the base value set to 800 and the step value set to 50 ns. The exponential binning would count the packets as follows: if base + step * 2^0 latency < base + step * 2^1, increment CNT0 if base + step * 2^1 latency < base + step * 2^2, increment CNT1 if base + step * 2^2 latency < base + step * 2^3, increment CNT2 if base + step * 2^3 latency < base + step * 2^4, increment CNT3 Following is a sample of latency measurement output in Exponential Histogram mode. Eth 1/1 is the egress port and 1/6 is the ingress port. 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 3 of 5

Egress Port: Ethernet1/1 Ingress Port: Ethernet1/6 Mode: Exp Histogram Range 840-880 880-960 960-1120 1120-1440 cnt 45087 55430 36937 26780 of 800 ns and a step value of 40 ns were configured. Custom Histogram Mode With a custom histogram, you can count the number of packets with latency within a specific range. Two counters are collected in this mode: a range specified by latency_low and latency_high boundaries, and a counter outside the first range. The counting is performed as follows: if base + latency_low latency < base + latency_high, increment CNT0 else increment CNT1 Following is a sample of latency measurement output in Custom Histogram mode. Eth 1/1 is the egress port and 1/6 is the ingress port. Egress Port: Ethernet1/1 Ingress Port: Ethernet1/6 Mode: Custom Histogram Range 840 <= Latency < 2000 840 > Latency >= 2000 cnt 5678643 458267 of 8 ns, a low-latency value of 832 ns, and a high-latency value of 1992 ns were configured. Configuration For configuration of latency monitoring on the Cisco Nexus 5600 platform, refer to the guide to configuration details for the Cisco Nexus 5600 platform. Note that you need to run the clear hardware profile latency monitor all command when the switch is reloaded or a new module is powered on. Feature Guidelines Latency measurements are available only on physical interfaces. For latency measurements on Unified fabric ports, you need to add the latency of the unified port physical layer to the latency values displayed. 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 4 of 5

Conclusion The latency measurement tool on the Cisco Nexus 5600 platform makes it easy to find out which application is experiencing problems related to high latency and to debug latency problems across the entire network. The tool can also help you determine whether the problems are caused by the switch or are a result of network problems. This tool can be especially useful in data center environments in which low end-to-end system latency is extremely important. For More Information http://www.youtube.com/watch?v=q2ypbpo6way&feature=youtu.be. Printed in USA C11-733025-00 11/14 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 5 of 5