Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Similar documents
Agenda 1 Use of the VMware vsphere Command-line Interface (vcli), the ESXi Shell, and Log Files to Diagnose and Correct Problems 2 Troubleshooting Net

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

VMWARE VSPHERE 4 ADVANCED TROUBLESHOOTING ERIC SLOOF - NTPRO.NL

VMware Certified Professional 2V0-602

Interpreting esxtop Statistics

Performance Sentry VM Provider Objects April 11, 2012

vsphere Design and Deploy Fast Track v6 Additional Slides

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

VMware vsphere Optimize and Scale [v5.5] Custom Lab 12 Diagnosing CPU performance issues Copyright 2014 Global Knowledge Network Training Ltd.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Exam Name: VMware Certified Professional on vsphere 5 (Private Beta)

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

TA7750 Understanding Virtualization Memory Management Concepts. Kit Colbert, Principal Engineer, VMware, Inc. Fei Guo, Sr. MTS, VMware, Inc.

VMware Virtual SAN. Technical Walkthrough. Massimiliano Moschini Brand Specialist VCI - vexpert VMware Inc. All rights reserved.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

vsphere Monitoring and Performance

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

VIRTUAL APPLIANCES. Frequently Asked Questions (FAQ)

Overview. Prerequisites. VMware vsphere 6.5 Optimize, Upgrade, Troubleshoot

TN1070: Verint Master Server Under

vsphere 6.5 Foundations Exam

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

VMware Horizon Design and Deploy v6 Additional Slides

EXAM - VCP5-DCV. VMware Certified Professional 5 Data Center Virtualization (VCP5-DCV) Exam. Buy Full Product.

VMware vsphere Virtualization of PMEM (PM) Richard A. Brunner, VMware

VMware vsphere: Install, Configure, Manage plus Optimize and Scale- V 6.5. VMware vsphere 6.5 VMware vcenter 6.5 VMware ESXi 6.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

VMware vsphere Administration Training. Course Content

VMware vsphere 6 Reference Architecture for the Kaminario K2 All-Flash Storage Array

Preparing Virtual Machines for Cisco APIC-EM

Preparing Virtual Machines for Cisco APIC-EM

Vmware VCP410. VMware Certified Professional on vsphere 4. Download Full Version :

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Architecture and Performance Implications

Configuration Maximums. Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

davidklee.net gplus.to/kleegeek linked.com/a/davidaklee

Vmware VCP550. VMware Certified Professional on vsphere 5. Download Full Version :

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

"Charting the Course... VMware vsphere 6.5 Optimize, Upgrade, Troubleshoot. Course Summary

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

VMware vsphere 5.5 Professional Bootcamp

Question No: 2 What three shares are available when configuring a Resource Pool? (Choose three.)

Exam Questions VCP550D

2014 VMware Inc. All rights reserved.

VMware vsphere with ESX 6 and vcenter 6

Vmware 3V VMware Certified Advanced Professional Data Center Virtualization Design.

vrealize Operations Management Pack for Storage Devices Guide

The Old School Cloud Is No More: Running Your Microsoft Applications on AWS

Hitachi Storage Adapter for VMware vcenter Operations Management Suite Dashboard User s Guide

DumpExam. The best exam dump, valid dumps PDF, accurate exam materials provider

Vmware VCP550PSE. VMware Certified Professional on vsphere 5.

Best Practices for designing Farms and Clusters

Logical Operations Certified Virtualization Professional (CVP) VMware vsphere 6.0 Level 1 Exam CVP1-110

Configuration Maximums

vrealize Operations Management Pack for vsan 1.0 Guide

This Presentation Will Discuss 1 NSX Infrastructure Communication 2 Using NSX Central CLI 3 Validating and Populating NSX Controller Tables 4 Controll

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Logical Operations Certified Virtualization Professional (CVP) VMware vsphere 6.0 Level 2 Exam CVP2-110

EMC Performance Optimization for VMware Enabled by EMC PowerPath/VE

VMWARE TUNING BEST PRACTICES FOR SANS, SERVER, AND NETWORKS

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Using IBM FlashSystem V9000 TM with the VMware vstorage APIs for Array Integration

Table of Contents HOL-SDC-1317

Monitoring VMware vsphere Performance

VMware vsphere HA Recommendations to Maximize Virtual Machine Uptime


VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

VMware vsphere APIs Array Integration (VAAI) February 26, 2018

VMware vrealize Operations for Horizon Administration

Expert Reference Series of White Papers. Five Reasons Why You Should Pair VSAN and View

vrealize Operations Definitions for Metrics, Properties, and Alerts vrealize Operations Manager 6.6

VI3 to vsphere 4.0 Upgrade and New Technology Ultimate Bootcamp

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Creating a New SBC SWe VM Instance

vsphere Resource Management

VMware vstorage APIs FOR ARRAY INTEGRATION WITH EMC VNX SERIES FOR SAN

VMware vsphere with ESX 4 and vcenter

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Cisco HyperFlex Hyperconverged Infrastructure Solution for SAP HANA

VMware VAAI Integration. VMware vsphere 5.0 VAAI primitive integration and performance validation with Dell Compellent Storage Center 6.

VMware vsphere 6.5 Boot Camp

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

TIPS TO. ELIMINATE LATENCY in your virtualized environment

By the end of the class, attendees will have learned the skills, and best practices of virtualization. Attendees

Hitachi Storage Management Pack for VMware vrealize Operations Dashboard User s Guide

role at the the host. The the Administrator r can perform a user with Note Directory. Caution If you do

System Monitor - Performance Monitoring Services 5.8 User's Guide

VMware Exam 2V0-621 VMware Certified Professional 6 Data Center Virtualization Beta Version: 7.0 [ Total Questions: 242 ]

Introduction to Virtualization. From NDG In partnership with VMware IT Academy

EMC Unisphere for VMAX Database Storage Analyzer

Configuration Maximums VMware vsphere 5.0

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Surveillance Dell EMC Storage with Cisco Video Surveillance Manager

VMware vsphere. Administration VMware Inc. All rights reserved

Transcription:

SER1534BU vsphere Performance Troubleshooting and Root Cause Analysis Brett Guarino, VMware, Inc Steve Baca, VMware, Inc VMworld 2017 Content: Not for publication #VMworld #SER1534BU

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitment from VMware to deliver these features in any generally available product. Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features discussed or presented have not been determined. VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 2

Agenda 1 ESXTOP Overview 2 CPU Key Performance Indicators 3 Memory Key Performance Indicators 4 Network Key Performance Indicators 5 Storage Key Performance Indicators VMworld 2017 Content: Not for publication CONFIDENTIAL 3

ESXTOP Overview VMworld 2017 Content: Not for publication

ESXTOP Esxtop is the primary real-time performance monitoring tool for vsphere It can be run from an ESXi host local command line as esxtop It can be run remotely from vcli as resxtop Designed to work like the top performance utility in Linux The key performance indicators are viewed on individual resource screens by entering the appropriate keys. Commands are case sensitive. c m d u CPU screen (default) Memory screen Disk (adapter) screen Disk (device) screen v Virtual disk view (lowercase v) n f/f V h Network screen Add or remove statistic columns VMworld 2017 Content: Not for publication Virtual machine view (uppercase V) Help q Quit #SER1534BU CONFIDENTIAL 5

CPU Key Performance Indicators VMworld 2017 Content: Not for publication

Host CPU Co-Scheduler World VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 7

CPU Key Performance Indicators CPU Key Performance Indicators for ESXi Hosts Ready Time Utilization Load Average VMworld 2017 Content: Not for CPU Key Performance Indicators for Virtual Machines publication Ready Time (%RDY) Co-Stop (%CSTP) Swap Wait (%SWPWT) Memory Limited (%MLMTD) #SER1534BU CONFIDENTIAL 8

Example: Identifying CPU Constraint The %USED and %RDY columns of the resxtop command output indicate CPU overcommitment. VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 9

When to Right Size Virtual Machine vcpus What is Co-Stop? When a VM with multiple vcpus must stop processing on one or more vcpus. Why does Co-Stop Occur? The fastest sibling vcpu stops itself when it s slowest sibling vcpu on the VM violates a threshold. This is due to skew between sibling vcpus. The vcpus co-start when the slowest sibling begins to make progress. It progresses because scheduling opportunities are available once the fastest vcpus are co-stopped. How do I resolve CPU Co- Stop issues? Right size your VM s vcpus. When in doubt, mimic the physical host CPU topology to take advantage of physical/virtual NUMA. Consider Wide and Flat vcpu allocations. VMworld 2017 Content: Not for publication For configurations for VMs with greater than 8 vcpus, allocate X number of virtual sockets and a single virtual core. #SER1534BU CONFIDENTIAL 10

Memory Key Performance Indicators VMworld 2017 Content: Not for publication

Using esxtop to Monitor Memory Usage esxtop offers several options for monitoring memory usage Enter m to display the memory screen PMEM: installed MB VMKMEM: managed MB MINFREE: calculated MB MB of free RAM VMworld 2017 Content: Not for publication or distribution Possible States: High, Clear, Soft, Hard, Low #SER1534BU CONFIDENTIAL 12

