SlideShare a Scribd company logo
1 of 29
Application Performance in
Virtualized Environments
Todor Tsankov,
Cloud Service Engineer
Agenda
1 CPU Resources
2 Memory Resources
3 Storage Resources
4 Network Resources
2
Managing CPU Resources
CPU - Features
• Fair proportional scheduling:
– Shares
– Limit
– Reservation
• vSMP / Co-scheduling
• Hypethreading
• Intel VT-x / AMD-V
• NUMA / prefer-HT
• vNUMA
4
CPU - NUMA
5
CPU - vNUMA
6
CPU – NUMA and Hyperthreading
7
CPU - Monitoring
• Ready (%RDY)
– % time a vCPU was ready to be scheduled on a physical processor but couldn’t due to processor
contention
– Investigation Threshold: 10% per vCPU
• Co-Stop (%CSTP)
– % time a vCPU in an SMP virtual machines is “stopped” from executing, so that another vCPU in the
same virtual machine could run to “catch-up” and make sure the skew between the two virtual
processors doesn’t grow too large
– Investigation Threshold: 3%
8
CPU – Best Practices
• Do not over-allocate vCPUs
• Create single vCPU VMs whenever possible
• Enable Hyperthreading
• Right Size the VM
– vCPU count should be less or equal to the number of cores in a single physical CPU (single NUMA
node)
9
Managing Memory Resources
Memory - Features
• Allow memory over-commitment
• Fair proportional memory scheduling
– Scheduling parameters:
• Shares
• Limit
• Reservation
• Support for large pages
– Performance increased by 10 to 30%
• Intel EPT / AMD RVI
11
Memory - Mapping
• Three types of memory address spaces
– Virtual memory
– Physical memory
– Machine memory
12
Memory - Mapping
• Hardware accelerated virtualization (Intel EPT / AMD RVI)
– Handle shadow mapping in the hardware
– Tagged Translation Look-aside Buffers (TLB)
13
Memory - Reclamation
• Transparent page sharing
– most efficient
• Memory Ballooning
– always install latest version of VMware tools
• Memory Compression
– may sound strange, but this is much faster than swapping
• Virtual Machines Swap
– Hypervisor swap, not to be confused with OS swap file/partition
14
Memory - Reclamation - Transparent Page Sharing (TPS)
Background process for removing duplicate memory pages
15
Memory – Reclamation - Ballooning
“Pushes” memory pressure from ESX host into VM
16
Memory - Reclamation - Compression
Essentially “zips” memory instead of swapping it so that it uses less space in RAM
17
Memory - Reclamation - Swapping
Writes VM memory from physical RAM out to disk
18
Memory - Monitoring
• Balloon driver size (MCTLSZ)
– The total amount of guest physical memory reclaimed by the balloon driver
– Investigation Threshold: 1
• Swapping (SWCUR)
– The current amount of guest physical memory that is swapped out to the ESX kernel VM swap file
– Investigation Threshold: 1
• Swap Reads/sec (SWR/s)
– The rate at which machine memory is swapped in from disk
– Investigation Threshold: 1
• Swap Writes/sec (SWW/s)
– the rate at which machine memory is swapped out to disk
– Investigation Threshold: 1
19
Memory – Best Practices
• Do not overcommit memory
• Configure swap in your Guest Operating System
– Size it to be at least equal to the configured vRAM for the VM
– Put the swapping partition or swap file (for Windows) in separate virtual disk
• Install VMware tools
– This enables the ballooning driver and enables the VMkernel to use the best memory reclamation
technique
• Enable Intel EPT / AMD RVI in the ESX host BIOS
• Use large memory pages in guest OS
– Minimizes the TLB misses
20
Managing Storage Resources
Storage - Overhead
22
Storage – Monitoring
• Kernel Latency Average (KAVG)
– This counter tracks the latencies of IO passing thru the Kernel
– Investigation Threshold: 1ms
• Device Latency Average (DAVG)
– This is the latency seen at the device driver level. It includes the roundtrip thime between the HBA and
the storage
– Investigation Threshold: 15-20ms, lower is better, some spikes are okay
• Abort (ABRT/s)
– The number of commands aborted per second
– Investigation Threshold: 1
23
Storage – Best Practices
• Separate VM disk on different physical disks if needed
• Do not oversize VM disks
– VM disk can be expanded, but it is difficult to shrink
• Preprovision VM disks
– Don’t use thin provisioned disk for mission critical applications
• Install VMware Tools
– Installs optimized, specific OS drivers for the SCSI controllers
• Align guest OS disks
– Most modern OS does this automatically
24
Managing Network Resources
Network - Components
26
Network - Monitoring
• Transmit Dropped Packets (%DRPTX)
– The percentage of transmit packets dropped
– Investigation Threshold: 1ms
• Receive Dropped Packets (%DRPRX)
– The percentage of received packets dropped
– Investigation Threshold: 1ms
27
Network - Best Practices
• Load balance on vSwitch level, not inside VM
– Allow the Hypervisor to do the network teaming
• Install VMware Tools
– Installs optimized, specific OS drivers for the NIC adapters
• Use VMXNET3 vNIC adapters when possible
– Support for most modern OS
28
Thank You
Questions & Answers

