Escolar Documentos
Profissional Documentos
Cultura Documentos
mhonigford@vmware.com
Deploy
Manage
Ensure %RDY counter is less than 10% Change the default SCSI controller
Default for Windows XP is BusLogic Change to LSI Logic Parallel
diskpart select disk 1 (assuming you only have 1 .VMDK file already)
diskpart create partition align=64
Install Windows using standard method Press F6 to install driver from floppy, mount floppy image and load LSI logic
Driver (not required for Windows 7)
Windows OS Optimizations
Install VMware Tools
Install Windows Patches, then turn OFF Automatic Update Disable Serial and Parallel ports in Device Manager (if they exist) Set Screensaver to None or Blank
Windows OS Optimizations
Disable Windows Error Reporting Remove unnecessary boot applications (Quicktime, Real, Adobe Acrobat Updater, etc.
Remove unneeded Windows components (Outlook Express, Messenger, Games, etc.) Disable unnecessary services
File System
Disable NTFS Last Accessed option
fsutil behavior set disablelastaccess 1 (Requires reboot) Disable Windows Prefetcher
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PrefetchParameters\EnablePrefetcher];
Disable Indexing
Double Click My Computer, Right click on C:\ Properties Click General
tab and clear Allow Indexing Service to Index
Use User Profile Hive Cleanup Service to help prevent profile corruption
Power Settings
Disable hibernation
Change power settings to High Performance and disable sleep timer
Disable Notifications
Disable logging of informational Printing events
Open Printers and Faxes, Click File Server Properties Advanced and
clear Log spooler informational events
Internet Explorer
Disable Use Suggested Sites
Set home page to Intranet site, or blank, or something lightweight Change IE to prevent programs from suggesting a change of the search provider Remove Webslice gallery and suggested sites from Toolbars on IE Add trusted sites as necessary
Common Applications
Install Adobe Flash Player (turning off automatic updates) Install Adobe Reader and set to Do not download or install updates automatically
Turn Java Updater off Remove MS OneNote tray service (if installed) Turn off Outlook Cached Mode Remove the Language Bar
Regsvr32.exe /u msutb.dll
General OS Environment
Set Pagefile to static size Change the default Windows Theme to Basic Adjust visual effects for Best Performance Enable ClearType Fonts
Turn off Windows Security Center Turn off Automatic Computer Maintenance Disable Allow users to browse for troubleshooters Disable Allow troubleshooting to begin immediately when started
Network Optimizations
Disable NetBIOS over TCP/IP
Disable IPv6 Join Master Image to Domain (if using View Composer) Add any necessary DNS suffixes
NTRegOpt.exe Registry Optimizer, removing white space in registry Run disk cleanup Defrag the HDD Delete all event logs Make the User profile the Default Profile Windows 7, ensure KMS server is enabled Make sure Floppy and CD-ROM drives are set to Client Device and not set to Connect at Power On
Outlook .OST will likely end up on UDD in Outlook cached mode (and UDDs are
difficult to resize)
Validate the cost and performance tradeoffs of Cached Outlook mode for VDI
TPS Optimization
VM Memory Size
VM Density
Disk consumption
Will users need to install apps? Are users modifying registry keys or environment variables?
Pool Type
vCenter Servers
Cluster Hosts
Max Eight ESX hosts per cluster serving linked clones Leave room for failover and maintenance
Cluster Settings
RAM
pNICs
VMs/pNIC/VLANs 1 Port group per VLAN ID 1GBE vs. 10GBE Storage network 10GBE cost dropping (NFS/iSCSI)
NFSBest performance with jumbo frames iSCSI vendors Type/protocol Size and Quantity optimizing performance Performance
Storage
Linked Clone Pool datastore size= Replica VM VMDK size + (Desktop VM Memory Provisioned * 2)
+ (Parent VM VMDK * 25%) + Log File storage size
Conservative
~100 MB
Max per LUN: 64
Track or limit user initiated changes, or plan on increasing cluster capacity over
time
Create and enforce strong naming conventions for Parent VMs and snapshots
Avoid overloading VLANs used for View desktops to avoid running out of IP
addresses
This situation is difficult to troubleshoot
vCenter Management
Do not allow a vCenter VM to manage the ESX host its running on
Recommendations
User Data and Persona Management
Use folder redirection for My Documents
Easier to use existing file archival system, maintain multiple file versions
Evaluate Profile Management Applications Turn off Outlook Cached Mode VMs on same high speed network dont benefit as much from cached mode
Save on disk space and conserve storage IOPS Never P2V a physical machine for a View master image It would be more efficient to build a VM from scratch
References
http://www.emc.com/collateral/software/white-papers/h7168-performanceoptimization-windows-xp-vdi-wp.pdf EMC Document on optimizing Windows XP
http://www.creedtek.com/?p=37
Some Best Practices for tuning Windows 7
www.VDI.COM
Independent online gathering of VDI gurus
www.vmware.com
VMware corporate web site. Collection of Best Practices guides, sizing guides,
and white papers
Q&A
Thank You!