Sie sind auf Seite 1von 3

white paper

Considerations when Virtualizing High I/O


Workloads
Title: Considerations when Virtualizing High I/O Workloads
Author(s): Xtravirt (Paul Buckle)
Target Audience: Technical - Intermediate
Current Revision: 1.0 (July 2009)
First Published: July 2009
Product(s): General Virtualization
UID: XD10108

Content Overview:
• Typical High I/O Workloads
• Virtualizing High I/O Workloads, options and considerations

1.0 Introduction 3.0 Options and Considerations


A server consolidation project typically starts with an
assessment of the existing physical estate, resulting 3.1 Use virtualization-aware host servers
in not only the identification of the most suitable Over recent years, CPU and chipset vendors have
virtualization candidates, but conversely, those which introduced a raft of technologies that improve the
have greater resource demands. Often, though not performance of virtualized workloads; Intel has
exclusively, these are found to be those machines that developed the “Intel-VT” family of technologies and
provide an organization’s enterprise-class services, such AMD, “AMD-V”.
as databases, e-mail, and ERP.
All work on the principle of making the hardware more
While these potential bottlenecks cannot be ignored, aware of the environment in which it operates, allowing
a combination of advances in hardware technology it to co-operate with the virtualization software,
and a creative approach to configuration of the reducing the load on the hypervisor and hence the
virtualized environment can enable the virtualization performance overhead on virtual machines. This in turn
of such machines. An awareness of these options widens the range of workloads for which virtualization
and considerations will help make the subsequent is an option. This is one option that really should not be
virtualization of high I/O workloads a success. overlooked; ensure all your host hardware is Intel-VT or
AMD-V capable.

2.0 Typical High I/O Workloads 3.2 Use suitably specified I/O cards
• E-mail Servers – Almost always exhibit very high Regardless of how effective virtualization software is,
disk I/O, simply as a result of the nature of the equivalent functionality can always be performed more
product. efficiently in hardware/firmware. This principle not
• Databases - Often exhibit high disk I/O as data is only led to the introduction of the above “hardware
read at a rapid rate from a limited number of files. assist” technologies, but also in the development of
• Terminal Servers - Can exhibit high disk I/O as enhancements to I/O cards. This includes features such
the hosted applications almost constantly write as jumbo frame support and TCP Offload Engine (TOE),
to disk. as well as the traditional increments to operational
• File Servers - Can exhibit high network and disk speed. Consider using I/O cards with such capabilities
I/O, particularly if anti-virus software is installed. in host servers, ensuring that the virtualization platform
also supports the card and feature set.

information@xtravirt.com www.xtravirt.com © 2009 | 1


visit www.xtravirt.com for the
latest version of this document

Online resources for the virtualization industry


We simplify complex concepts and make them valuable, practical
assets. Free white papers, articles, how-to-guides, e-books,
presentation tools and much more.

3.3 Use storage with suitable performance and avoiding the associated overhead altogether. This
capabilities is achieved through a combination of hardware and
Modern virtualization platforms support the use of a virtualization platform features, such as Intel VT-d or
wide variety of storage types and while the differences AMD IOMMU and VMware VMDirectPath. However,
in levels of performance continue to diminish over time, it should be noted that the use of such pass-through
it remains critical to ensure the storage is able to meet abilities has an impact on the portability of the virtual
the demands of the workloads it will be supporting. For machine and it is effectively becomes tied to that
example, a fibre channel-based SAN back-ended with specific host server.
15K RPM disks will offer much higher I/O rates than
NFS-based storage on 7.2K RPM SATA disks. 3.6 Use paravirtualised device drivers
Paravirtualized device drivers are developed to be
That’s not to say that the same storage platform has to virtualization-aware and consequently result in lower
be used for all virtualized workloads; using the highest host CPU utilization and greater I/O throughput.
performing platform throughout can be prohibitively Typically, the virtualization platform has to emulate the
expensive and so a tiered storage approach would host I/O devices that are presented to a guest operating
typically be adopted. system and this emulation can be very slow, resulting in
poor performance.
3.4 Dedicate host I/O resources to the virtual
With a paravirtualized device driver, a disk device or
machine
network card will continue to appear as a normal to the
By its very nature, virtualization results in the sharing
guest operating system but because the device driver
of host resources between multiple virtual machines.
is aware of the virtualization layer and able to interact
In the vast majority of cases does not cause any issues;
with it directly (without emulation), disk and network
indeed it’s from this approach that the principal benefits
subsystems can operate at near native speeds. Note
of virtualization are derived.
that not all guest operating systems support the use or
paravirtualized device drivers.
However, when a virtual machine has consistently high
I/O demands, it may be constrained by the portion of
I/O bandwidth that the virtualization platform makes 3.7 Dedicate a host to the VM
available to it. Consider configuring the virtualization The ultimate extension to the approach of dedicating a
platform so that the relevant resource, a network card specific resource to a virtual machine is to dedicate the
for example, is dedicated to the virtual machine in entire host to it. This technique is principally employed
question. to dedicate the entire compute resource (CPU and
RAM) of the host to a single virtual machine, but it
obviously has the same effect for all I/O resource (disk
3.5 Provide the guest operating system with
and network) too. The result is that the performance of
direct access to the I/O hardware the virtual machine is only affected to the extent of the
A recent development is the ability to give a virtual
overhead imposed by the virtualization platform.
machine’s guest operating system direct access to the
host I/O hardware, bypassing the virtualization layer