More Related Content

What's hot

My notes on vCloud Director and Snapshots
My notes on vCloud Director and SnapshotsMy notes on vCloud Director and Snapshots
My notes on vCloud Director and Snapshotstechstarts
 
What every data programmer needs to know about disks
What every data programmer needs to know about disksWhat every data programmer needs to know about disks
What every data programmer needs to know about disksiammutex
 
Virtual Infrastructure Disaster Recovery
Virtual Infrastructure Disaster RecoveryVirtual Infrastructure Disaster Recovery
Virtual Infrastructure Disaster RecoveryDavoud Teimouri
 
LizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-webLizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-webSzymon Haly
 
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens Axboe
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens AxboeKernel Recipes 2017 - What's new in the world of storage for Linux - Jens Axboe
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens AxboeAnne Nicolas
 
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 InstanceExtreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 InstanceScyllaDB
 
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy Rosen
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy RosenEmbedded Recipes 2017 - Reliable monitoring with systemd - Jérémy Rosen
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy RosenAnne Nicolas
 
Performance Tuning a Cloud Application: A Real World Case Study
Performance Tuning a Cloud Application: A Real World Case StudyPerformance Tuning a Cloud Application: A Real World Case Study
Performance Tuning a Cloud Application: A Real World Case Studyshane_gibson
 
Rootconf nilesh2012
Rootconf nilesh2012Rootconf nilesh2012
Rootconf nilesh2012nilesh_b
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storageMarian Marinov
 
Comparison of foss distributed storage
Comparison of foss distributed storageComparison of foss distributed storage
Comparison of foss distributed storageMarian Marinov
 
Where Did All These Cycles Go?
Where Did All These Cycles Go?Where Did All These Cycles Go?
Where Did All These Cycles Go?ScyllaDB
 
Reconnaissance of Virtio: What’s new and how it’s all connected?
Reconnaissance of Virtio: What’s new and how it’s all connected?Reconnaissance of Virtio: What’s new and how it’s all connected?
Reconnaissance of Virtio: What’s new and how it’s all connected?Samsung Open Source Group
 
Rust, Wright's Law, and the Future of Low-Latency Systems
Rust, Wright's Law, and the Future of Low-Latency SystemsRust, Wright's Law, and the Future of Low-Latency Systems
Rust, Wright's Law, and the Future of Low-Latency SystemsScyllaDB
 
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...ScyllaDB
 
Ceph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA UpdateCeph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA UpdateDanielle Womboldt
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and TunePaul V. Novarese
 
Progress Openedge performance management
Progress Openedge performance managementProgress Openedge performance management
Progress Openedge performance managementYassine MOALLA
 
Progress OE performance management
Progress OE performance managementProgress OE performance management
Progress OE performance managementYassine MOALLA
 

What's hot (20)

My notes on vCloud Director and Snapshots
My notes on vCloud Director and SnapshotsMy notes on vCloud Director and Snapshots
My notes on vCloud Director and Snapshots
 
What every data programmer needs to know about disks
What every data programmer needs to know about disksWhat every data programmer needs to know about disks
What every data programmer needs to know about disks
 
