SlideShare a Scribd company logo
VMware Performance TroubleshootingPresented by Chris Kranz
Topics CoveredIntroductionRoot Cause AnalysisPerformance CharacteristicsCPUNetworkingMemoryDiskVirtual Machine optimisationESXTopvm-supportService ConsoleResource GroupsDesign GuidelinesCapacity Planner limitations and cautionsConclusionReference Articles
IntroductionMultiple layers of virtualisation are used to increase service levels, availability and manageabilityHowever, multiple layers of virtualisation often mask performance and configuration issues making it more of a challenge to troubleshoot and correctThe worst out come is that performance issues after a virtualisation project lead to the perception that VMware results in reduced performance and future confidence in VMware can be affected
Virtual Machine ResourcesCPUMemoryDiskNetworkingPerformance Basics
Resource Maximumshttp://www.vmware.com/pdf/vsphere4/r40/vsp_40_config_max.pdf
Typical HostTypical 3 VMs per core, 24VM’s per HostEach has 2GB of RAM = 48GB of RAM
Root Cause Analysishttp://www.vmware.com/resources/techresources/10066
Root Cause ...
Do not rely on guest tools, butCan show high CPU, & Memory UtilisationMeasurement of Latency & throughput of Disk & Network InterfacesUse the virtualisation layer, to diagnose cause:Guest is unaware of virtualisation workloadThe way in which guest OS’s account time is differentNo visibility of available resourcesMonitoring Performance
esxtop (service console only)resxtop (remote command line utilities)Performance graphs in vCentrePerformance Analysis Tools
esxtop can be run:Interactively Batch  (eg. esxtop -a -b > analysis.csv)Load batch into windows perfmon or MS ExcelTwo keys to rememberH : helpF : fields to displayesxtop
esxtop basicsHost ResourcesName of Resource Pool, Virtual Machine  or WorldNumber of Worlds
Performance CharacteristicsCPUNetworkingMemoryDiskSlow ProcessingHigh CPU WaitPacket LossSlow NetworkSlow ProcessingDisk SwappingLog StallsDisk QueueSlow Application PerformanceReduced User ExperienceData Loss and Corruption
CPUESX SchedulerBasic World StatesRead / Run / WaitCPU StatesReady / Usage / WaitServiceConsoleVirtualMachineLimits / Shares / Reservations
CPUHigh %RDY + High %User can imply over commitmentesxtopPCPU(%): CPU utilization
%USED: Utilization
%RDY: Ready Time
%RUN: Run Time
%WAIT: Wait and idling timeCPUVI-ClientUsed Time > Ready Time: Possible CPU over-committmentUsed TimeReady Time
CPUFurther Investigation%MLMTD shows this VM has been limited
CPUFurther InvestigationHigh ready time caused by CPU resource limit
VMware Memory Management Transparent Page Sharing
 VMware Tools Balloon Driver to force the VM to swap to disk
 Virtual Machine Page FileMemoryBallooning vs. SwappingBallooning driver causes the host to swap pages that it chooses to diskESX Swapping will swap any pages to disk.
Ballooning can be disabled (0 value) or controlled on a per Virtual Machine basis using:sched.mem.maxmemctlDefault is set to 65%, can be controlled at host level.Only is an issue in resource contention scenarios. (or VM’s with low latency eg Citrix)Memory
Memory - HostVI Client shows memory usage of the host. This is calculated as “consumed + overhead memory + Service Console”.Performance charts are a very good way of showing the Virtual Machine memory breakdown.  Consumed Memory
 Ballooned Memory
 Shared Memory
 Swapped MemoryMemory - GuestHost Memory = Consumed + Overhead MemoryGuest Memory = Active Memory for Guest OS
Memory – Guest Overhead
MemoryVirtual Machine Memory Metrics – VI Client
MemoryHost Memory Metrics – VI Client
MemoryPMEM: Total physical memory breakdownVMKMEM: Memory managed by vmkernelCOSMEM: Service Console memory breakdownPSHARE: Page sharing statisticsSWAP: Swap statisticsMEMCTL: Balloon driver dataesxtop
Memoryesxtop / VI Client metrics : Virtual Machines
Memoryesxtop / VI Client metrics : Host Usage
MemoryVI Client memory usage graph
MemoryTroubleshooting Memory usage issues
NetworkingSwitch Assisted Teaming (IP Hash)
VLAN Trunking
Flow Control (full)
Speed & Duplex (1000Mb / Full)
Port Fast
BPDU Disabled
STP Disabled
Link State Tracking
Jumbo FramesNetwork configuration is more likely to blame than resource contention
NetworkingesxtopTransmit and Receive in Mb/sTransmit and Receive in Packets
NetworkingesxtopDropped Packets TransmitDrop Packets Received
DiskVarying Factors File system performance
 Disk subsystem configuration (SAN, NAS, iSCSI, local disk)
 Disk caching
 Disk formats (thick, sparse, thin)ESX Storage StackDifferent latencies for different disks
Queuing within the kernelK: KernelD: DeviceG: Guest
DiskVI Client statisticsQuite Coarse Statistics Disk read / write rate (KB/s)

More Related Content

PDF
VMware vSphere Networking deep dive
Vepsun Technologies
 
PPTX
Esxi troubleshooting
Ovi Chis
 
PPTX
NSX-T Architecture and Components.pptx
Atif Raees
 
PDF
What’s New in VMware vSphere 7?
Insight
 
PDF
VMware vSphere Networking deep dive
Sanjeev Kumar
 
PPTX
Server virtualization
Kingston Smiler
 
PDF
Managing ESXi - Tools and Techniques
Christopher Janoch
 
PPT
An Introduction To Server Virtualisation
Alan McSweeney
 
VMware vSphere Networking deep dive
Vepsun Technologies
 
Esxi troubleshooting
Ovi Chis
 
NSX-T Architecture and Components.pptx
Atif Raees
 
What’s New in VMware vSphere 7?
Insight
 
VMware vSphere Networking deep dive
Sanjeev Kumar
 
Server virtualization
Kingston Smiler
 
Managing ESXi - Tools and Techniques
Christopher Janoch
 
An Introduction To Server Virtualisation
Alan McSweeney
 

What's hot (20)

PDF
VSAN – Architettura e Design
VMUG IT
 
PPT
Server virtualization by VMWare
sgurnam73
 
PPTX
VMware vSphere 6.0 - Troubleshooting Training - Day 1
Sanjeev Kumar
 
PDF
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
Ji-Woong Choi
 
PPTX
Building a Stretched Cluster using Virtual SAN 6.1
Duncan Epping
 
PPTX
VMware Advance Troubleshooting Workshop - Day 3
Vepsun Technologies
 
PPTX
VMware vSphere Performance Troubleshooting
Dan Brinkmann
 
PPTX
VMware Advance Troubleshooting Workshop - Day 2
Vepsun Technologies
 
PPTX
VMware ESXi 6.0 Installation Process
NetProtocol Xpert
 
PPTX
VMware virtual SAN 6 overview
solarisyougood
 
PPTX
vSAN architecture components
David Pasek
 
PDF
Presentation vmware building “your cloud”
solarisyourep
 
PPTX
Virtualization
Kumar Harsha
 
PDF
Volume Encryption In CloudStack
ShapeBlue
 
PPT
VMWARE ESX
Yogeshwaran R
 
PDF
AWS Summit Seoul 2023 | 천만 사용자를 위한 카카오의 AWS Native 글로벌 채팅 서비스
Amazon Web Services Korea
 
PPTX
OpenvSwitch Deep Dive
rajdeep
 
PDF
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
Amazon Web Services Korea
 
PDF
Collabnix Online Webinar - Demystifying Docker & Kubernetes Networking by Bal...
Ajeet Singh Raina
 
PPTX
Comprehensive Terraform Training
Yevgeniy Brikman
 
VSAN – Architettura e Design
VMUG IT
 
Server virtualization by VMWare
sgurnam73
 
VMware vSphere 6.0 - Troubleshooting Training - Day 1
Sanjeev Kumar
 
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
Ji-Woong Choi
 
Building a Stretched Cluster using Virtual SAN 6.1
Duncan Epping
 
VMware Advance Troubleshooting Workshop - Day 3
Vepsun Technologies
 
VMware vSphere Performance Troubleshooting
Dan Brinkmann
 
VMware Advance Troubleshooting Workshop - Day 2
Vepsun Technologies
 
VMware ESXi 6.0 Installation Process
NetProtocol Xpert
 
VMware virtual SAN 6 overview
solarisyougood
 
vSAN architecture components
David Pasek
 
Presentation vmware building “your cloud”
solarisyourep
 
Virtualization
Kumar Harsha
 
Volume Encryption In CloudStack
ShapeBlue
 
VMWARE ESX
Yogeshwaran R
 
AWS Summit Seoul 2023 | 천만 사용자를 위한 카카오의 AWS Native 글로벌 채팅 서비스
Amazon Web Services Korea
 
OpenvSwitch Deep Dive
rajdeep
 
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
Amazon Web Services Korea
 
Collabnix Online Webinar - Demystifying Docker & Kubernetes Networking by Bal...
Ajeet Singh Raina
 
Comprehensive Terraform Training
Yevgeniy Brikman
 
Ad

Viewers also liked (20)

PDF
VMware Performance for Gurus - A Tutorial
Richard McDougall
 
PPTX
VMware Advance Troubleshooting Workshop - Day 4
Vepsun Technologies
 
PPTX
VMware Advance Troubleshooting Workshop - Day 6
Vepsun Technologies
 
PPTX
VMware Advance Troubleshooting Workshop - Day 5
Vepsun Technologies
 
PPTX
VMware vSphere technical presentation
aleyeldean
 
PPTX
Making of the Burner Board
Richard McDougall
 
PDF
Virtualizing Oracle Databases with VMware
Richard McDougall
 
PPTX
VMworld 2015: Troubleshooting for vSphere 6
VMworld
 