information@xtravirt.com www.xtravirt.com © 2009 | 2


visit www.xtravirt.com for the
latest version of this document

With modern software this overhead can be as low as 5


per cent, and this can be reduced further through the
use of paravirtualized drivers, making it inconsequential
in the majority of cases. The natural trade off’s in this
approach are the whether the benefits of virtualization
outweigh the cost of virtual infrastructure licensing,
administration etc. The point of view on this could vary
significantly between different companies.

4.0 Conclusion
Developments in server hardware and advances in
virtualization technology have made it possible to
virtualize an increasingly diverse range of workloads.
In summary, those workloads that were previously
excluded as virtualization candidates due to their high
I/O should be reconsidered.

This concludes the white paper.

About Xtravirt
Xtravirt is a knowledge-based company that delivers its expertise in virtualization online and in person. We have developed a reputation for astute
leadership and expertise through our work with an impressive array of organisations. It is this real-world experience that drives our ability to provide
independent, current and free advice online.

We work with organisations whose IT staff are frustrated with how hard it is to find detailed information and skills around virtualisation. We help our clients
deliver the true benefits of virtualization, resulting in cost and time savings.

For more information contact:

Dorset House, Regent Park


297 Kingston Road, Leatherhead
Surrey KT22 7PL
t +44 (0) 1372 824 296
f +44 (0) 1372 824 576
e information@xtravirt.com
w www.xtravirt.com

© Copyright 2009 Xtravirt Ltd. All rights reserved. The information contained herein is subject to change without notice. Xtravirt Ltd shall not be liable for technical or editorial errors
or omissions contained herein. Xtravirt and the Xtravirt logo are registered trademarks of Xtravirt Ltd. The names of actual companies and products mentioned herein may be the
trademarks or registered trademarks of their respective owners.

This document remains the property of Xtravirt Ltd. Contents may not be copied, reproduced or modified without written consent from Xtravirt Ltd.

Useful Links 5. Jumbo frames, http://en.wikipedia.org/wiki/Jumbo_frame


1. Intel Virtualization Technology, http://www.intel.com/ 6. TCP Offload Engine, http://en.wikipedia.org/wiki/TCP_
technology/virtualization/technology.htm?iid=tech_vt+tech Offload_Engine
2. AMD Virtualization Technology, http://www.amd.com/us/ 7. Virtualizing Server Workloads, http://www.amd.com/us-en/
products/technologies/virtualization/Pages/amd-v.aspx assets/content_type/DownloadableAssets/AMD_WP_
3. Intel Virtualization Technology for Directed I/O (VT-d), http:// Virtualizing_Server_Workloads-PID.pdf
www.intel.com/technology/itj/2006/v10i3/2-io/1-abstract.htm
4. I/O Virtualization and AMD’s IOMMU, http://developer.amd. Tags
com/documentation/articles/pages/892006101.aspx Virtualizing, High I/O, I/O, Workloads

information@xtravirt.com www.xtravirt.com © 2009 | 3

Das könnte Ihnen auch gefallen