ESXTOP Memory State Thresholds What is MinFree? Memory State Threshold Actions Performed High 300% of minfree Break Large Pages (wait for next TPS run) Clear 100% of MinFree Soft 64% of minfree TPS + Balloon Break Large Pages and active call TPS to collapse pages Hard 32% of minfree TPS + Compress + Swap VMworld 2017 Content: Not for publication Low 16% of minfree Compress + Swap + Block #SER1534BU CONFIDENTIAL 13

Host Memory Shortage KPI: Ballooning Activity in esxtop In the esxtop memory screen add the J field for virtual machine ballooning activity. Memory Balloon Statistics for the Host VMworld 2017 Content: Not for Configured Memory per VM Active Memory per VM Balloon Driver Installed? Physical Memory Held for Other VMs Max Balloon per VM publication Physical Memory Target to Reclaim #SER1534BU CONFIDENTIAL 14

Host Memory Shortage KPI: Compression Activity in esxtop In the esxtop memory screen add the Q field for virtual machine compression activity. Memory Compression Statistics for the Host n o i t ibu r t s i d or Calculated compression cache size n io t a c bli t o N nt: 7 1 0 2 rld Actively compressing memory per VM u p r fo te n o C o w M V Memory compressed in MB per VM #SER1534BU CONFIDENTIAL Accessing compressed memory per VM 15

Host Memory Shortage KPI: Swapping Activity in esxtop: Memory screen In the esxtop memory screen add the K field for virtual machine swapping activity. Total Memory Swapped for All Virtual Machines on Host Total Memory Swap Rate for All Virtual Machines on Host VMworld 2017 Content: Not for Swap Reads per Second Swap Writes per Second publication Swap Space Currently Used Swap Space Target #SER1534BU CONFIDENTIAL 16

Host Memory Shortage KPI: Swapping Activity in esxtop: CPU Screen In esxtop, the CPU screen can indicate memory swapping is occurring VMworld 2017 Content: Not for Percentage of Time Virtual Machine Has Waited for Swap Activity publication #SER1534BU CONFIDENTIAL 17

Networking Key Performance Indicators VMworld 2017 Content: Not for publication

Key Points to Monitor for Performance in the Network I/O Stack Measure which uplinks each Virtual NIC is using Measure network bandwidth per Virtual NIC Measure packet count and average packet size per Virtual NIC Measure dropped packets per Virtual NIC Virtual NICs Physical NICs Virtual Switch VMworld 2017 Content: Not for publication Measure network bandwidth per physical NIC Measure packet count and average packet size per physical NIC Measure dropped packets per physical NIC #SER1534BU CONFIDENTIAL 19

Network Usage Using CPU View in esxtop: Linux01 is Client and Linux02(expanded) is Server on Same ESXi Tx Thread Usage Higher since VMs on same ESXi %SYS vmx is processing interrupts and other system activities to receive packets by Netpoll threads VMworld 2017 Content: Not for publication or distribution CPU Usage Enter c to display the CPU screen #SER1534BU CONFIDENTIAL 20

Key Performance Indicators in esxtop VMworld 2017 Packets Transmitted per Virtual NIC Network Bandwidth Transmitted per Virtual NIC Average Packet Size Transmitted per Virtual NIC Content: Not for publication Enter n to display the Network screen #SER1534BU CONFIDENTIAL 21

Key Performance Indicators in esxtop VMworld 2017 Packets Received per Virtual NIC Network Bandwidth Received per Virtual NIC Average Packet Size Received per Virtual NIC Dropped Packets per Virtual NIC Content: Not for publication Enter n to display the Network screen #SER1534BU CONFIDENTIAL 22

Key Performance Indicators in esxtop VMworld 2017 Packets Transmitted per physical NIC Network Bandwidth Transmitted per physical NIC Average Packet Size Transmitted per physical NIC Content: Not for publication Enter n to display the Network screen #SER1534BU CONFIDENTIAL 23

Key Performance Indicators in esxtop VMworld 2017 Packets Received per Physical NIC Network Bandwidth Received per Physical NIC Average Packet Size Received per Physical NIC Dropped Packets per Physical NIC Content: Not for publication Enter n to display the Network screen #SER1534BU CONFIDENTIAL 24

Dropped Network Packets 1 2 3 4 Packet data might have to be buffered before being passed to the next step in the delivery process. Network packets are buffered in queues in the following cases: The destination is not ready to receive the packets. The network is too busy to send the packets. The queues are finite in size: Virtual NIC devices buffer packets when they cannot be handled immediately. If the queue in the virtual NIC fills, packets are buffered by the virtual switch port. When these queues fill up, no more packets can be received, causing additional arriving packets to be dropped. VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 25