Virtual Infrastructure Disaster Recovery
Virtual Infrastructure Disaster RecoveryVirtual Infrastructure Disaster Recovery
Virtual Infrastructure Disaster Recovery
 
LizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-webLizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-web
 
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens Axboe
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens AxboeKernel Recipes 2017 - What's new in the world of storage for Linux - Jens Axboe
Kernel Recipes 2017 - What's new in the world of storage for Linux - Jens Axboe
 
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 InstanceExtreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
 
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy Rosen
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy RosenEmbedded Recipes 2017 - Reliable monitoring with systemd - Jérémy Rosen
Embedded Recipes 2017 - Reliable monitoring with systemd - Jérémy Rosen
 
Performance Tuning a Cloud Application: A Real World Case Study
Performance Tuning a Cloud Application: A Real World Case StudyPerformance Tuning a Cloud Application: A Real World Case Study
Performance Tuning a Cloud Application: A Real World Case Study
 
Rootconf nilesh2012
Rootconf nilesh2012Rootconf nilesh2012
Rootconf nilesh2012
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
 
Comparison of foss distributed storage
Comparison of foss distributed storageComparison of foss distributed storage
Comparison of foss distributed storage
 
Where Did All These Cycles Go?
Where Did All These Cycles Go?Where Did All These Cycles Go?
Where Did All These Cycles Go?
 
Reconnaissance of Virtio: What’s new and how it’s all connected?
Reconnaissance of Virtio: What’s new and how it’s all connected?Reconnaissance of Virtio: What’s new and how it’s all connected?
Reconnaissance of Virtio: What’s new and how it’s all connected?
 
Rust, Wright's Law, and the Future of Low-Latency Systems
Rust, Wright's Law, and the Future of Low-Latency SystemsRust, Wright's Law, and the Future of Low-Latency Systems
Rust, Wright's Law, and the Future of Low-Latency Systems
 
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
Vanquishing Latency Outliers in the Lightbits LightOS Software Defined Storag...
 
Redis Persistence
Redis  PersistenceRedis  Persistence
Redis Persistence
 
Ceph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA UpdateCeph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA Update
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and Tune
 
Progress Openedge performance management
Progress Openedge performance managementProgress Openedge performance management
Progress Openedge performance management
 
Progress OE performance management
Progress OE performance managementProgress OE performance management
Progress OE performance management
 

Viewers also liked

3 12-2013 performance-testing_service_virtualization
3 12-2013 performance-testing_service_virtualization3 12-2013 performance-testing_service_virtualization
3 12-2013 performance-testing_service_virtualizationsilviasiqueirahp
 
Performance testing virtualized systems v5
Performance testing virtualized systems v5Performance testing virtualized systems v5
Performance testing virtualized systems v5Mentora
 
The 7 Secrets of Performance Management in Virtualized Environments
The 7 Secrets of Performance Management in Virtualized EnvironmentsThe 7 Secrets of Performance Management in Virtualized Environments
The 7 Secrets of Performance Management in Virtualized EnvironmentseG Innovations
 
Всемирный день стандартов
Всемирный день стандартовВсемирный день стандартов
Всемирный день стандартовlibusue
 
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN)
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN) Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN)
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN) Novy Khayra
 
Reinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationReinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationCA Technologies
 

Viewers also liked (7)

3 12-2013 performance-testing_service_virtualization
3 12-2013 performance-testing_service_virtualization3 12-2013 performance-testing_service_virtualization
3 12-2013 performance-testing_service_virtualization
 
Performance testing virtualized systems v5
Performance testing virtualized systems v5Performance testing virtualized systems v5
Performance testing virtualized systems v5
 
The 7 Secrets of Performance Management in Virtualized Environments
The 7 Secrets of Performance Management in Virtualized EnvironmentsThe 7 Secrets of Performance Management in Virtualized Environments
The 7 Secrets of Performance Management in Virtualized Environments
 
Всемирный день стандартов
Всемирный день стандартовВсемирный день стандартов
Всемирный день стандартов
 
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN)
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN) Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN)
Pemberdayaan Masyarakat Mengatasi Bahaya narkoba (P4GN)
 
