Skip to content

Supplemental Data – for vSphere Optimize and Scale Class

This page is intended to be a single source for data to supplement the material covered in the VMware vSphere Optimize and Scale class.  It is based mostly on Frequently Asked Questions  from students, who attend this class.  It provides additional details and URLs on items discussed in class.

Storage I/O Control – Injector Model:  Version 5.1 of vSphere Storage I/O Control introduced an “Injector Model” that is discussed in the course.  This article from Frank Denneman provides more detail on the Injector and why it may not play well with storage systems that provide Auto Tiering.

Hardware MMU Virtualization – Transparent Page Sharing (TPS) – Large Pages:   The class addressed the impact of Large Pages (2 MB) and TPS.  It also recommended using Large Pages versus small pages (4KB) when dealing with Java applications to minimize Translation Look-ahead Buffer (TLB) misses and improve the performance of Intel-EPT and AMD-RVI.  This article on provides more details, including an ESXi host setting (mem.AllocGuestLargePage=0) to force small pages.  It discusses the related design trade-off of performance versus VM consolidation ratio.

VMware has posted a performance paper related to this topic, that shows the results of tests aimed at measuring the impact of Hardware based MMU virtualization provided by Intel EPT (versus software based) and Large Pages (versus small pages) on specific memory intensive workloads.

.dvsData folder – Distributed vSwitch Data

DVS information is stored on each ESX host located at /etc/vmware/dvsdata.db. This is a binary file (database) that can be dumped with the net-dvs command and the “-f” switch.   The data is also automatically stored on a shared VMFS volume in a folder named “.dvsData”.  Here is an interesting KB article (1010913) concerning how DVS data stored on vCenter can get out of sync with a host and what action to take to correct the issue:  

dvSwitch –  Load Based Teaming

Distributed vSwitches offer an extra choice for NIC Teaming, “Route based on physical NIC load”.  Here is a good explanation, plus a comparison to IP-hash based teaming.

dvSwitch Best Practices

Here is a white paper for best practices concerning distributed virtual switches:

Private VLANs

Here is more details on Private VLANS.

Cisco Nexus 1000V switch

Cisco has created the world’s first 3rd party distributed vswitch for use with vSphere.  Here are some details:   and

Deployment Guide:

DMZ virtualization using Cisco Nexus 1000v:

IBM 5000V Distributed vSwitch

IBM now offers a distributed vSwitch. Here are some details: and



EMC PowerPath VE

The native multi-pathing modules in vSphere do not provide true load balancing; however, vSphere provides vStorage APIs and a pluggable archietecture permitting partner storage vendors to produce unique multi-pathing modules.  The primary example of this is EMC PowerPath VE, which could be used to provide true load balancing in a vSphere environment.


Explanation of Target Port Group Support (TPGS) and Asymmetric Logic Unit Access (ALUA):

Memory Management in vSphere

ESX Server provides a Ballooning Mechanism to borrow RAM from a rich VM and give to a poor VM.  Here is a link to a good, detailed article that includes an explanation of ballooning and other memory related information.

Memory compression – New Feature in vSphere 4.1

The vmkernel now looks to compress memory in a memory compression cache within the VM.  This step exists just prior to vm swapping step:


Here is a very detailed document on ESXTOP.  It includes detailed descriptions of many counters, including formulas indicating how some counters are calculated from other counters.

Distributed Power Management (DPM):

Power Savings in vSphere

vscsiStats command

The vscsiStats command can be run from the Service Console prompt on an ESX server to collect performance data on the activity of the virtual SCSI disks used by VMs.

To list all VMs, their world IDs, and virtual SCSI devices use this command:

vscsiStats -l

Use the following command to collect SCSI related performance data from a specific VM and save the data in a CSV file.

vscsiStats -p all -c -w <worldID> > /tmp/vmstats-<vmname>.csv

When finished, be sure to stop the data collection with this command:

vscsiStats -x -w <worldID>

Macro used to built histograms from a CSV file produced by vscsiStats:

Performance Best Practices for vSphere

Performance and Scalability for SQL Server on vSphere:


Running Exchange Server on vSphere using NFS, iSCSI, and Fiber

Click to access vsphere_perf_exchange-storage-protocols.pdf

Configuring Microsoft Network Load Balancer on VMware Infrastructure:

VMWare ESX (ESXi) Monitoring Modes

The vmkernel can use Binary Translation to run the virtual CPU of a VM, but new physical CPUs allows the Virtual Machine Monitor (VMM) to be moved to the pCPU (will allow the VMM to run on the CPU beneath Ring 0.)   Likewise, newer pCPUs can virtualize the Memmory Management Unit (MMU).   Virtualizing the VMM and MMU allows the VM to execute more efficiently.  This should occur automatically, whenever the hardware supports it.  To determine if a VM is actually utilizing hardware based virtualization, follow the advice in this link:

Host Cache Configuration

In ESXi 5, a new feature called Host Cache has been created.  It allows swapping to host cache, which means swapping to a Solid State Drive.  Here is a nice article:

Security Hardening and Compliance

Here is the latest released Official VMware Security Hardening Guide for vSphere

vCenter Configuration Manager is worth a look as a tool to help verify compliance with regulatory standards and industry best practices, such as VMware Hardening Guidelines, PCI, FISMA, HIPPA, and SOX:

Deep Dive DRS

Impact of Memory Reservation

MSCS on vSphere 5

vSphere Log Files

Here is a link that explains the purpose of many of the log files located on ESXi servers:

ESXi log files are not persisted during shutdown, so it is best to configure a datastore to hold the logfiles and / or configure central logging via syslog using a syslog receiver or via vilogger using vSphere Management Assistant.  Here are some details for syslog:

And more details, including description of log file:

And details for changing the scratch partition:

Commands and scripting

VMware created a set of commands for the ESXi command shell.  The legacy commands begin with the string “esxcfg-“, such as esxcfg-nics and esxcfg-vswitch.  Today, VMware provides a single command for almost all purposes.  The command is esxcli, which involves a complex set of arguments.  VMware prefers that such commands are run remotely using the vSphere Command Line Interface (vCLI), which can be installed on an administrator’s desktop (Windows or Linux), or can be run within a deployed VMware vSphere Management Assistant (vMA) virtual appliance. Here is some information to get started:


Several automation tools are available to function with vSphere.  The most powerful tool is probably the PowerCLI.  Generally, if any vCenter task requires automation beyond what the vSphere client provides or if the client does not adequately provide a desired function, the first place to turn to may be PowerCLI.  It provides a command set that allows the creation of scripts to call operations to be run in vCenter and the ESX servers.

Potential Causes for Excessive Read Packets Loss

Here is information on possible causes for high number of Received Packets Dropped packets.  The main causes could be driver issues, vSwitch misconfigurations, or firmware issues.

Security Hardening

VMware has recently release the VMware vSphere 5.1 Security Hardening Document.   Although many parts of vSphere are already well secured, administrators of large and growing environments should certainly read and adhere to this guide.

Storage DRS 

Storage DRS is probably the best new feature of vSphere 5.x   The Optimize and Scale class offers a lot of details on Storage DRS, but for more detail, take  look at this presentation:  Storage DRS – Deep Dive .   For example, it explains on page 21 exactly how Storage DRS utilizes the latency threshold and data samples and determines if an imbalance exists.
One Comment
  1. vcloudnine permalink

    Thanks this is going to help me prepare for my VCAP

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: