Beruflich Dokumente
Kultur Dokumente
Nick Marshall
Integration Architect
VMware
2015 VMware Inc. All rights reserved.
Blog: NickMarshall.com.au
Twitter: @NickMarshall9
Community: AutoLab, vBrownBag
CONFIDENTIAL
Agenda
Conquering Performance
vSphere 6 Performance Features & General Recommendations
Performance Troubleshooting
Resources
CONFIDENTIAL
Conquering Performance
VMware
vSphere 5.5
VMware
vSphere 6
128 VCPUs
64 VCPUs
1TB RAM
4 TB RAM
HW v10
HW v11
1mm+ IOPS
>80Gb/s
1mm+ IOPS
>80Gb/s
CONFIDENTIAL
Reference: www.vmware.com/files/pdf/1M-iops-perf-vsphere5.pdf
CONFIDENTIAL
Reference: http://www.vmware.com/files/pdf/techpaper/latency-sensitive-perf-vsphere55.pdf
CONFIDENTIAL
Throughput Score
1400
470.31
OLTP Instance3
1200
1000
OLTP Instance2
468.11
OLTP Instance1
800
600
400
457.55
200
0
Virtual VMStpsE
Reference: http://blogs.vmware.com/vsphere/2013/09/worlds-first-tpc-vms-benchmark-result.html
CONFIDENTIAL
Virtualized Hadoop
12% better performance than native for TeraSort
Reference: http://blogs.vmware.com/performance/2015/02/virtualized-hadoop-performance-vsphere-6.html
CONFIDENTIAL
vSphere 5.5
vSphere 6.0
vCenter Recommendations
128 vCPUs
Virtual machines can now scale to 128 vCPUs supporting larger applications and databases
4TB RAM
Virtual machines can now scale to 4 TB RAM better supporting things like in-memory databases
Enable Hyper-Threading
vSphere understands and uses Hyper-Threading to its advantage
NetIOC v3
Reserve bandwidth to guarantee service levels
Network Recommendations
VSAN 6.0
7 Million IOPS, <2 ms Latency
VVOLs
Performance the same or better as previous forms of storage integration
Storage Recommendations
Performance Troubleshooting
esxtop
2 sec data points, VERY granular, not scalable across hosts
vRealize Operations
5 min data points, very scalable, best starting view
VSAN Observer
Most detailed tool to troubleshoot VSAN related performance
3rd Party
Ensure you know what the counters mean and their sample rate
Suggested Methodology
Storage
What are my
config/tuning options?
Network
Guest
Acceptable?
no
yes
Memory
CPU
Guest
A = Application Latency
File
System
I/O Drivers
A
R
Windows
Device Queue
S
Virtual SCSI
VMkernel
File System
R = Perfmon
Physical Disk
Disk Secs/transfer
S = Windows
Physical Disk Service Time
G = Guest Latency
K
K = ESX Kernel
D = Device Latency
Co-Stop (%CSTP)
% time a vCPU in an SMP virtual machine is stopped from executing, so that another vCPU in the same virtual machine could be
run to catch-up and make sure the skew between the two virtual processors doesnt grow too large
Investigation Threshold: 3%
Used (%USED)
Make sure the VM is not oversized.
Swapping (SWCUR)
the current amount of guest physical memory that is swapped out to the ESX kernel VM swap file.
Investigation Threshold: 1
Resources
i Interrupts
d Disk Adapter
u Disk Device
v Disk VM
p Power states
@lessi001
running-system.com
>25
DAVG: Latency at the device driver level ABRTS/s: Commands aborted per second
If the storage system has not responded within 60 seconds VMs with an
Indicator for storage performance
>25 Windows Operating System will issue an abort.
troubles
Disk d Fields: A B G J
Possible cause: Storage performance issue | latency to a device in the VM configuration eg. USB device, serial
pass-through device or parallel pass-through device
100
%RDY: Percentage of time a VM was waiting to be scheduled.If you note values between
five and ten percent take care.
>10
Possible reasons: too many vCPUs, too many vSMP VMs or a CPU limit setting (check
%MLMTD)
%VMWAIT: percentage of time a VM was waiting for some VMkernel activity to complete (such as I/O) before it
can continue. Includes %SWPWT and "blocked", but not IDLE Time (as %WAIT does).
Memory Status:
high
enough free memory available
soft
< 4% free memory: Host reclaim memory by balloon driver
hard
< 2% free memory: Host starts to swap, you will see performance troubles
low
< 1% free memory: ESX stop the VMs to allocate more RAM
%USED: CPU Core cycles used by a VM. High values are an indicator
for VMs causing performance problems on ESXi Hosts.
CPU c Fields: D F
SWR/s, SWW/s: Rate at which the ESXi Host is writing to or reading from swapped memory. Possible
1
cause: memory overcommitment.
Memory m Fields: B D J K Q
Network n Fields: A B C D E F K L
f
V
2
8
m Memory
c CPU
n Network
www.running-system.com
Andreas Lesslhumer
Resources
VMwares Performance Technical Whitepapers
http://www.vmware.com/resources/techresources/cat/91,96
VMwares Tech-Marketing Performance Blog
http://blogs.vmware.com/vsphere/performance/
VMwares Perf-Eng Blog (VROOM!)
http://blogs.vmware.com/performance
Performance Community Forum
http://communities.vmware.com/community/vmtn/general/performance
VMware Performance Links Master List
https://communities.vmware.com/docs/DOC-25253
Virtualizing Business Critical Applications
http://www.vmware.com/solutions/business-critical-apps/
CONFIDENTIAL
33
Resources
Performance Best Practices
http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.0.pdf
http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.1.pdf
http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.5.pdf
vSphere 6.0 coming soon!
Troubleshooting Performance Related Problems in vSphere Environments
http://communities.vmware.com/docs/DOC-19166 (vSphere 5)
http://communities.vmware.com/docs/DOC-23094 (vSphere 5.x with vCOps)
CONFIDENTIAL
34
Resources
Virtualizing Microsoft Business Critical Applications on VMware vSphere
by: Matt Liebowitz, Alexander Fontana
VMware vSphere Performance: Designing CPU, Memory, Storage, and Networking for PerformanceIntensive Workloads
By: Matt Liebowitz, Christopher Kusek, Rynardt Spies
35
Resources
VMware Hands-On-Labs
http://labs.hol.vmware.com/
HOL-SDC-1404:
vSphere Performance Optimization This has always been one of the most popular labs and has content for both
the beginner and the advanced vSphere Administrator. You can learn more about the basics of vSphere
Performance or delve into esxtop, or vNUMA.
http://labs.hol.vmware.com/HOL/#lab/1474
CONFIDENTIAL
36
Thank You