VMware Cloud Community
thhg
Enthusiast
Enthusiast

Passthrough

I have a question about Passthrough vs non-passthough

Under what circumstances would I want to pass through a device that is used by all VMs - such as RAID, Ethernet ?

and what's the advantage of passing though a USB add-in card as a PCI device vs just adding the USB to the VM using Edit Setting / Add Hardware / USB Controller

Sorry - newbie question

Steve

0 Kudos
7 Replies
thhg
Enthusiast
Enthusiast

I had read that KB but it does not specify advantages / disadvantages of USB passthough

I'm also wondering about other devices and when they should be passed through or not - RAID adapter, Ethernet ,etc

0 Kudos
JohnOCFII
Contributor
Contributor

As far as I know - you would not want to pass through hardware that needs to be used by multiple VMs, as once the hardware is passed through to a single VM, it is no longer available for use for the other VMs.

As far as passing through a USB controller vs. just assigning a USB port during run-time -- I think it is a decision that can be based on whether or not you consider the passed through USB something that you want permanently assigned, or not.  After a VM or host reboot, for example, items that are passed through will just re-appear on the VM, and not need to be manually re-associated with the VM.

In my use case, for a test ESXi server, I have a RAID controller passed through to a Linux VM.  That VM is a NAS that serves drives via NFS and SMB to both other VMs and other physical machines on my network.  I also have a graphics card, and USB controller with keyboard and mouse that I pass through to a Windows VM.  This allows that VM to be used like a "physical" PC, including higher performance video output that often does not work so well on a "straight" VM.

Just my use case -- might be able to help you determine when to use passthrough devices.


John

0 Kudos
thhg
Enthusiast
Enthusiast

I have 2 Remote Desktop Services 2008 R2 servers - each server runs about 50 remote sessions

Performance is ok. they each have 3 cpus allocated (not passed through) to them with about 32 GB memory

It's just using the VMWare video.  The built in graphics chip is ASPEED

Any particular hardware device that would be worth passing though ?

0 Kudos
JohnOCFII
Contributor
Contributor

"Any particular hardware device that would be worth passing though ?"


No - not for that use case - I don't see any reason to passthrough hardware.  You really lose a lot of benefit to virtualization doing passthrough (such as doing VMotion, etc.), so you shouldn't do passthrough unless you have a particular need.  Your use case is a good use of the normal facilities of virtualization. 


John

0 Kudos
jagdish_rana
Enthusiast
Enthusiast

Hi There,

As per my understanding we can't share the passthrough devices for multiple VM's.

Please refer the vmware article

VMware KB: Configuring VMDirectPath I/O pass-through devices on a VMware ESX or VMware ESXi host

Thanks

0 Kudos
IBM_India
Enthusiast
Enthusiast

Oftentimes people talk about passing a RAID controller/ HBA/ USB drive through to a guest OS in VMware ESXi (this guide is based on 4.1 and works for ESX too) using VMDirectPath I/O or disk through disk in Microsoft Hyper-V. This is especially useful when one either needs direct RAID controller/ HBA access for an operating system which is recommended for OpenSolaris/ FreeBSD solutions or USB access for an OS installation. It is a fairly simple process, so I figured I would provide a quick guide. Before embarking on this process, please note that the server will need to be restarted mid-process so this is not something that should be done on an ESX host with critical virtual machines running on the host.

May be this is helpful please find link for configuration and other details for same issue

Configure Passthrough-VMDirectPath in VMWare ESXi RAID USB

if you think this post is helpful, please provide points accordingly thanks Zubair Technical Specialist
0 Kudos