Permendagri no.21 thn.2013 ttg fasilitasi pencegahan penyalahgunaan narkotika
Permendagri no.21 thn.2013 ttg fasilitasi pencegahan penyalahgunaan narkotikaPermendagri no.21 thn.2013 ttg fasilitasi pencegahan penyalahgunaan narkotika
Permendagri no.21 thn.2013 ttg fasilitasi pencegahan penyalahgunaan narkotika
 
Reinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationReinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service Virtualization
 

Similar to PlovDev 2016: Application Performance in Virtualized Environments by Todor Tsankov

webinar vmware v-sphere performance management Challenges and Best Practices
webinar vmware v-sphere performance management Challenges and Best Practiceswebinar vmware v-sphere performance management Challenges and Best Practices
webinar vmware v-sphere performance management Challenges and Best PracticesMetron
 
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Suresh Kumar
 
Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Suresh Kumar
 
Right-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual MachineRight-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual Machineheraflux
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesSolarWinds
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAlan Renouf
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0jln1028
 
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...Joao Galdino Mello de Souza
 
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & MemoryVMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & MemoryVMworld
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld
 
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce ServerInitial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce ServerBilly Newport
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoringAlan Renouf
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationpittmantony
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMdata://disrupted®
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMDevOps.com
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementIwan Rahabok
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld
 
Ambedded - how to build a true no single point of failure ceph cluster
Ambedded - how to build a true no single point of failure ceph cluster Ambedded - how to build a true no single point of failure ceph cluster
Ambedded - how to build a true no single point of failure ceph cluster inwin stack
 

Similar to PlovDev 2016: Application Performance in Virtualized Environments by Todor Tsankov (20)

VDI Design Guide
VDI Design GuideVDI Design Guide
VDI Design Guide
 
webinar vmware v-sphere performance management Challenges and Best Practices
webinar vmware v-sphere performance management Challenges and Best Practiceswebinar vmware v-sphere performance management Challenges and Best Practices
webinar vmware v-sphere performance management Challenges and Best Practices
 
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
 
Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02
 
Right-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual MachineRight-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual Machine
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databases
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtop
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0
 
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...
z/VM 6.3 - Mudanças de Comportamento do hypervisor para suporte de partições ...
 
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & MemoryVMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
 
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce ServerInitial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoring
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentation
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity Management
 
O ssvv72014
O ssvv72014O ssvv72014
O ssvv72014
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
 
Ambedded - how to build a true no single point of failure ceph cluster
Ambedded - how to build a true no single point of failure ceph cluster Ambedded - how to build a true no single point of failure ceph cluster
Ambedded - how to build a true no single point of failure ceph cluster
 

More from PlovDev Conference

Linux Resource Management - Мариян Маринов (Siteground)
Linux Resource Management - Мариян Маринов (Siteground)Linux Resource Management - Мариян Маринов (Siteground)
Linux Resource Management - Мариян Маринов (Siteground)PlovDev Conference
 
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...PlovDev Conference
 
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...PlovDev Conference
 
DevOps in the Cloud Валентин Христев (VMWare)
DevOps in the Cloud Валентин Христев (VMWare)DevOps in the Cloud Валентин Христев (VMWare)
DevOps in the Cloud Валентин Христев (VMWare)PlovDev Conference
 
Introduction to Android with Kotlin: Дончо Минков (Telerik Academy)
Introduction to Android with Kotlin:  Дончо Минков (Telerik Academy)Introduction to Android with Kotlin:  Дончо Минков (Telerik Academy)
Introduction to Android with Kotlin: Дончо Минков (Telerik Academy)PlovDev Conference
 
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин Владев
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин ВладевPlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин Владев
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин ВладевPlovDev Conference
 
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo RadulovskiPlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo RadulovskiPlovDev Conference
 

More from PlovDev Conference (7)

Linux Resource Management - Мариян Маринов (Siteground)
Linux Resource Management - Мариян Маринов (Siteground)Linux Resource Management - Мариян Маринов (Siteground)
Linux Resource Management - Мариян Маринов (Siteground)
 
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...
Интернет стандартите - къде и как се създават, и защо си струва да участвам?-...
 
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...
Приложение на изкуствен интелект при анализа на медийно съдържание в интернет...
 
