Home > Server Virtualization Tips > Virtualization platforms > How to optimize network performance with Microsoft Virtual Server 2005
Server Virtualization Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

VIRTUALIZATION PLATFORMS

How to optimize network performance with Microsoft Virtual Server 2005


Anil Desai, site expert
11.08.2006
Rating: -4.14- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


It's rare these days to encounter computers or applications that don't, in some way, rely on a network connection. General networking principals apply to virtual machines just as they apply to physical ones. But because the host's network adapters will be providing resources for all VMs, there are some special considerations.

In this article, I'll present some ways to design networks with virtualization performance in mind.

Note: For an introduction to working with Virtual Server's networking options, see Configuring virtual networks in Virtual Server – Microsoft Virtual Server from the ground up.

Managing host network adapters
When multiple VMs perform network-intensive operations, the host's network adapter can become a bottleneck. In the simplest network configuration, a Virtual Server host computer will have only physical network port. Although this system will allow you to share the network adapter with VMs, you can add some security and manageability by adding a second network port.

Figure 1 shows an example. Since it's a good idea to isolate network traffic (for security and performance reasons), you can choose to place all VMs on a separate virtual LAN (VLAN) on your switch.

[IMAGE]
Figure 1: Using multiple host network adapters

Since Virtual Server allows you to connect up to four virtual NICs per VM, you can add additional physical network connections, as needed.

Using the Virtual DHCP Server
Virtual Server's built-in DHCP Server can be enabled for virtual networks and can help you create logically separate networks on the same physical network segments. By using differing IP address ranges, this technique can help segregate network traffic without requiring the configuration of VLANs or other devices on your switches.

Figure 2 shows an example of a potential configuration.

[IMAGE]
Figure 2: Using DHCP to logically isolate network traffic



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   




Using NIC teaming

NIC teaming allows multiple network ports to act as one logical unit, with two main goals. The first is automatic fail-over. If one of the connections becomes unavailable (due to a port or switch failure), the other port can seamlessly take over the load.

The other goal is performance. Having multiple ports working together in a group can increase effective bandwidth. Keep in mind that some configurations will depend on support from the network infrastructure side (for example, port grouping options on switches).

Another network optimization is to change the default TCP packet size. If you'll be routinely transferring large files (such as VHDs) between servers, using Jumbo Frames can greatly reduce overhead and increase performance.

Virtual Server and firewalls
It usually goes without saying that firewalls and port-level filters provide an important layer of defense for Virtual Server hosts and VMs. Theoretically, if an unauthorized user gained access to your Virtual Server host, she could gain access to the VMs themselves.

If you want to place a firewall between Virtual Server and potential users, you'll need to keep in mind the ports you might need to open to make various services available (see Table 1).

[TABLE]
Table 1: TCP Ports used by various Virtual Server-related services

Monitoring network-related performance
When planning for virtualization network configurations, it can be useful to get statistics about traffic traversing the host and guest interfaces. Table 2 provides an example of statistics that can be collecting using Windows System Monitor.

When measured at the host level, you can get an aggregate summary of how much bandwidth is being used and if there's an outbound queue. To drill-down on the source of the network information, each guest OS can be monitored. You can further filter the details per network adapter.

[TABLE]
Table 2: Network performance counters of the "Network Interface" object

Summary
You can configure networks to better support virtual machines in many ways. We looked at methods for segmenting traffic, increasing throughput, configuring firewalls and monitoring network statistics. All of this can help optimize network performance in virtualized environments of any size.

Optimizing Virtual Server directory
Series introduction
Monitoring CPU and memory resources | Managing CPU resource allocation
Designing virtual hard disk storage | Maintaining virtual hard disks
Using network-based storage | Optimizing network performance


Rate this Tip
To rate tips, you must be a member of SearchServerVirtualization.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Search More Tips on Virtual Implementation and Virtualization Platforms

Citrix - Application, Desktop and Server Virtualization Center

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts