SlideShare a Scribd company logo
VDI DESIGN GUIDE


Hypervisor | Server | Storage
What Would Dan Do?

Blog: http://www.danbrinkmann.com
Twitter: @dbrinkmann
VMware vExpert 2012
Decision Points
• Hypervisor
• Server
• Storage
Before You Go Further
•   Have a business reason
•   Determine user groups and applications
•   Determine requirements
•   Pilot
•   Gather data
Design
•   VM’s per host
•   Hosts per cluster
•   Management infrastructure limits
•   Storage IO / capacity limits
Hypervisor Choices
Options
• VMware vSphere      85% - 90%
• Citrix XenServer    10% - 15%      My experience

• Microsoft Hyper-V      ~0%

• VMware View = vSphere hypervisor
Hypervisor Choices
XenServer
• Storage stack
   • NFS is the best option
   • LVM over iSCSI or FC is confusing for “Windows” people
   • Storagelink…/sigh
• Lack of 3rd party integration
• Lack of skilled engineers in the market
• Management built in to hypervisor (XenCenter)
Hypervisor Choices
Microsoft Hyper-V
• 2008 R2 not relevant
• Hyper-V 2012
   •   Offloaded data transfer
   •   No more redirected mode
   •   Additional storage options
   •   CSV cache http://blogs.msdn.com/b/clustering/archive/2012/03/22/10286676.aspx
   •   3rd party integrations
   •   Network teaming support
Hypervisor Choices
Which one should I choose?
• vSphere
   •   Most features
   •   Broadest support among vendors
   •   Largest base of skilled engineers
   •   Most number of 3rd party integrations
   •   Highest cost
• Translate: least amount of brain damage (today)
Should I Virtualize vCenter?
• Consider an infrastructure cluster

  Management VM’s               Virtual Desktops




     VMware vSphere                VMware vSphere




         Servers                       Servers
Should I virtualize vCenter?
• Use VM-Host affinity rules
Servers Determine a Lot
• Storage options
• Density – cpu/memory
• High availability design
First Some Virtual Desktop Fallacies
•   vCPU count
•   vCPU to pCore overcommit
•   Memory requirements
•   Storage IO requirements
•   Don’t believe vendor estimates
Servers - Rackmount vs Blades
• Supermodel or the girl next door
Servers - Rackmount vs Blades
Failure domain
• Blade chassis vs individual rackmount server
• Design for N+1 blade chassis
• Blade chassis failures I’ve seen
   • Backplane failure
   • Integrated networking (interconnect) failure
Servers - Rackmount vs Blades
Local disk
• Blade chassis local disk limited and/or expensive
• PCI-Express cards not always available as
  mezzanine option
• Desktop persistence
Servers – CPU
Hypervisor (vSphere) CPU scheduler
“When making scheduling decisions, the ratio of the
consumed CPU resources to the entitlement is used
as the priority of the world. If there is a world that has
consumed less than its entitlement, the world is
considered high priority and will likely be chosen to
run next.”

http://www.vmware.com/resources/techresources/10131
Servers - CPU
Compute with a physical PC


                   OS/Apps/Profile




                        CPU 1
Servers - CPU
Compute in RDSH / XenApp


          OS/Apps/Prof   OS/Apps/Prof   OS/Apps/Prof   OS/Apps/Prof
          OS/Apps/Pr
              ile        OS/Apps/Pr
                             ile        OS/Apps/Pr
                                            ile        OS/Apps/Pr
                                                           ile
             ofile           ofile         ofile           ofile




                     CPU 1                         CPU 2
Servers - CPU
Compute in VDI




                 CPU 1   CPU 2
Servers - CPU
CPU utilization – not enough
Servers - CPU
This is proper CPU monitoring

Display Metric    Threshold   Explanation
                              Overprovisioning of vCPUs, excessive usage of vSMP or a limit(check
  CPU     %RDY        10
                              %MLMTD) has been set.
                              Excessive usage of vSMP. Decrease amount of vCPUs for this
  CPU     %CSTP        3      particular VM. This should lead to increased scheduling
                              opportunities.
                              The percentage of time spent by system services on behalf of the
  CPU     %SYS        20      world. Most likely caused by high IO VM. Check other metrics and
                              VM for possible root cause
                              The percentage of time the vCPU was ready to run but deliberately
                              wasn’t scheduled because that would violate the “CPU limit”
  CPU   %MLMTD         0
                              settings. If larger than 0 the world is being throttled due to the limit
                              on CPU.
                              VM waiting on swapped pages to be read from disk. Possible cause:
  CPU   %SWPWT         5
                              Memory overcommitment.
Servers – 2 Socket vs 4 Socket
Failure domain
• Smaller host = less desktops affected
• Smaller host might also mean more clusters
Servers – 2 Socket vs 4 Socket
Local disk options (rackmount)
• 2 socket servers 8-26 bays
• 4 socket servers 8-16 bays

16 drives * 175 IOPs = 2800 IOPs (not RAID adj)
Servers – 2 Socket vs 4 Socket
$$$ Price $$$
• Historically 4 socket servers have not been a
  linear price increase from 2 socket servers

…so is that still true today?
Servers – 2 Socket vs 4 Socket
Sample pricing
• 2 socket Intel E5-26xx 8c, 384GB RAM ~$15,500
• 4 socket Intel E5-46xx 8c, 768GB RAM ~$32,000-
  $36,500

~3% - 18% premium
Servers - CPU
• More cores is more better (E5 8c, E7 10c)
• AMD vs Intel
Servers - Memory
•   Buy a lot of it!
•   Do not run out!
•   16GB DIMM size is common
•   24 DIMM slots means 384GB
Servers – Hidden Memory Requirements
• Memory overhead
  •   Number of vCPU
  •   Amount of RAM
  •   Amount of vRAM
  •   3D support
• Memory pressure
  • http://kb.vmware.com/selfservice/microsites/search.do?language=en
    _US&cmd=displayKC&externalId=1033687
  • minFreePct 2%-6%
  • 6% of 384GB is 23GB
• Hypervisor requirements
• Storage caching (CBRC, CSV cache)
Storage
VM’s per datastore / LUN
• VAAI (ATS)
   • 4.1 – 2, 5.0 U1 all 8 http://blogs.vmware.com/vsphere/2012/05/vmfs-
     locking-uncovered.html
• <140 per datastore
Storage
Local disk
•   Will most likely impact server hardware decision
•   Small failure domain
•   Spinning disk limitations
•   SSD or PCI-E NAND-flash options
•   Non-persistent virtual machines
Storage
iSCSI vs Fibre Channel vs NFS
• iSCSI vs Fibre Channel
• NFS
   • Best option XenServer
   • Cluster size options in vSphere 5 U1
• Don’t make choice for “performance” reasons
Storage
Hidden capacity requirements
•   vswp file (equal to memory size minus reservation)
•   vswp file for memory overhead
•   pagefile
•   Identity disk (XenDesktop)
•   Differencing disk
Storage – Monitoring
• IOPs - #1 reason for VDI failure
• Latency
Summary
• Do not choose hardware first

More Related Content

What's hot

An Introduction To Server Virtualisation
An Introduction To Server VirtualisationAn Introduction To Server Virtualisation
An Introduction To Server VirtualisationAlan McSweeney
 
VMware vSphere 5.1 Overview
VMware vSphere 5.1 OverviewVMware vSphere 5.1 Overview
VMware vSphere 5.1 Overview
ESXLab
 
VMworld 2014: Virtualize Active Directory, the Right Way!
VMworld 2014: Virtualize Active Directory, the Right Way!VMworld 2014: Virtualize Active Directory, the Right Way!
VMworld 2014: Virtualize Active Directory, the Right Way!
VMworld
 
Introduction to virtualisation
Introduction to virtualisationIntroduction to virtualisation
Introduction to virtualisationsagaroceanic11
 
VMWARE
VMWAREVMWARE
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
Benoit des Ligneris
 
12 best practices for virtualizing active directory DCs
12 best practices for virtualizing active directory DCs12 best practices for virtualizing active directory DCs
12 best practices for virtualizing active directory DCs
Veeam Software
 
Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
Chetna Purohit
 
Scaling xen desktop and xenapp with solid state drives in healthcare
Scaling xen desktop and xenapp with solid state drives in healthcareScaling xen desktop and xenapp with solid state drives in healthcare
Scaling xen desktop and xenapp with solid state drives in healthcare
Intel® Software
 
Server virtualization
Server virtualization Server virtualization
Server virtualization Akankshaji
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at Ringo
Jeremy Brown
 
Virtualization
VirtualizationVirtualization
Virtualization
kousardiffi
 
Storage Virtualization Introduction
Storage Virtualization IntroductionStorage Virtualization Introduction
Storage Virtualization IntroductionStephen Foskett
 
Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation
Rubal Sagwal
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualization
Sarwan Singh
 
3 migration
3 migration3 migration
3 migration
ROSHNI PRADHAN
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualizationelliando dias
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen Server
StephenRice86
 
Cloud Computing: Virtualization
Cloud Computing: VirtualizationCloud Computing: Virtualization
Cloud Computing: Virtualization
Dr.Neeraj Kumar Pandey
 

What's hot (20)

An Introduction To Server Virtualisation
An Introduction To Server VirtualisationAn Introduction To Server Virtualisation
An Introduction To Server Virtualisation
 
VMware vSphere 5.1 Overview
VMware vSphere 5.1 OverviewVMware vSphere 5.1 Overview
VMware vSphere 5.1 Overview
 
VMworld 2014: Virtualize Active Directory, the Right Way!
VMworld 2014: Virtualize Active Directory, the Right Way!VMworld 2014: Virtualize Active Directory, the Right Way!
VMworld 2014: Virtualize Active Directory, the Right Way!
 
Introduction to virtualisation
Introduction to virtualisationIntroduction to virtualisation
Introduction to virtualisation
 
VMWARE
VMWAREVMWARE
VMWARE
 
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
 
12 best practices for virtualizing active directory DCs
12 best practices for virtualizing active directory DCs12 best practices for virtualizing active directory DCs
12 best practices for virtualizing active directory DCs
 
Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
 
Scaling xen desktop and xenapp with solid state drives in healthcare
Scaling xen desktop and xenapp with solid state drives in healthcareScaling xen desktop and xenapp with solid state drives in healthcare
Scaling xen desktop and xenapp with solid state drives in healthcare
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Server virtualization
Server virtualization Server virtualization
Server virtualization
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at Ringo
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Storage Virtualization Introduction
Storage Virtualization IntroductionStorage Virtualization Introduction
Storage Virtualization Introduction
 
Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualization
 
3 migration
3 migration3 migration
3 migration
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen Server
 
Cloud Computing: Virtualization
Cloud Computing: VirtualizationCloud Computing: Virtualization
Cloud Computing: Virtualization
 

Similar to VDI Design Guide

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
heraflux
 
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev Conference
 
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
 
TechNet Live spor 1 sesjon 6 - more vdi
TechNet Live spor 1   sesjon 6 - more vdiTechNet Live spor 1   sesjon 6 - more vdi
TechNet Live spor 1 sesjon 6 - more vdi
Anders Borchsenius
 
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
Metron
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI ServersGet Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Unidesk Corporation
 
How to Fail at VDI
How to Fail at VDIHow to Fail at VDI
How to Fail at VDI
Dan Brinkmann
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructuresolarisyourep
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
xKinAnx
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationpittmantony
 
Planning & Best Practice for Microsoft Virtualization
Planning & Best Practice for Microsoft VirtualizationPlanning & Best Practice for Microsoft Virtualization
Planning & Best Practice for Microsoft VirtualizationLai Yoong Seng
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity Management
Iwan Rahabok
 
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Amazon Web Services
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksAmit Gatenyo
 
VMWare Performance Tuning by Virtera (Jan 2009)
VMWare Performance Tuning by  Virtera (Jan 2009)VMWare Performance Tuning by  Virtera (Jan 2009)
VMWare Performance Tuning by Virtera (Jan 2009)
vmug
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS
Amazon Web Services Korea
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
Amazon Web Services
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtop
Alan Renouf
 
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
 

Similar to VDI Design Guide (20)

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
 
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
PlovDev 2016: Application Performance in Virtualized Environments by Todor T...
 
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
 
TechNet Live spor 1 sesjon 6 - more vdi
TechNet Live spor 1   sesjon 6 - more vdiTechNet Live spor 1   sesjon 6 - more vdi
TechNet Live spor 1 sesjon 6 - more vdi
 
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
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI ServersGet Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
 
How to Fail at VDI
How to Fail at VDIHow to Fail at VDI
How to Fail at VDI
 
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
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentation
 
Planning & Best Practice for Microsoft Virtualization
Planning & Best Practice for Microsoft VirtualizationPlanning & Best Practice for Microsoft Virtualization
Planning & Best Practice for Microsoft Virtualization
 
Master VMware Performance and Capacity Management
Master VMware Performance and Capacity ManagementMaster VMware Performance and Capacity Management
Master VMware Performance and Capacity Management
 
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
 
VMWare Performance Tuning by Virtera (Jan 2009)
VMWare Performance Tuning by  Virtera (Jan 2009)VMWare Performance Tuning by  Virtera (Jan 2009)
VMWare Performance Tuning by Virtera (Jan 2009)
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtop
 
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
 

More from Dan Brinkmann

IdP, SAML, OAuth
IdP, SAML, OAuthIdP, SAML, OAuth
IdP, SAML, OAuth
Dan Brinkmann
 
Briforum 2011 Chicago
Briforum 2011 ChicagoBriforum 2011 Chicago
Briforum 2011 Chicago
Dan Brinkmann
 
The Tools I Use
The Tools I UseThe Tools I Use
The Tools I Use
Dan Brinkmann
 
Citrix Remote Access Solution Soup
Citrix Remote Access Solution SoupCitrix Remote Access Solution Soup
Citrix Remote Access Solution Soup
Dan Brinkmann
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
Dan Brinkmann
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
Dan Brinkmann
 

More from Dan Brinkmann (6)

IdP, SAML, OAuth
IdP, SAML, OAuthIdP, SAML, OAuth
IdP, SAML, OAuth
 
Briforum 2011 Chicago
Briforum 2011 ChicagoBriforum 2011 Chicago
Briforum 2011 Chicago
 
The Tools I Use
The Tools I UseThe Tools I Use
The Tools I Use
 
Citrix Remote Access Solution Soup
Citrix Remote Access Solution SoupCitrix Remote Access Solution Soup
Citrix Remote Access Solution Soup
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 

Recently uploaded

Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

VDI Design Guide

  • 1. VDI DESIGN GUIDE Hypervisor | Server | Storage
  • 2. What Would Dan Do? Blog: http://www.danbrinkmann.com Twitter: @dbrinkmann VMware vExpert 2012
  • 4.
  • 5. Before You Go Further • Have a business reason • Determine user groups and applications • Determine requirements • Pilot • Gather data
  • 6. Design • VM’s per host • Hosts per cluster • Management infrastructure limits • Storage IO / capacity limits
  • 7. Hypervisor Choices Options • VMware vSphere 85% - 90% • Citrix XenServer 10% - 15% My experience • Microsoft Hyper-V ~0% • VMware View = vSphere hypervisor
  • 8. Hypervisor Choices XenServer • Storage stack • NFS is the best option • LVM over iSCSI or FC is confusing for “Windows” people • Storagelink…/sigh • Lack of 3rd party integration • Lack of skilled engineers in the market • Management built in to hypervisor (XenCenter)
  • 9. Hypervisor Choices Microsoft Hyper-V • 2008 R2 not relevant • Hyper-V 2012 • Offloaded data transfer • No more redirected mode • Additional storage options • CSV cache http://blogs.msdn.com/b/clustering/archive/2012/03/22/10286676.aspx • 3rd party integrations • Network teaming support
  • 10. Hypervisor Choices Which one should I choose? • vSphere • Most features • Broadest support among vendors • Largest base of skilled engineers • Most number of 3rd party integrations • Highest cost • Translate: least amount of brain damage (today)
  • 11. Should I Virtualize vCenter? • Consider an infrastructure cluster Management VM’s Virtual Desktops VMware vSphere VMware vSphere Servers Servers
  • 12. Should I virtualize vCenter? • Use VM-Host affinity rules
  • 13. Servers Determine a Lot • Storage options • Density – cpu/memory • High availability design
  • 14. First Some Virtual Desktop Fallacies • vCPU count • vCPU to pCore overcommit • Memory requirements • Storage IO requirements • Don’t believe vendor estimates
  • 15. Servers - Rackmount vs Blades • Supermodel or the girl next door
  • 16. Servers - Rackmount vs Blades Failure domain • Blade chassis vs individual rackmount server • Design for N+1 blade chassis • Blade chassis failures I’ve seen • Backplane failure • Integrated networking (interconnect) failure
  • 17. Servers - Rackmount vs Blades Local disk • Blade chassis local disk limited and/or expensive • PCI-Express cards not always available as mezzanine option • Desktop persistence
  • 18. Servers – CPU Hypervisor (vSphere) CPU scheduler “When making scheduling decisions, the ratio of the consumed CPU resources to the entitlement is used as the priority of the world. If there is a world that has consumed less than its entitlement, the world is considered high priority and will likely be chosen to run next.” http://www.vmware.com/resources/techresources/10131
  • 19. Servers - CPU Compute with a physical PC OS/Apps/Profile CPU 1
  • 20. Servers - CPU Compute in RDSH / XenApp OS/Apps/Prof OS/Apps/Prof OS/Apps/Prof OS/Apps/Prof OS/Apps/Pr ile OS/Apps/Pr ile OS/Apps/Pr ile OS/Apps/Pr ile ofile ofile ofile ofile CPU 1 CPU 2
  • 21. Servers - CPU Compute in VDI CPU 1 CPU 2
  • 22. Servers - CPU CPU utilization – not enough
  • 23. Servers - CPU This is proper CPU monitoring Display Metric Threshold Explanation Overprovisioning of vCPUs, excessive usage of vSMP or a limit(check CPU %RDY 10 %MLMTD) has been set. Excessive usage of vSMP. Decrease amount of vCPUs for this CPU %CSTP 3 particular VM. This should lead to increased scheduling opportunities. The percentage of time spent by system services on behalf of the CPU %SYS 20 world. Most likely caused by high IO VM. Check other metrics and VM for possible root cause The percentage of time the vCPU was ready to run but deliberately wasn’t scheduled because that would violate the “CPU limit” CPU %MLMTD 0 settings. If larger than 0 the world is being throttled due to the limit on CPU. VM waiting on swapped pages to be read from disk. Possible cause: CPU %SWPWT 5 Memory overcommitment.
  • 24. Servers – 2 Socket vs 4 Socket Failure domain • Smaller host = less desktops affected • Smaller host might also mean more clusters
  • 25. Servers – 2 Socket vs 4 Socket Local disk options (rackmount) • 2 socket servers 8-26 bays • 4 socket servers 8-16 bays 16 drives * 175 IOPs = 2800 IOPs (not RAID adj)
  • 26. Servers – 2 Socket vs 4 Socket $$$ Price $$$ • Historically 4 socket servers have not been a linear price increase from 2 socket servers …so is that still true today?
  • 27. Servers – 2 Socket vs 4 Socket Sample pricing • 2 socket Intel E5-26xx 8c, 384GB RAM ~$15,500 • 4 socket Intel E5-46xx 8c, 768GB RAM ~$32,000- $36,500 ~3% - 18% premium
  • 28. Servers - CPU • More cores is more better (E5 8c, E7 10c) • AMD vs Intel
  • 29. Servers - Memory • Buy a lot of it! • Do not run out! • 16GB DIMM size is common • 24 DIMM slots means 384GB
  • 30. Servers – Hidden Memory Requirements • Memory overhead • Number of vCPU • Amount of RAM • Amount of vRAM • 3D support • Memory pressure • http://kb.vmware.com/selfservice/microsites/search.do?language=en _US&cmd=displayKC&externalId=1033687 • minFreePct 2%-6% • 6% of 384GB is 23GB • Hypervisor requirements • Storage caching (CBRC, CSV cache)
  • 31. Storage VM’s per datastore / LUN • VAAI (ATS) • 4.1 – 2, 5.0 U1 all 8 http://blogs.vmware.com/vsphere/2012/05/vmfs- locking-uncovered.html • <140 per datastore
  • 32. Storage Local disk • Will most likely impact server hardware decision • Small failure domain • Spinning disk limitations • SSD or PCI-E NAND-flash options • Non-persistent virtual machines
  • 33. Storage iSCSI vs Fibre Channel vs NFS • iSCSI vs Fibre Channel • NFS • Best option XenServer • Cluster size options in vSphere 5 U1 • Don’t make choice for “performance” reasons
  • 34. Storage Hidden capacity requirements • vswp file (equal to memory size minus reservation) • vswp file for memory overhead • pagefile • Identity disk (XenDesktop) • Differencing disk
  • 35. Storage – Monitoring • IOPs - #1 reason for VDI failure • Latency
  • 36. Summary • Do not choose hardware first

Editor's Notes

  1. 16 drives * 175IOPs is 2800 IOPs
  2. Tranparent Page sharingBallooningHypervisor swappingMemory compressionSwap to host cache (SSD)
  3. Atomic test and set