DevOps in the Cloud Валентин Христев (VMWare)
DevOps in the Cloud Валентин Христев (VMWare)DevOps in the Cloud Валентин Христев (VMWare)
DevOps in the Cloud Валентин Христев (VMWare)
 
Introduction to Android with Kotlin: Дончо Минков (Telerik Academy)
Introduction to Android with Kotlin:  Дончо Минков (Telerik Academy)Introduction to Android with Kotlin:  Дончо Минков (Telerik Academy)
Introduction to Android with Kotlin: Дончо Минков (Telerik Academy)
 
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин Владев
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин ВладевPlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин Владев
PlovDev 2016: Оркестрация на контейнери с Kubernetes - Мартин Владев
 
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo RadulovskiPlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
 

Recently uploaded

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

PlovDev 2016: Application Performance in Virtualized Environments by Todor Tsankov

  • 1. Application Performance in Virtualized Environments Todor Tsankov, Cloud Service Engineer
  • 2. Agenda 1 CPU Resources 2 Memory Resources 3 Storage Resources 4 Network Resources 2
  • 4. CPU - Features • Fair proportional scheduling: – Shares – Limit – Reservation • vSMP / Co-scheduling • Hypethreading • Intel VT-x / AMD-V • NUMA / prefer-HT • vNUMA 4
  • 7. CPU – NUMA and Hyperthreading 7
  • 8. CPU - Monitoring • Ready (%RDY) – % time a vCPU was ready to be scheduled on a physical processor but couldn’t due to processor contention – Investigation Threshold: 10% per vCPU • Co-Stop (%CSTP) – % time a vCPU in an SMP virtual machines is “stopped” from executing, so that another vCPU in the same virtual machine could run to “catch-up” and make sure the skew between the two virtual processors doesn’t grow too large – Investigation Threshold: 3% 8
  • 9. CPU – Best Practices • Do not over-allocate vCPUs • Create single vCPU VMs whenever possible • Enable Hyperthreading • Right Size the VM – vCPU count should be less or equal to the number of cores in a single physical CPU (single NUMA node) 9
  • 11. Memory - Features • Allow memory over-commitment • Fair proportional memory scheduling – Scheduling parameters: • Shares • Limit • Reservation • Support for large pages – Performance increased by 10 to 30% • Intel EPT / AMD RVI 11
  • 12. Memory - Mapping • Three types of memory address spaces – Virtual memory – Physical memory – Machine memory 12
  • 13. Memory - Mapping • Hardware accelerated virtualization (Intel EPT / AMD RVI) – Handle shadow mapping in the hardware – Tagged Translation Look-aside Buffers (TLB) 13
  • 14. Memory - Reclamation • Transparent page sharing – most efficient • Memory Ballooning – always install latest version of VMware tools • Memory Compression – may sound strange, but this is much faster than swapping • Virtual Machines Swap – Hypervisor swap, not to be confused with OS swap file/partition 14
  • 15. Memory - Reclamation - Transparent Page Sharing (TPS) Background process for removing duplicate memory pages 15
  • 16. Memory – Reclamation - Ballooning “Pushes” memory pressure from ESX host into VM 16
  • 17. Memory - Reclamation - Compression Essentially “zips” memory instead of swapping it so that it uses less space in RAM 17
  • 18. Memory - Reclamation - Swapping Writes VM memory from physical RAM out to disk 18
  • 19. Memory - Monitoring • Balloon driver size (MCTLSZ) – The total amount of guest physical memory reclaimed by the balloon driver – Investigation Threshold: 1 • Swapping (SWCUR) – The current amount of guest physical memory that is swapped out to the ESX kernel VM swap file – Investigation Threshold: 1 • Swap Reads/sec (SWR/s) – The rate at which machine memory is swapped in from disk – Investigation Threshold: 1 • Swap Writes/sec (SWW/s) – the rate at which machine memory is swapped out to disk – Investigation Threshold: 1 19
  • 20. Memory – Best Practices • Do not overcommit memory • Configure swap in your Guest Operating System – Size it to be at least equal to the configured vRAM for the VM – Put the swapping partition or swap file (for Windows) in separate virtual disk • Install VMware tools – This enables the ballooning driver and enables the VMkernel to use the best memory reclamation technique • Enable Intel EPT / AMD RVI in the ESX host BIOS • Use large memory pages in guest OS – Minimizes the TLB misses 20
  • 23. Storage – Monitoring • Kernel Latency Average (KAVG) – This counter tracks the latencies of IO passing thru the Kernel – Investigation Threshold: 1ms • Device Latency Average (DAVG) – This is the latency seen at the device driver level. It includes the roundtrip thime between the HBA and the storage – Investigation Threshold: 15-20ms, lower is better, some spikes are okay • Abort (ABRT/s) – The number of commands aborted per second – Investigation Threshold: 1 23
  • 24. Storage – Best Practices • Separate VM disk on different physical disks if needed • Do not oversize VM disks – VM disk can be expanded, but it is difficult to shrink • Preprovision VM disks – Don’t use thin provisioned disk for mission critical applications • Install VMware Tools – Installs optimized, specific OS drivers for the SCSI controllers • Align guest OS disks – Most modern OS does this automatically 24
  • 27. Network - Monitoring • Transmit Dropped Packets (%DRPTX) – The percentage of transmit packets dropped – Investigation Threshold: 1ms • Receive Dropped Packets (%DRPRX) – The percentage of received packets dropped – Investigation Threshold: 1ms 27
  • 28. Network - Best Practices • Load balance on vSwitch level, not inside VM – Allow the Hypervisor to do the network teaming • Install VMware Tools – Installs optimized, specific OS drivers for the NIC adapters • Use VMXNET3 vNIC adapters when possible – Support for most modern OS 28

Editor's Notes

  1. Shares are configuring the relative priority of this VM with regards to other VMs in the same resource pool. Remember shares is only handled when we have contention! Limit: additionally limits the VM machine CPU time regardless of its shares and current condition of the host. In other words, it is possible that a VM will not run even when the host idle and there are plenty of resource, just because of the VM’s limit set. Reservation: On cpu the reservation is a guarantee for clock cycles. You define the reservation in MHZ. If you give a virtual machine a reservation it means the VMkernel CPU scheduler will give it at least that amount of resources. If a virtual machine is not using its resources the CPU cycles are not wasted on the physical host. Other machines can use it. What you do with CPU reservations is making sure that a VM will always get access to physical CPU in a committed environment. Hierarchy: the total amount of shares for all worlds running in current resource pool are the shares of this resource pool and every world receives CPU time proportional to its shares. The same principle applies recursively for the parent pool of the current resource pool.
  2. Shares are configuring the relative priority of this VM with regards to other VMs in the same resource pool. Remember shares is only handled when we have contention! Limit: additionally limits the VM machine CPU time regardless of its shares and current condition of the host. In other words, it is possible that a VM will not run even when the host idle and there are plenty of resource, just because of the VM’s limit set. Reservation: On cpu the reservation is a guarantee for clock cycles. You define the reservation in MHZ. If you give a virtual machine a reservation it means the VMkernel CPU scheduler will give it at least that amount of resources. If a virtual machine is not using its resources the CPU cycles are not wasted on the physical host. Other machines can use it. What you do with CPU reservations is making sure that a VM will always get access to physical CPU in a committed environment. Hierarchy: the total amount of shares for all worlds running in current resource pool are the shares of this resource pool and every world receives CPU time proportional to its shares. The same principle applies recursively for the parent pool of the current resource pool.
  3. Shares are configuring the relative priority of this VM with regards to other VMs in the same resource pool. Remember shares is only handled when we have contention! Limit: additionally limits the VM machine CPU time regardless of its shares and current condition of the host. In other words, it is possible that a VM will not run even when the host idle and there are plenty of resource, just because of the VM’s limit set. Reservation: On cpu the reservation is a guarantee for clock cycles. You define the reservation in MHZ. If you give a virtual machine a reservation it means the VMkernel CPU scheduler will give it at least that amount of resources. If a virtual machine is not using its resources the CPU cycles are not wasted on the physical host. Other machines can use it. What you do with CPU reservations is making sure that a VM will always get access to physical CPU in a committed environment. Hierarchy: the total amount of shares for all worlds running in current resource pool are the shares of this resource pool and every world receives CPU time proportional to its shares. The same principle applies recursively for the parent pool of the current resource pool.
  4. Shares are configuring the relative priority of this VM with regards to other VMs in the same resource pool. Remember shares is only handled when we have contention! Limit: additionally limits the VM machine CPU time regardless of its shares and current condition of the host. In other words, it is possible that a VM will not run even when the host idle and there are plenty of resource, just because of the VM’s limit set. Reservation: On cpu the reservation is a guarantee for clock cycles. You define the reservation in MHZ. If you give a virtual machine a reservation it means the VMkernel CPU scheduler will give it at least that amount of resources. If a virtual machine is not using its resources the CPU cycles are not wasted on the physical host. Other machines can use it. What you do with CPU reservations is making sure that a VM will always get access to physical CPU in a committed environment. Hierarchy: the total amount of shares for all worlds running in current resource pool are the shares of this resource pool and every world receives CPU time proportional to its shares. The same principle applies recursively for the parent pool of the current resource pool.
  5. Demand = how much memory the VM wants to actively use Entitlement = how much physical RAM a VM can get VM will achieve best performance when entitlement >= demand The exact entitlement is based on each VM’s relative priority with other VMs – based on shares, idle memory and other VMs running on the host.
  6. Second level of page mapping handled by the VMM and VMkernel. Traditionally this was handled in the software, but now the Hardware accelerated virtualization (VT-x for Intel and AMD-V) provides handling of shadow pages mapping on hardware level.
  7. Second level of page mapping handled by the VMM and VMkernel. Traditionally this was handled in the software, but now the Hardware accelerated virtualization (VT-x for Intel and AMD-V) provides handling of shadow pages mapping on hardware level.
  8. The Guest Operating System sees the Virtual Memory and “thinks” can use everything. This way we are not able to achieve very good memory consolidation ratio. The swap file size is defined as (swap file = configured memory – memory reservation)
  9. Not configurable – always running. Very effective, especially for zero pages. Completely transparent for the Guest Operating System. Very good results in the case of Vmware View application.
  10. Uses Vmware tools vmctl Always install Vmware tools if possible.
  11. Background process, looking for inactive memory pages. The page is compressed only if a 1:2 (50%) compression ratio can be achieved. The idea is to put at least two pages in one physical page. These pages (containing compressed memory) are never swapped, of course.
  12. Nothing too much to say here – this is traditional virtual memory handling for almost every operating system out there. More interesting is that Vmkernel memory manager supports swapping in multiple files. Every VM have at least two swap files: vRAM and VMX. The first one is sized to contain the entire vRAM, configured to the VM (nothing more, nothing less). This way it supports suspending the machine. The second one is for the VMX process, managing this VM. Part of the VMX process is never swapped. The locations of both files can be configured. In addition, Vmkernel supports one more, big and common for all user processes running on the host swap file (location also configurable). The idea is that there are a lot of UW running (management agents, daemons, etc.), but no always required in the memory. By swapping them, the Vmkernel can achieve even bigger VM consolidation ratio.
  13. Demand = how much memory the VM wants to actively use Entitlement = how much physical RAM a VM can get VM will achieve best performance when entitlement >= demand The exact entitlement is based on each VM’s relative priority with other VMs – based on shares, idle memory and other VMs running on the host.
  14. Demand = how much memory the VM wants to actively use Entitlement = how much physical RAM a VM can get VM will achieve best performance when entitlement >= demand The exact entitlement is based on each VM’s relative priority with other VMs – based on shares, idle memory and other VMs running on the host.
  15. Demand = how much memory the VM wants to actively use Entitlement = how much physical RAM a VM can get VM will achieve best performance when entitlement >= demand The exact entitlement is based on each VM’s relative priority with other VMs – based on shares, idle memory and other VMs running on the host.
  16. Demand = how much memory the VM wants to actively use Entitlement = how much physical RAM a VM can get VM will achieve best performance when entitlement >= demand The exact entitlement is based on each VM’s relative priority with other VMs – based on shares, idle memory and other VMs running on the host.
  17. With this I would like to finish the presentation and leave the rest of the time for question and aswers.