PPTX
A Comprehensive Implementation and Evaluation of Direct Interrupt Delivery
Cheng-Chun William Tu
 
PDF
Advanced performance troubleshooting using esxtop
Alan Renouf
 
PPTX
С Юбилеем дорогая сестра
regi666
 
PPTX
Taking VMware Performance Monitoring Beyond VCOPS
eG Innovations
 
PDF
Is your cloud ready for Big Data? Strata NY 2013
Richard McDougall
 
PDF
Inside the Hadoop Machine @ VMworld
Richard McDougall
 
PDF
Vsphere esxi-vcenter-server-55-setup-mscs
Dhymas Mahendra
 
PDF
Vsphere esxi-vcenter-server-601-setup-mscs
kanth2161
 
PDF
Architecting Virtualized Infrastructure for Big Data
Richard McDougall
 
PDF
Accelerating virtualized Oracle 12c performance with vSphere 5.5 advanced fea...
Principled Technologies
 
PPTX
MCSA 70-412 Chapter 11
Computer Networking
 
PDF
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Richard McDougall
 
VMware Performance for Gurus - A Tutorial
Richard McDougall
 
VMware Advance Troubleshooting Workshop - Day 4
Vepsun Technologies
 
VMware Advance Troubleshooting Workshop - Day 6
Vepsun Technologies
 
VMware Advance Troubleshooting Workshop - Day 5
Vepsun Technologies
 
VMware vSphere technical presentation
aleyeldean
 
Making of the Burner Board
Richard McDougall
 
Virtualizing Oracle Databases with VMware
Richard McDougall
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld
 
A Comprehensive Implementation and Evaluation of Direct Interrupt Delivery
Cheng-Chun William Tu
 
Advanced performance troubleshooting using esxtop
Alan Renouf
 
С Юбилеем дорогая сестра
regi666
 
Taking VMware Performance Monitoring Beyond VCOPS
eG Innovations
 
Is your cloud ready for Big Data? Strata NY 2013
Richard McDougall
 
Inside the Hadoop Machine @ VMworld
Richard McDougall
 
Vsphere esxi-vcenter-server-55-setup-mscs
Dhymas Mahendra
 
Vsphere esxi-vcenter-server-601-setup-mscs
kanth2161
 
Architecting Virtualized Infrastructure for Big Data
Richard McDougall
 
Accelerating virtualized Oracle 12c performance with vSphere 5.5 advanced fea...
Principled Technologies
 
MCSA 70-412 Chapter 11
Computer Networking
 
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Richard McDougall
 
Ad

Similar to VMware Performance Troubleshooting (20)

PPTX
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Suresh Kumar
 
PPTX
Vmwareperformancetroubleshooting 100224104321-phpapp02
Suresh Kumar
 
PDF
Presentation v mware performance overview
solarisyourep
 
PDF
Hyper-V Best Practices & Tips and Tricks
Amit Gatenyo
 
PPT
Tech X Virtualization Tips
Youssef EL HADJ
 
PPT
VMWare Performance Tuning by Virtera (Jan 2009)
vmug
 
PPT
Del 1
webhostingguy
 
PDF
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld
 
PPT
Using Virtualization To Improve Development And Testing
elliando dias
 
PPTX
Storage and hyper v - the choices you can make and the things you need to kno...
Louis Göhl
 
PDF
Presentation v mware v-sphere advanced troubleshooting by eric sloof
solarisyourep
 
PPT
3487570
solarisyougood
 
PPT
FalconStor NSS Presentation
rpsprowl
 
PPTX
Windows Server 2008 R2 Hyper V
Amit Gatenyo
 
PPTX
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Unidesk Corporation
 
PPTX
Sql saturday dc vm ware
Joseph D'Antoni
 
PDF
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld
 
PDF
Exchange 2010 New England Vmug
csharney
 
PPTX
South jersey sql virtualization
Joseph D'Antoni
 
PPTX
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
Michael Noel
 
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Suresh Kumar
 
Vmwareperformancetroubleshooting 100224104321-phpapp02
Suresh Kumar
 
Presentation v mware performance overview
solarisyourep
 
Hyper-V Best Practices & Tips and Tricks
Amit Gatenyo
 
Tech X Virtualization Tips
Youssef EL HADJ
 
VMWare Performance Tuning by Virtera (Jan 2009)
vmug
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld
 
Using Virtualization To Improve Development And Testing
elliando dias
 
Storage and hyper v - the choices you can make and the things you need to kno...
Louis Göhl
 
Presentation v mware v-sphere advanced troubleshooting by eric sloof
solarisyourep
 
FalconStor NSS Presentation
rpsprowl
 
Windows Server 2008 R2 Hyper V
Amit Gatenyo
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Unidesk Corporation
 
Sql saturday dc vm ware
Joseph D'Antoni
 
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld
 
Exchange 2010 New England Vmug
csharney
 
South jersey sql virtualization
Joseph D'Antoni
 
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
Michael Noel
 

VMware Performance Troubleshooting