SlideShare a Scribd company logo
1 of 51
Download to read offline
DRS: Advanced Concepts,
Best Practices and Future
Directions
Aashish Parikh, VMware, Inc.
Ajay Gulati, VMware, Inc.
INF-VSP2825
#vmworldinf
2
Disclaimer
 This session may contain product features that are
currently under development.
 This session/overview of the 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.
3
4
Talk Outline
 Resource settings and Pools
• Specifying behavior under contention
 VM Happiness
• The key to application performance
 Load-balancing and handling multiple metrics
• The other side of making VMs happy
 Future Directions
• A sneak peek into DRS labs!
5
Resource Settings and Pools
Specifying behavior under contention
6
Key Concepts
 Each VM has
• Configured capacity: 10 GHz, 24 GB RAM
• Demand for resource: 2 GHz, 4 GB RAM
 Each host has
• CPU & Memory capacity: 40 GHz, 96 GB RAM
Q: How many VMs can fit on the host?
A: A lot, if you don’t care about performance
Too safe: 4 (based on configured size)
Ideal: 20 (based on CPU demand)
32 (based on memory demand)
7
Why do we need Resource controls?
 You don’t know the demand values
 You may want to strictly isolate some VMs from others
 Sometimes: Sum of VM Demand > Cluster capacity
 Resource controls:
• Determine who gets what under contention
• Enable high consolidation and allow safe over-commitment!
 Q: Should you worry if Sum of VM Demand > host capacity?
 Answer: No, DRS handles that case!
You only need to make sure that cluster has enough capacity
8
Resource Controls
 Reservation: Guaranteed allocation
 Limit: Guaranteed upper bound
 Shares: Allocation in between
 Resource pools: allocation and isolation of groups of VMs
Configured (8Ghz)
Limit (6Ghz)
Actual(5Ghz)
Reserved (1Ghz)
0
Actual allocation depends on the
reservation, limit, shares and demand
9
Resource Pools
 A powerful abstraction for aggregation and isolation of resources
 Customer creates a resource pool and sets business requirements
 Sharing within a pool, isolation across pools
Resource Pool
Organization
Departments
VMs
10
Controls: Reservation (MHz or MB)
 Minimum MHz or MB guaranteed
 Parent reservation ≥ sum of children reservations
 DRS will distribute the R value hierarchically using current demand
Resource Pool with CPU Reservations
RRoot = 1000 MHz
RSales = 500 MHz RMarketing = 100 MHz
005050100
11
Controls: Limit (MHz or MB)
 Maximum MHz or MB allowed
 Parent limit ≤ sum of child limits
 Child limits set based on parent limit and current VM demand
Resource Pool with CPU Limits
LRoot = 5000 MHz
LSales = U LMarketing = 1000 MHz
UUUU1500 MHz
U: Unlimited
12
Controls: Shares (No units)
 Relative priority between siblings in the tree
 Divide parent share in proportion of children’s shares
Resource Pool with Share settings
SRoot = Normal (1000)
SSales = High (2000) SMarketing = Low (500)
Custom
(200)
Custom
(600)
Low
(500)
Low
(500)
Normal
(1000)
1000
800 200
400 200 200 150 50
13
Virtual View of the World
Sales, <R,L,S>
<R,L,S>
Marketing, <R,L,S>
VM level
<r,l,s> settings
Host A
5000 MHz
Host B
4000 MHz
 DRS resource pool as specified by user
 In practice, life isn’t so simple!
 VMs get mapped to different hosts and move between them
14
How to set these controls: 4 simple rules
1. Think VM, act RPs
2. Use shares for prioritization
3. Use a tiered reservations model (e.g. more for critical apps)
4. Use limits to control usage (e.g. pay per use model)
15
16
17
18
Use Case 2: Multiple Application Tiers
 Goal: Top tiers should suffer less than bottom tiers
 Think VM first:
• Tier 1 apps: VM reservation = 25% (rule 3), shares = High (rule 2)
• Tier 2 apps: VM reservation = 10% (rule 3), shares = Low (rule 2)
R (GHz): 2 2 2 0.8 0.8
L (GHz): U U U U U
Shares: 2000 2000 2000 500 500
Configured: 8 8 8 8 8
19
Use Case 2: Multiple Application Tiers
 Apply rule 1:
• Tier 1 RP: R = ∑ VM reservations, Shares = ∑ VM shares
• Tier 2 RP: R = ∑ VM reservations, Shares = ∑ VM shares
• Set VM level reservations = 0, shares = Normal for all VMs
R = 6 GHz
Shares = 2000*3
= 6000
R (GHz): 0 0 0 0 0
L (GHz): U U U U U
Shares: 1000 1000 1000 1000 1000
Configured: 8 8 8 8 8
R = 1.6 GHz
Shares = 500*2
= 1000
20
Use Case 3: Strict priority between Tiers
R = 12 GHz
Shares = 2000*3
= 6000
R (GHz): 0 0 0 0 0 0 0
L (GHz): U U U U U U U
Shares: 1000 1000 1000 1000 1000 1000 1000
Configured: 8 8 8 8 8 8 8
R = 0.8 GHz
Shares = 20*2
= 40
R = 4 GHz
Shares = 200*2
= 400
 Goal: Top tiers should suffer not suffer at all due to bottom tiers
 Think VM first:
• VM reservation = 50, 10 and 5% for three tiers (rule 3)
• VM shares = High, High/10, High/100 (rule 2)
 Apply rule 1: Resource pool settings = ∑ VM settings
21
Key Takeaway
 Resource controls allow high consolidation and safe over-commit
 Follow four simple rules to determine resource controls
1. Think VM, act RPs
2. Use shares for prioritization
3. Use a tiered reservations model (e.g. more for critical apps)
4. Use limits to control usage (e.g. pay per use model)
 If you need some other behavior, let us know
 References for more technical details:
VMware Distributed Resource Management: Design, Implementation, and
Lessons Learned (VMware Technical Journal)
22
VM Happiness
The key to application performance
23
The Giant Host Abstraction
1 “giant host”
CPU = 60 GHz
Memory = 384 GB
 Treat the cluster as one giant host
• Capacity of this giant “host” = capacity of the cluster
6 hosts
CPU = 10 GHz
Memory = 64 GB
24
Why is that Hard?
Main issue: fragmentation of resource across hosts
Primary goal: Keep VMs happy by meeting their resource demands!
1 “giant host”
CPU = 60 GHz
Memory = 384 GB
VM demand < 60 GHz
All VMs running happily
25
26
How are Demands computed?
 Demand indicates what a VM could consume given more resources
 Demand can be higher than utilization
• Think ready time
 CPU demand is a function of many CPU stats
 Memory demand is computed by tracking pages in guest address
space and the percentage touched in a given interval
27
Why not Load-balance the DRS Cluster as the Primary Goal?
 Load-balancing is not free
• In case of low VM demand, load-balancing migrations have cost but no benefit
 Load-balancing is a criteria used to meet VM demands
Consider these 4 hosts with almost-idle VMs
Q: Should we balance VMs across hosts?
Note: all VMs are getting what they need
28
Important Metrics and UI Controls
 CPU and memory entitlement
• VM deserved value based on demand, resource settings and capacity
Load is not balanced but all VMs are happy!
29
Key Takeaway
 Goals of DRS are:
• To provide the giant host abstraction
• To meet VM demand and keep applications at high performance
• To use load balancing as a secondary metric while making VMs happy
 If you care about load balancing as a key metric
• It can be achieved
• Stay awake!
30
Load-balancing and handling
multiple metrics
The other side of making VMs happy
31
The balls and bins problem
 Problem: assign n balls to m bins
• Balls could have different sizes
• Bins could have different sizes
 Key Challenges
• Dynamic numbers and sizes of balls/bins
• Constraints on co-location, placement and others
 Now, what is a fair distribution of balls among bins?
 Welcome to DRS load-balancing
• VM resource entitlements are the ‘balls’
• Host resource capacities are the ‘bins’
• Dynamic load, dynamic capacity
• Various constraints: DRS-Disabled-On-VM, VM-to-Host affinity, …
32
33
Goals of DRS Load-balancing
 Fairly distribute VM demand among hosts in a DRS cluster
 Enforce constraints
• Recommend mandatory moves
 Recommend moves that significantly improve imbalance
 Recommend moves with long-term benefit
34
How is Imbalance Measured?
 Imbalance metric is a cluster-level metric
 For each host, we have
 Imbalance metric is the standard deviation of
these normalized entitlements
 Imbalance metric = 0 perfect balance
 How much imbalance can you tolerate?
AWESOME!OOPS!OUCH!YIKES!
0.65 0.1 0.25
Imbalance metric = 0.2843
35
The Myth of Target Balance
 UI slider tells us what star threshold is acceptable
 Implicit target number for cluster imbalance metric
• n-star threshold tolerance of imbalance up to n * 10% in a 2-node cluster
 Constraints can make it hard to meet target balance
 Meeting aggressive target balance may require many migrations
• DRS will recommend them only if they also make VMs happier
If all VMs are happy, a little imbalance is not really a bad thing!
36
37
38
CostBenefit Filtering: the search for enduring quality
 Benefit: Higher resource availability
 Cost:
• Migration cost: vMotion CPU & memory cost, VM slowdown
• Risk cost: Benefit may not be sustained due to load variation
 Candidates that cannot meet this criteria are CostBenefit filtered
Gain
(MHz or MB)
Migration
Time
Stable
Time
Benefit
Migration cost
Risk cost Time (sec)
Invocation
Interval
0
Loss
39
Handling Severe Imbalance
 Causes for severe imbalance
• Target too impractical, too many constraints
• Filters too aggressive for certain inventories
• Newly powered-on hosts or updated hosts – interplay with VUM
 DRS automatically detects and addresses severe imbalance
• Filters automatically relaxed or dropped; reinstated when the situation is fixed
 *NEW* Entirely revamped in vSphere 5.1
• New advanced config options
• Also available in vSphere 4.1 U3 and vSphere 5.0 U2
40
Handling Severe Imbalance: Advanced Config Options
 DRS relaxes filters to fix severe imbalance by default
• SevereImbalanceRelaxMinGoodness = 1
• SevereImbalanceRelaxCostBenefit = 1
• FixSevereImbalanceOnly = 1
 You can modify default behavior, handle with care!
• FixSevereImbalanceOnly = 0
• SevereImbalanceDropCostBenefit = 1
41
Handling Severe Imbalance: Older Releases and Updates
 Clusters severely imbalanced but unable to upgrade?
 Setting these options temporarily can provide immediate relief
• MinGoodness = 0; allows any migration with goodness > 0
• CostBenefit = 0; considers expensive/ephemeral moves too
 Setting these options can cause a large number of migrations!
• Don’t forget to set them back to 1 when balance is restored!
• DRS Load-balancing runs better with filters
42
Handling Multiple Metrics
 Optimizing for multiple metrics is hard
• DRS uses smart heuristics, tries not to hurt any metric
• Weights are computed dynamically based on resource utilization
 Customers have requested even more metrics!
 Extra metric: CPU ready time
• Handling severe imbalance reduces ready time in many cases
• Considering doing even more here, talk to us if this is important to you
43
Extra metric: “Eggs-in-a-basket” – Restrict #VMs per Host
 Recall this example
 This cluster is perfectly balanced w.r.t. CPU, Memory
 However, spreading VMs around is important to some of you!
 *NEW* Advanced config option in vSphere 5.1
• LimitVMsPerESXHost = 6
 DRS will not admit or migrate more than 6 VMs to any Host
 This may impact VM happiness, load-balancing
