Teljesítmény optimalizálás

http://artykul8.com/2012/06/vmware-performance-enhancing/

http://www.petri.com/top-10-vmware-vsphere-performance-tips.htm

http://www.vmware.com/pdf/ws7_performance.pdf

.VMXsettings.iniC:\ProgramData\VMware\VMware Workstation\C:\Documents and Settings\All Users\VMware\VMware Workstation\/Users/username/Library/Preferences/VMware Fusion/preferences/Users/username/Library/Preferences/VMware Fusion/config

Tweak: Disable memory swap files .vmem files

mainMem.useNamedFile = "FALSE"

Unfortunately this parameter does not work for VMware Player, as it always creates virtual machine’s full memory swap file. For VMware Fusion on Mac and Linux instead of mainMem.useNamedFile you have to set mainMem.backing flag.

mainMem.backing = "swap"

Tweak: Choose the right disk controller and specify SSD

Instead of the latest SATA AHCI controller choose LSI Logic SAS controller with SCSI disk for Windows guest OS, or PVSCSI for other types of OS. Unfortunately SATA AHCI on VMware has the lowest performance out of the three controllers and highest CPU overhead (see the references on the topic at the end). In addition to choosing the right controller, if your host disk is SSD you can explicitly specify the disk type as SSD to guest OS.

scsi0:0.virtualSSD = 1

Tweak: Disable log files for VM

logging = "FALSE"

Alternatively you can specify a different location to store the log file, if you ever need them:

log.filename = "c:\Windows\Temp\vm1.log"

Tweak: Other Disk & Memory I/O Performance Optimization

Disable memory trimming:

MemTrimRate = "0"

Disable page sharing:

sched.mem.pshare.enable = "FALSE"

Disable scale down of memory allocation:

MemAllowAutoScaleDown = "FALSE"

Tweak: Disabling Snapshots

Disable snapshots if you are not using them and prefer full backups:

snapshot.disabled = "TRUE"

Tweak: Disable Unity Mode

Unity might be a great feature for running virtual desktops operating systems, but it is not the most useful for virtualizing server OS. An annoying sign of enabled unity is GuestAppsCache or caches folder with a large number of files and subfolders. In order to disable it for your VM add the following lines:

isolation.tools.unity.disable = "TRUE" unity.allowCompositingInGuest = "FALSE" unity.enableLaunchMenu = "FALSE" unity.showBadges = "FALSE" unity.showBorders = "FALSE" unity.wasCapable = "FALSE"

References:

VMware KB: Troubleshooting hosted disk I/O performance problems

VMware: Disk I/O Performance Tips

VMware Blog: Defragmentation overview

VMware KB: Disabling the Workstation Log File or Storing the Log File in a Different Location

VMware Blog: Which vSCSI controller should I choose for performance?

Article: Virtualizing SQL Server with VMware: Architecting for Performance: Storage

Blog: Emulating an SSD Virtual Disk in a VMware Environment