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
Just because software passes functional tests doesn't mean it works. Dig into stress, load, endurance and other performance tests, and their ... Continue Reading
Don't neglect form factor as part of your data center server selection. Instead, figure out what type of environment you need and learn which server ... Continue Reading
Learn how load balancing in the cloud differs from a traditional network traffic distribution, and explore the different services available from AWS,... Continue Reading