Beruflich Dokumente
Kultur Dokumente
Content Overview:
• Typical High I/O Workloads
• Virtualizing High I/O Workloads, options and considerations
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.
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
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.
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.
© 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.