44
Key Takeaway
 DRS recommends moves that reduce cluster imbalance
 Constraints can impact achievable imbalance metric
 Filters help improve the quality of moves and reduce noise
• Moves must satisfy MinGoodness, CostBenefit analyses to be recommended
 DRS automatically detects and addresses severe imbalance (NEW)
 DRS handles many metrics effectively
45
Future directions
A sneak-peek into DRS Labs!
46
Turbo mode Load-balancing
 Most aggressive load-balancing option
 One-time, manual-mode load-balancing call – no holds barred
 Pros
• Reach lowest possible imbalance metric value possible
• Maximum exploration of solution space
• No MinGoodness or CostBenefit filtering
 Cons
• No MinGoodness or CostBenefit filtering!
• May recommend a large number of migrations
47
Eggs-in-a-basket: AutoTune
 Recall the eggs-in-a-basket metric
 LimitVMsPerESXHost = 6
 If 12 new VMs are powered on, Host4 cannot accept any!
• Need to manually change the LimitVMsPerESXHost value
 Instead, automatically adjust value = mean + buffer% * mean
• Set new option for buffer% just once: LimitVMsPerESXHostPercent = 50
 Number of VMs = 20 + 12 (new); mean = 32 ÷ 4 = 8; buffer = 50%
 New value is automatically set to 8 + 50% * 8 = 12
 Host4 is now able to accept 6 more VMs!
Host1 Host2 Host3 Host4
48
What-if DRS: Building castles in a DRS sandbox
 Safely operate DRS on hypothetical inventories and configurations
 Real-world queries and DRS metrics
• “If DPM was enabled on the cluster, what would VM happiness look like?”
• “Which migrations will be triggered by breaking the vm6 – vm8 affinity rule?”
• “If host2 is upgraded, how will any newly unlocked features work with DRS?”
 Complex queries
• "If I added a clone of host4, remove host3 and add 10 clones on vm24 to my
cluster, will any of my constraints be violated? What will my new inventory look
like after load-balancing?"
 Use for trouble-shooting and capacity planning!
49
In Summary
 Use resource pool settings instead of VM settings when possible
• Ease of management
• Safe over-commitment
 Resource control recipes can be used to handle various use cases
 VM Happiness is the key goal of DRS
 Load balancing keeps VMs happy and resource utilization fair
• As long as all VMs are happy, a little imbalance is not always a bad thing!
 Tons of cool DRS stuff in the pipeline, feedback welcome!
FILL OUT
A SURVEY
EVERY COMPLETE SURVEY
IS ENTERED INTO
DRAWING FOR A
$25 VMWARE COMPANY
STORE GIFT CERTIFICATE
DRS: Advanced Concepts,
Best Practices and Future
Directions
Ajay Gulati, VMware, Inc.
Aashish Parikh, VMware, Inc.
INF-VSP2825
#vmworldinf

More Related Content

What's hot

Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?David Pasek
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015VMUG IT
 
VMworld 2014: Site Recovery Manager and Stretched Storage
VMworld 2014: Site Recovery Manager and Stretched StorageVMworld 2014: Site Recovery Manager and Stretched Storage
VMworld 2014: Site Recovery Manager and Stretched StorageVMworld
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementIwan Rahabok
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1faz4eva_27
 
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part Two
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part TwoVMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part Two
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part TwoVMworld
 
VMware Site Recovery Manager
VMware Site Recovery ManagerVMware Site Recovery Manager
VMware Site Recovery ManagerJürgen Ambrosi
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery managersolarisyourep
 
Accelerate Your Signature Banking Applications with IBM Storage Offerings
Accelerate Your Signature Banking Applications with IBM Storage OfferingsAccelerate Your Signature Banking Applications with IBM Storage Offerings
Accelerate Your Signature Banking Applications with IBM Storage OfferingsPaula Koziol
 
VMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech PreviewVMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech PreviewVMworld
 
STN Event 12.8.09 - Chris Vain Powerpoint Presentation
STN Event 12.8.09 - Chris Vain Powerpoint PresentationSTN Event 12.8.09 - Chris Vain Powerpoint Presentation
STN Event 12.8.09 - Chris Vain Powerpoint Presentationmcini
 
Virtualising Tier 1 Apps
Virtualising Tier 1 AppsVirtualising Tier 1 Apps
Virtualising Tier 1 AppsIwan Rahabok
 
What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0Eric Sloof
 
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...VMworld
 
VMworld 2014: Data Protection for vSphere 101
VMworld 2014: Data Protection for vSphere 101VMworld 2014: Data Protection for vSphere 101
VMworld 2014: Data Protection for vSphere 101VMworld
 
SRM versus Stretched Clusters: Choosing the Right Solution
SRM versus Stretched Clusters: Choosing the Right SolutionSRM versus Stretched Clusters: Choosing the Right Solution
SRM versus Stretched Clusters: Choosing the Right SolutionScott Lowe
 
Building vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsBuilding vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsPablo Roesch
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practicesthephuck
 

What's hot (19)

Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015
 
VMworld 2014: Site Recovery Manager and Stretched Storage
VMworld 2014: Site Recovery Manager and Stretched StorageVMworld 2014: Site Recovery Manager and Stretched Storage
VMworld 2014: Site Recovery Manager and Stretched Storage
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity Management
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1
 
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part Two
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part TwoVMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part Two
VMworld 2013: Implementing a Holistic BC/DR Strategy with VMware - Part Two
 
VMware Site Recovery Manager
VMware Site Recovery ManagerVMware Site Recovery Manager
VMware Site Recovery Manager
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery manager
 
Accelerate Your Signature Banking Applications with IBM Storage Offerings
Accelerate Your Signature Banking Applications with IBM Storage OfferingsAccelerate Your Signature Banking Applications with IBM Storage Offerings
Accelerate Your Signature Banking Applications with IBM Storage Offerings
 
VMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech PreviewVMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech Preview
 
STN Event 12.8.09 - Chris Vain Powerpoint Presentation
STN Event 12.8.09 - Chris Vain Powerpoint PresentationSTN Event 12.8.09 - Chris Vain Powerpoint Presentation
STN Event 12.8.09 - Chris Vain Powerpoint Presentation
 
Virtualising Tier 1 Apps
Virtualising Tier 1 AppsVirtualising Tier 1 Apps
Virtualising Tier 1 Apps
 
What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0
 
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...
VMworld 2013: vSphere Data Protection 5.5 Advanced VMware Backup and Recovery...
 
VMworld 2014: Data Protection for vSphere 101
VMworld 2014: Data Protection for vSphere 101VMworld 2014: Data Protection for vSphere 101
VMworld 2014: Data Protection for vSphere 101
 
SRM versus Stretched Clusters: Choosing the Right Solution
SRM versus Stretched Clusters: Choosing the Right SolutionSRM versus Stretched Clusters: Choosing the Right Solution
SRM versus Stretched Clusters: Choosing the Right Solution
 
Building vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsBuilding vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring Tools
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
 

Viewers also liked

VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...
VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...
VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...VMworld
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld
 
Vm Ware Presentation Key Note
Vm Ware Presentation Key NoteVm Ware Presentation Key Note
Vm Ware Presentation Key Notecsharney
 
Cyborg Presentation
Cyborg PresentationCyborg Presentation
Cyborg Presentationshas3233
 
The Vision for the Future of Network Virtualization with VMware NSX
The Vision for the Future of Network Virtualization with VMware  NSXThe Vision for the Future of Network Virtualization with VMware  NSX
The Vision for the Future of Network Virtualization with VMware NSXScott Lowe
 
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...VMworld
 
DRS Umpire decision review system
DRS Umpire decision review systemDRS Umpire decision review system
DRS Umpire decision review systemshakil2604
 
Hawk eye 1st-presentation
Hawk eye 1st-presentationHawk eye 1st-presentation
Hawk eye 1st-presentationBruno Borras
 
Hawk eye technology By RKO
Hawk eye technology By RKOHawk eye technology By RKO
Hawk eye technology By RKORahul Prajapat
 
An Introduction to VMware NSX
An Introduction to VMware NSXAn Introduction to VMware NSX
An Introduction to VMware NSXScott Lowe
 
Hawk Eye Technology ppt
Hawk Eye Technology pptHawk Eye Technology ppt
Hawk Eye Technology pptsravya raju
 
Hawk eye technology
Hawk eye technologyHawk eye technology
Hawk eye technologyN.CH Karthik
 

Viewers also liked (15)

VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...
VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...
VMworld 2013: Meaningful Mobility: The Future of End-User Computing in Public...
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
 
Vm Ware Presentation Key Note
Vm Ware Presentation Key NoteVm Ware Presentation Key Note
Vm Ware Presentation Key Note
 
Cyborg Presentation
Cyborg PresentationCyborg Presentation
Cyborg Presentation
 
The Vision for the Future of Network Virtualization with VMware NSX
The Vision for the Future of Network Virtualization with VMware  NSXThe Vision for the Future of Network Virtualization with VMware  NSX
The Vision for the Future of Network Virtualization with VMware NSX
 
DRS Presentation
DRS PresentationDRS Presentation
DRS Presentation
 
Hawk-Eye Tehnology
Hawk-Eye TehnologyHawk-Eye Tehnology
Hawk-Eye Tehnology
 
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
 
DRS Umpire decision review system
DRS Umpire decision review systemDRS Umpire decision review system
DRS Umpire decision review system
 
Hawk eye 1st-presentation
Hawk eye 1st-presentationHawk eye 1st-presentation
Hawk eye 1st-presentation
 
Hawk eye technology By RKO
Hawk eye technology By RKOHawk eye technology By RKO
Hawk eye technology By RKO
 
Cyborgs Powerpoint
Cyborgs PowerpointCyborgs Powerpoint
Cyborgs Powerpoint
 
An Introduction to VMware NSX
An Introduction to VMware NSXAn Introduction to VMware NSX
An Introduction to VMware NSX
 
Hawk Eye Technology ppt
Hawk Eye Technology pptHawk Eye Technology ppt
Hawk Eye Technology ppt
 
Hawk eye technology
Hawk eye technologyHawk eye technology
Hawk eye technology
 

Similar to Presentation drs advanced concepts, best practices and future directions

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: 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
 
VMware End-User-Computing Best Practices Poster
VMware End-User-Computing Best Practices PosterVMware End-User-Computing Best Practices Poster
VMware End-User-Computing Best Practices PosterVMware Academy
 
VMworld - sto7650 -Software defined storage @VMmware primer
VMworld - sto7650 -Software defined storage  @VMmware primerVMworld - sto7650 -Software defined storage  @VMmware primer
VMworld - sto7650 -Software defined storage @VMmware primerDuncan Epping
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowAndrew Miller
 
VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers VMworld
 
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...VMware
 
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld
 
VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmugcsharney
 
Configuring policies in v c ops
Configuring policies in v c opsConfiguring policies in v c ops
Configuring policies in v c opsSunny Dua
 
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...VMworld
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructurexKinAnx
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructuresolarisyourep
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyEMC Forum India
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld
 
V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationsolarisyourep
 
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...VMware
 
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best ChoiceVMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best ChoiceVMworld
 

Similar to Presentation drs advanced concepts, best practices and future directions (20)

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: 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
 
VMware End-User-Computing Best Practices Poster
VMware End-User-Computing Best Practices PosterVMware End-User-Computing Best Practices Poster
VMware End-User-Computing Best Practices Poster
 
VMworld - sto7650 -Software defined storage @VMmware primer
VMworld - sto7650 -Software defined storage  @VMmware primerVMworld - sto7650 -Software defined storage  @VMmware primer
VMworld - sto7650 -Software defined storage @VMmware primer
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
 
VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers VMworld 2013: Virtualizing Highly Available SQL Servers
VMworld 2013: Virtualizing Highly Available SQL Servers
 
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...
Accelerate Your Migration to "Application-Centric" Storage-as-a-Service from ...
 
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
VMworld 2013: Virtualizing and Tuning Large Scale Java Platforms
 
VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmug
 
Configuring policies in v c ops
Configuring policies in v c opsConfiguring policies in v c ops
Configuring policies in v c ops
 
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...
VMworld 2013: Operating and Architecting a vSphere Metro Storage Cluster base...
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series
 
V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentation
 
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...
VMware: Enabling Software-Defined Storage Using Virtual SAN (Business Decisio...
 
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best ChoiceVMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
 

More from solarisyourep

Presentation a new era in it
Presentation   a new era in itPresentation   a new era in it
Presentation a new era in itsolarisyourep
 
Presentation a vision for user centric computing
Presentation   a vision for user centric computingPresentation   a vision for user centric computing
Presentation a vision for user centric computingsolarisyourep
 
Presentation advanced management – the road ahead
Presentation   advanced management – the road aheadPresentation   advanced management – the road ahead
Presentation advanced management – the road aheadsolarisyourep
 
Presentation architecting virtualized infrastructure for big data
Presentation   architecting virtualized infrastructure for big dataPresentation   architecting virtualized infrastructure for big data
Presentation architecting virtualized infrastructure for big datasolarisyourep
 
Presentation avoiding the 19 biggest ha & drs configuration mistakes
Presentation   avoiding the 19 biggest ha & drs configuration mistakesPresentation   avoiding the 19 biggest ha & drs configuration mistakes
Presentation avoiding the 19 biggest ha & drs configuration mistakessolarisyourep
 
Presentation blade center foundation for cloud
Presentation   blade center foundation for cloudPresentation   blade center foundation for cloud
Presentation blade center foundation for cloudsolarisyourep
 
Presentation building and running your private cloud
Presentation   building and running your private cloudPresentation   building and running your private cloud
Presentation building and running your private cloudsolarisyourep
 
Presentation building your cloud with v mware
Presentation   building your cloud with v mwarePresentation   building your cloud with v mware
Presentation building your cloud with v mwaresolarisyourep
 
Presentation business critical applications in a virtual env
Presentation   business critical applications in a virtual envPresentation   business critical applications in a virtual env
Presentation business critical applications in a virtual envsolarisyourep
 
Presentation cim1309 v cat 3.0 operating a v-mware cloud
Presentation   cim1309 v cat 3.0 operating a v-mware cloudPresentation   cim1309 v cat 3.0 operating a v-mware cloud
Presentation cim1309 v cat 3.0 operating a v-mware cloudsolarisyourep
 
Presentation cisco intelligent automation complementing and extending v mwa...
Presentation   cisco intelligent automation complementing and extending v mwa...Presentation   cisco intelligent automation complementing and extending v mwa...
Presentation cisco intelligent automation complementing and extending v mwa...solarisyourep
 
Presentation cisco vxi–optimized infrastructure for scaling v mware view wi...
Presentation   cisco vxi–optimized infrastructure for scaling v mware view wi...Presentation   cisco vxi–optimized infrastructure for scaling v mware view wi...
Presentation cisco vxi–optimized infrastructure for scaling v mware view wi...solarisyourep
 
Presentation cloud infrastructure and management – from v sphere to vcloud ...
Presentation   cloud infrastructure and management – from v sphere to vcloud ...Presentation   cloud infrastructure and management – from v sphere to vcloud ...
Presentation cloud infrastructure and management – from v sphere to vcloud ...solarisyourep
 
Presentation cloud infrastructure launch – what’s new
Presentation   cloud infrastructure launch – what’s newPresentation   cloud infrastructure launch – what’s new
Presentation cloud infrastructure launch – what’s newsolarisyourep
 
Presentation cloud meets big
Presentation   cloud meets bigPresentation   cloud meets big
Presentation cloud meets bigsolarisyourep
 
Presentation consuming a cloud
Presentation   consuming a cloudPresentation   consuming a cloud
Presentation consuming a cloudsolarisyourep
 
Presentation desktops for the cloud the view rollout
Presentation   desktops for the cloud the view rolloutPresentation   desktops for the cloud the view rollout
Presentation desktops for the cloud the view rolloutsolarisyourep
 
Presentation disaster recovery in virtualization and cloud
Presentation   disaster recovery in virtualization and cloudPresentation   disaster recovery in virtualization and cloud
Presentation disaster recovery in virtualization and cloudsolarisyourep
 
Presentation end-user computing in the post-pc era
Presentation   end-user computing in the post-pc eraPresentation   end-user computing in the post-pc era
Presentation end-user computing in the post-pc erasolarisyourep
 
Presentation expect more from your storage
Presentation   expect more from your storagePresentation   expect more from your storage
Presentation expect more from your storagesolarisyourep
 

More from solarisyourep (20)

Presentation a new era in it
Presentation   a new era in itPresentation   a new era in it
Presentation a new era in it
 
Presentation a vision for user centric computing
Presentation   a vision for user centric computingPresentation   a vision for user centric computing
Presentation a vision for user centric computing
 
Presentation advanced management – the road ahead
Presentation   advanced management – the road aheadPresentation   advanced management – the road ahead
Presentation advanced management – the road ahead
 
Presentation architecting virtualized infrastructure for big data
Presentation   architecting virtualized infrastructure for big dataPresentation   architecting virtualized infrastructure for big data
Presentation architecting virtualized infrastructure for big data
 
Presentation avoiding the 19 biggest ha & drs configuration mistakes
Presentation   avoiding the 19 biggest ha & drs configuration mistakesPresentation   avoiding the 19 biggest ha & drs configuration mistakes
Presentation avoiding the 19 biggest ha & drs configuration mistakes
 
Presentation blade center foundation for cloud
Presentation   blade center foundation for cloudPresentation   blade center foundation for cloud
Presentation blade center foundation for cloud
 
Presentation building and running your private cloud
Presentation   building and running your private cloudPresentation   building and running your private cloud
Presentation building and running your private cloud
 
Presentation building your cloud with v mware
Presentation   building your cloud with v mwarePresentation   building your cloud with v mware
Presentation building your cloud with v mware
 
Presentation business critical applications in a virtual env
Presentation   business critical applications in a virtual envPresentation   business critical applications in a virtual env
Presentation business critical applications in a virtual env
 
Presentation cim1309 v cat 3.0 operating a v-mware cloud
Presentation   cim1309 v cat 3.0 operating a v-mware cloudPresentation   cim1309 v cat 3.0 operating a v-mware cloud
Presentation cim1309 v cat 3.0 operating a v-mware cloud
 
Presentation cisco intelligent automation complementing and extending v mwa...
Presentation   cisco intelligent automation complementing and extending v mwa...Presentation   cisco intelligent automation complementing and extending v mwa...
Presentation cisco intelligent automation complementing and extending v mwa...
 
Presentation cisco vxi–optimized infrastructure for scaling v mware view wi...
Presentation   cisco vxi–optimized infrastructure for scaling v mware view wi...Presentation   cisco vxi–optimized infrastructure for scaling v mware view wi...
Presentation cisco vxi–optimized infrastructure for scaling v mware view wi...
 
Presentation cloud infrastructure and management – from v sphere to vcloud ...
Presentation   cloud infrastructure and management – from v sphere to vcloud ...Presentation   cloud infrastructure and management – from v sphere to vcloud ...
Presentation cloud infrastructure and management – from v sphere to vcloud ...
 
Presentation cloud infrastructure launch – what’s new
Presentation   cloud infrastructure launch – what’s newPresentation   cloud infrastructure launch – what’s new
Presentation cloud infrastructure launch – what’s new
 
Presentation cloud meets big
Presentation   cloud meets bigPresentation   cloud meets big
Presentation cloud meets big
 
Presentation consuming a cloud
Presentation   consuming a cloudPresentation   consuming a cloud
Presentation consuming a cloud
 
Presentation desktops for the cloud the view rollout
Presentation   desktops for the cloud the view rolloutPresentation   desktops for the cloud the view rollout
Presentation desktops for the cloud the view rollout
 
Presentation disaster recovery in virtualization and cloud
Presentation   disaster recovery in virtualization and cloudPresentation   disaster recovery in virtualization and cloud
Presentation disaster recovery in virtualization and cloud
 
Presentation end-user computing in the post-pc era
Presentation   end-user computing in the post-pc eraPresentation   end-user computing in the post-pc era
Presentation end-user computing in the post-pc era
 
Presentation expect more from your storage
Presentation   expect more from your storagePresentation   expect more from your storage
Presentation expect more from your storage
 

Presentation drs advanced concepts, best practices and future directions

  • 1. DRS: Advanced Concepts, Best Practices and Future Directions Aashish Parikh, VMware, Inc. Ajay Gulati, VMware, Inc. INF-VSP2825 #vmworldinf
  • 2. 2 Disclaimer  This session may contain product features that are currently under development.  This session/overview of the 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.
  • 3. 3
  • 4. 4 Talk Outline  Resource settings and Pools • Specifying behavior under contention  VM Happiness • The key to application performance  Load-balancing and handling multiple metrics • The other side of making VMs happy  Future Directions • A sneak peek into DRS labs!
  • 5. 5 Resource Settings and Pools Specifying behavior under contention
  • 6. 6 Key Concepts  Each VM has • Configured capacity: 10 GHz, 24 GB RAM • Demand for resource: 2 GHz, 4 GB RAM  Each host has • CPU & Memory capacity: 40 GHz, 96 GB RAM Q: How many VMs can fit on the host? A: A lot, if you don’t care about performance Too safe: 4 (based on configured size) Ideal: 20 (based on CPU demand) 32 (based on memory demand)
  • 7. 7 Why do we need Resource controls?  You don’t know the demand values  You may want to strictly isolate some VMs from others  Sometimes: Sum of VM Demand > Cluster capacity  Resource controls: • Determine who gets what under contention • Enable high consolidation and allow safe over-commitment!  Q: Should you worry if Sum of VM Demand > host capacity?  Answer: No, DRS handles that case! You only need to make sure that cluster has enough capacity
  • 8. 8 Resource Controls  Reservation: Guaranteed allocation  Limit: Guaranteed upper bound  Shares: Allocation in between  Resource pools: allocation and isolation of groups of VMs Configured (8Ghz) Limit (6Ghz) Actual(5Ghz) Reserved (1Ghz) 0 Actual allocation depends on the reservation, limit, shares and demand
  • 9. 9 Resource Pools  A powerful abstraction for aggregation and isolation of resources  Customer creates a resource pool and sets business requirements  Sharing within a pool, isolation across pools Resource Pool Organization Departments VMs
  • 10. 10 Controls: Reservation (MHz or MB)  Minimum MHz or MB guaranteed  Parent reservation ≥ sum of children reservations  DRS will distribute the R value hierarchically using current demand Resource Pool with CPU Reservations RRoot = 1000 MHz RSales = 500 MHz RMarketing = 100 MHz 005050100
  • 11. 11 Controls: Limit (MHz or MB)  Maximum MHz or MB allowed  Parent limit ≤ sum of child limits  Child limits set based on parent limit and current VM demand Resource Pool with CPU Limits LRoot = 5000 MHz LSales = U LMarketing = 1000 MHz UUUU1500 MHz U: Unlimited
  • 12. 12 Controls: Shares (No units)  Relative priority between siblings in the tree  Divide parent share in proportion of children’s shares Resource Pool with Share settings SRoot = Normal (1000) SSales = High (2000) SMarketing = Low (500) Custom (200) Custom (600) Low (500) Low (500) Normal (1000) 1000 800 200 400 200 200 150 50
  • 13. 13 Virtual View of the World Sales, <R,L,S> <R,L,S> Marketing, <R,L,S> VM level <r,l,s> settings Host A 5000 MHz Host B 4000 MHz  DRS resource pool as specified by user  In practice, life isn’t so simple!  VMs get mapped to different hosts and move between them
  • 14. 14 How to set these controls: 4 simple rules 1. Think VM, act RPs 2. Use shares for prioritization 3. Use a tiered reservations model (e.g. more for critical apps) 4. Use limits to control usage (e.g. pay per use model)
  • 15. 15
  • 16. 16
  • 17. 17
  • 18. 18 Use Case 2: Multiple Application Tiers  Goal: Top tiers should suffer less than bottom tiers  Think VM first: • Tier 1 apps: VM reservation = 25% (rule 3), shares = High (rule 2) • Tier 2 apps: VM reservation = 10% (rule 3), shares = Low (rule 2) R (GHz): 2 2 2 0.8 0.8 L (GHz): U U U U U Shares: 2000 2000 2000 500 500 Configured: 8 8 8 8 8
  • 19. 19 Use Case 2: Multiple Application Tiers  Apply rule 1: • Tier 1 RP: R = ∑ VM reservations, Shares = ∑ VM shares • Tier 2 RP: R = ∑ VM reservations, Shares = ∑ VM shares • Set VM level reservations = 0, shares = Normal for all VMs R = 6 GHz Shares = 2000*3 = 6000 R (GHz): 0 0 0 0 0 L (GHz): U U U U U Shares: 1000 1000 1000 1000 1000 Configured: 8 8 8 8 8 R = 1.6 GHz Shares = 500*2 = 1000
  • 20. 20 Use Case 3: Strict priority between Tiers R = 12 GHz Shares = 2000*3 = 6000 R (GHz): 0 0 0 0 0 0 0 L (GHz): U U U U U U U Shares: 1000 1000 1000 1000 1000 1000 1000 Configured: 8 8 8 8 8 8 8 R = 0.8 GHz Shares = 20*2 = 40 R = 4 GHz Shares = 200*2 = 400  Goal: Top tiers should suffer not suffer at all due to bottom tiers  Think VM first: • VM reservation = 50, 10 and 5% for three tiers (rule 3) • VM shares = High, High/10, High/100 (rule 2)  Apply rule 1: Resource pool settings = ∑ VM settings
  • 21. 21 Key Takeaway  Resource controls allow high consolidation and safe over-commit  Follow four simple rules to determine resource controls 1. Think VM, act RPs 2. Use shares for prioritization 3. Use a tiered reservations model (e.g. more for critical apps) 4. Use limits to control usage (e.g. pay per use model)  If you need some other behavior, let us know  References for more technical details: VMware Distributed Resource Management: Design, Implementation, and Lessons Learned (VMware Technical Journal)
  • 22. 22 VM Happiness The key to application performance
  • 23. 23 The Giant Host Abstraction 1 “giant host” CPU = 60 GHz Memory = 384 GB  Treat the cluster as one giant host • Capacity of this giant “host” = capacity of the cluster 6 hosts CPU = 10 GHz Memory = 64 GB
  • 24. 24 Why is that Hard? Main issue: fragmentation of resource across hosts Primary goal: Keep VMs happy by meeting their resource demands! 1 “giant host” CPU = 60 GHz Memory = 384 GB VM demand < 60 GHz All VMs running happily
  • 25. 25
  • 26. 26 How are Demands computed?  Demand indicates what a VM could consume given more resources  Demand can be higher than utilization • Think ready time  CPU demand is a function of many CPU stats  Memory demand is computed by tracking pages in guest address space and the percentage touched in a given interval
  • 27. 27 Why not Load-balance the DRS Cluster as the Primary Goal?  Load-balancing is not free • In case of low VM demand, load-balancing migrations have cost but no benefit  Load-balancing is a criteria used to meet VM demands Consider these 4 hosts with almost-idle VMs Q: Should we balance VMs across hosts? Note: all VMs are getting what they need
  • 28. 28 Important Metrics and UI Controls  CPU and memory entitlement • VM deserved value based on demand, resource settings and capacity Load is not balanced but all VMs are happy!
  • 29. 29 Key Takeaway  Goals of DRS are: • To provide the giant host abstraction • To meet VM demand and keep applications at high performance • To use load balancing as a secondary metric while making VMs happy  If you care about load balancing as a key metric • It can be achieved • Stay awake!
  • 30. 30 Load-balancing and handling multiple metrics The other side of making VMs happy
  • 31. 31 The balls and bins problem  Problem: assign n balls to m bins • Balls could have different sizes • Bins could have different sizes  Key Challenges • Dynamic numbers and sizes of balls/bins • Constraints on co-location, placement and others  Now, what is a fair distribution of balls among bins?  Welcome to DRS load-balancing • VM resource entitlements are the ‘balls’ • Host resource capacities are the ‘bins’ • Dynamic load, dynamic capacity • Various constraints: DRS-Disabled-On-VM, VM-to-Host affinity, …
  • 32. 32
  • 33. 33 Goals of DRS Load-balancing  Fairly distribute VM demand among hosts in a DRS cluster  Enforce constraints • Recommend mandatory moves  Recommend moves that significantly improve imbalance  Recommend moves with long-term benefit
  • 34. 34 How is Imbalance Measured?  Imbalance metric is a cluster-level metric  For each host, we have  Imbalance metric is the standard deviation of these normalized entitlements  Imbalance metric = 0 perfect balance  How much imbalance can you tolerate? AWESOME!OOPS!OUCH!YIKES! 0.65 0.1 0.25 Imbalance metric = 0.2843
  • 35. 35 The Myth of Target Balance  UI slider tells us what star threshold is acceptable  Implicit target number for cluster imbalance metric • n-star threshold tolerance of imbalance up to n * 10% in a 2-node cluster  Constraints can make it hard to meet target balance  Meeting aggressive target balance may require many migrations • DRS will recommend them only if they also make VMs happier If all VMs are happy, a little imbalance is not really a bad thing!
  • 36. 36
  • 37. 37
  • 38. 38 CostBenefit Filtering: the search for enduring quality  Benefit: Higher resource availability  Cost: • Migration cost: vMotion CPU & memory cost, VM slowdown • Risk cost: Benefit may not be sustained due to load variation  Candidates that cannot meet this criteria are CostBenefit filtered Gain (MHz or MB) Migration Time Stable Time Benefit Migration cost Risk cost Time (sec) Invocation Interval 0 Loss
  • 39. 39 Handling Severe Imbalance  Causes for severe imbalance • Target too impractical, too many constraints • Filters too aggressive for certain inventories • Newly powered-on hosts or updated hosts – interplay with VUM  DRS automatically detects and addresses severe imbalance • Filters automatically relaxed or dropped; reinstated when the situation is fixed  *NEW* Entirely revamped in vSphere 5.1 • New advanced config options • Also available in vSphere 4.1 U3 and vSphere 5.0 U2
  • 40. 40 Handling Severe Imbalance: Advanced Config Options  DRS relaxes filters to fix severe imbalance by default • SevereImbalanceRelaxMinGoodness = 1 • SevereImbalanceRelaxCostBenefit = 1 • FixSevereImbalanceOnly = 1  You can modify default behavior, handle with care! • FixSevereImbalanceOnly = 0 • SevereImbalanceDropCostBenefit = 1
  • 41. 41 Handling Severe Imbalance: Older Releases and Updates  Clusters severely imbalanced but unable to upgrade?  Setting these options temporarily can provide immediate relief • MinGoodness = 0; allows any migration with goodness > 0 • CostBenefit = 0; considers expensive/ephemeral moves too  Setting these options can cause a large number of migrations! • Don’t forget to set them back to 1 when balance is restored! • DRS Load-balancing runs better with filters
  • 42. 42 Handling Multiple Metrics  Optimizing for multiple metrics is hard • DRS uses smart heuristics, tries not to hurt any metric • Weights are computed dynamically based on resource utilization  Customers have requested even more metrics!  Extra metric: CPU ready time • Handling severe imbalance reduces ready time in many cases • Considering doing even more here, talk to us if this is important to you
  • 43. 43 Extra metric: “Eggs-in-a-basket” – Restrict #VMs per Host  Recall this example  This cluster is perfectly balanced w.r.t. CPU, Memory  However, spreading VMs around is important to some of you!  *NEW* Advanced config option in vSphere 5.1 • LimitVMsPerESXHost = 6  DRS will not admit or migrate more than 6 VMs to any Host  This may impact VM happiness, load-balancing
  • 44. 44 Key Takeaway  DRS recommends moves that reduce cluster imbalance  Constraints can impact achievable imbalance metric  Filters help improve the quality of moves and reduce noise • Moves must satisfy MinGoodness, CostBenefit analyses to be recommended  DRS automatically detects and addresses severe imbalance (NEW)  DRS handles many metrics effectively
  • 46. 46 Turbo mode Load-balancing  Most aggressive load-balancing option  One-time, manual-mode load-balancing call – no holds barred  Pros • Reach lowest possible imbalance metric value possible • Maximum exploration of solution space • No MinGoodness or CostBenefit filtering  Cons • No MinGoodness or CostBenefit filtering! • May recommend a large number of migrations
  • 47. 47 Eggs-in-a-basket: AutoTune  Recall the eggs-in-a-basket metric  LimitVMsPerESXHost = 6  If 12 new VMs are powered on, Host4 cannot accept any! • Need to manually change the LimitVMsPerESXHost value  Instead, automatically adjust value = mean + buffer% * mean • Set new option for buffer% just once: LimitVMsPerESXHostPercent = 50  Number of VMs = 20 + 12 (new); mean = 32 ÷ 4 = 8; buffer = 50%  New value is automatically set to 8 + 50% * 8 = 12  Host4 is now able to accept 6 more VMs! Host1 Host2 Host3 Host4
  • 48. 48 What-if DRS: Building castles in a DRS sandbox  Safely operate DRS on hypothetical inventories and configurations  Real-world queries and DRS metrics • “If DPM was enabled on the cluster, what would VM happiness look like?” • “Which migrations will be triggered by breaking the vm6 – vm8 affinity rule?” • “If host2 is upgraded, how will any newly unlocked features work with DRS?”  Complex queries • "If I added a clone of host4, remove host3 and add 10 clones on vm24 to my cluster, will any of my constraints be violated? What will my new inventory look like after load-balancing?"  Use for trouble-shooting and capacity planning!
  • 49. 49 In Summary  Use resource pool settings instead of VM settings when possible • Ease of management • Safe over-commitment  Resource control recipes can be used to handle various use cases  VM Happiness is the key goal of DRS  Load balancing keeps VMs happy and resource utilization fair • As long as all VMs are happy, a little imbalance is not always a bad thing!  Tons of cool DRS stuff in the pipeline, feedback welcome!
  • 50. FILL OUT A SURVEY EVERY COMPLETE SURVEY IS ENTERED INTO DRAWING FOR A $25 VMWARE COMPANY STORE GIFT CERTIFICATE
  • 51. DRS: Advanced Concepts, Best Practices and Future Directions Ajay Gulati, VMware, Inc. Aashish Parikh, VMware, Inc. INF-VSP2825 #vmworldinf