Storage Key Performance Indicators VMworld 2017 Content: Not for publication

Where Can Storage Problems Exist? A disk network is only as fast as the slowest device in the network. Problems may arise at: Virtual Machine VMDK ESXi Host HBA/NIC Storage Network Switches SAN Processors SAN Network Interfaces VMworld 2017 Given the areas of interest, how do I quickly identify my point(s) of constraint? With ESXTOP and understanding storage KPIs (key performance indicators) Content: Not for publication #SER1534BU CONFIDENTIAL 27

Common Storage KPIs (Key Performance Indicators) What are IOPs? IOPs are disk Input/Outputs or Reads/Writes per second What is a SCSI command? Any disk command; includes reads and writes, but also additional disk needs like SCSI reservations What is a SCSI reservation? Temporarily locks a LUN for metadata protection. Mitigated by VAAI hardware acceleration VMworld 2017 Content: Not for publication What is latency? Time a SCSI command spends in transit from source to destination and back. Measured in milliseconds What is throughput? The total sum of data transferred, measured in MBps #SER1534BU CONFIDENTIAL 28

Identifying Storage Options from the Default CPU Screen Lowercase v Per virtual machine per vmdk disk view Lowercase u Per LUN disk view VMworld 2017 Content: Not for publication Lowercase d Per HBA/RAID card disk view #SER1534BU CONFIDENTIAL 29

Storage KPI Monitoring Thresholds DAVG - 15-20ms* KAVG - 2-3ms* IOPS We want ALL THE IOPs! SCSI CMD ABORTS 0 at all times VMworld 2017 Content: Not for publication *Varies with application tolerance for latency #SER1534BU CONFIDENTIAL 30

ESXTOP Storage Views Adapter view: Enter d. Device view: Enter u. Virtual machine view: Enter v. VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 31

ESXTOP KPI and Storage Construct Mapping KPIs: IOPs/Latency/ Throughput KPIs: IOPs/Latency/ Throughput KPIs: IOPs/Latency/ Throughput Lowercase v Is VMs View Lowercase d Is Device View VMworld 2017 Content: Not for publication Lowercase u Is LUN View #SER1534BU CONFIDENTIAL 32

ESXTOP Device (HBA) View Screen cap or live demo of HBA view Show vcenter server GUI information to identify storage constructs Physical Diagram showing HBA device and a software initiated iscsi device Press h to see help for the Device View screen and reveal Sort options: VMworld 2017 Content: Not for publication GUI based storage adapters view: #SER1534BU CONFIDENTIAL 33

ESXTOP LUN (Datastore Backing) View Show luns and relative metrics and ESXTOP LUN View Show conceptual diagram with LUN mapped as DATASTORE. Press h to see help for the Device View screen and reveal Sort options: VMworld 2017 Content: Not for publication GUI based LUN view: #SER1534BU CONFIDENTIAL 34

ESXTOP VM View Press h to see help for the Device View screen and reveal Sort options: Press e to see individual vmdk metrics on a per VMDK basis per VM: VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 35

Latency Explored VMworld 2017 Content: Not for Sum of all latency; Guest OS latency experience Time spent in vmkernel publication Time spent in queue Time for SCSI cmd to exit vmkernel, hit physical storage device and return. #SER1534BU CONFIDENTIAL 36

Correlation Between the ESXTOP Monitored Devices What does it mean when metrics on device/lun/vm are low/low, high/high, low/high and high/low?? High d/avg and low k/avg overworked array High k/avg and low d/avg overworked host Both high problem could be both or the SAN queueing so hard that the host backs up as well Both low ideal situation if I/O demands are met. VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 37

Additional Education Resources At VMworld 2017 Europe Education & Certification Lounge: VM Village Certification Exam Center: Jasmine EFG, Level 3 Online vsphere Training: www.vmware.com/go/vsphere65training VMware Training: www.vmware.com/education VMware Certification: www.vmware.com/certification Global Support Services Learn more about how VMware is radically transforming Customer Support through VMware Skyline technology. VMworld 2017 Content: Not for publication or Visit the demo booth within the Solutions Exchange Sign up for a Meet the Experts session in the Content Catalogue Visit www.vmware.com/support/service/skyline Save 50% distribution off VCP & VCAP exams at VMworld 2017 #SER1534BU CONFIDENTIAL 38

VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 39

VMworld 2017 Content: Not for publication #SER1534BU CONFIDENTIAL 40