Server applications must exchange data with end users and storage subsystems, so effective server virtualization...
must also include solid network performance. Inefficient configurations and latency can conspire against workloads and impair the user experience. Fortunately, hypervisors like VMware ESXi provide ample tools to measure network latency along with techniques for increasing efficiency.
Free point tools like Iperf or Iometer are often recommended for ad-hoc network performance testing. The goal is to test the maximum bandwidth from strategic points in the environment. For example, test bandwidth at the suspect virtual machine, test bandwidth on a system outside of the virtualized host server, test bandwidth on a system outside of the virtualized host on the same VLAN, and then test bandwidth on two VMs on the same virtualized server and vSwitch.
After you measure network latency, compare results and look for the presence of possible network bottlenecks. For example, poor network performance on only one VM may suggest resource allocation problems -- CPU and memory -- to that troubled workload. By comparison, network issues afflicting every workload on a specific server -- while other servers perform normally -- may suggest possible network configuration issues or trouble with the server's network interface cards or software optimization issues like improper traffic shaping or incompatible jumbo frame configurations. And network performance issues with related server groups may suggest network problems such as a fault in a common shared switch. There are certainly other possible causes to consider, but using tools to evaluate the problem's scope is a standard troubleshooting tactic that can help narrow the cause.
If you do choose to use tools like Iperf to measure network latency, VMware suggests changing the TCP window size to 64 KB at the client and server sides. Smaller TCP sizes may cause excess handshakes resulting in unexpectedly low network performance results. Refer to the instructions for your specific tool in order to define the optimum TCP window size or other test settings that are most appropriate for your particular environment.
How VMware NSX will change networking jobs
Five key networking features in vSphere 5
Applying virtual networking concepts to your data center
Dig Deeper on Virtual machine monitoring, troubleshooting and alerting
Related Q&A from Stephen J. Bigelow
Version 2.0 of the vRealize Operations Service Discovery Management Pack has been updated with user-defined service discovery, but consider the ...continue reading
Admins can view infrastructure information in the services relationship, VM relationships, service distribution and service visibility dashboards of ...continue reading
The vRealize Operations Service Discovery MP automatically discovers services running on VMs, as well as the relationships and interdependencies ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.