virtual machine with dedicated GPU - is it possible? Private GPU Cloud

8

1

This is also referred to as cloud GPU.

I want to build a VM host (VMware or windows - or other?) that will have 8 GPU's on it, and the VM clients will be able to use the GPU's as needed. It can either be that each VM has it's own GPU, or that the GPU's are in a queue/bucket - and clients use them as needed.

  • Is it possible today?
  • Is it possible with either VMware or Windows?
  • Is there another solution that is able to provide this?

There are some web sites that offer this, I want this in-house.

Saariko

Posted 2012-05-23T13:54:49.543

Reputation: 727

1I have never heard of a solution like this and given the extremely poor 3D support in all hypervisors, I doubt it exists today. – Der Hochstapler – 2012-05-23T14:22:20.043

What do you intend to do with those GPUs? Computation (CUDA/GPGPU/...) or graphics? (I assume it's the former) – Renan – 2012-05-23T14:25:02.567

1Our software uses the GPU to calculate 3D cloth rendering in real time. As our service goes online, we need a way to multiply and answer demand in real time as well. Currently, we are looking for in-house dev env. as well as to learn and burn when needed. – Saariko – 2012-05-23T16:28:51.340

What would be the event that would let the vm host know that a guest needed a GPU assigned? I can imagine a way in Xen where you could get a VM to send a request to the host, which could cause a script to run that would assign a gpu to a guest, but I imagine that you needed the virtual gpu present from the start if it was windows? – Paul – 2012-05-23T22:09:36.873

@Paul you are right. the idea is that the GPU will be present there always for use of the VM. so for instance, I have a rack of 8 GPU's, waiting to be used, and a host with VM clients that can utilize the GPU's when they are needed. Just a point: it's not a vritual GPU :-) it's a physical GPU attached to a Virtual machine. I don't mind it been a one-to-one connection. e.g. only one GPU can be used by a single VM and vice versa. – Saariko – 2012-05-24T04:47:03.343

2If you are happy with a GPU per VM, then you could use Xen for sure - you just assign the GPU pci slot to a VM. You need a processor and motherboard that support VT-d (in addition to VT-x) if you are using Windows in the guests. This is called pci-passthrough, and it hands over the pci slot to the guest entirely. I am not familiar with the other hypervisors to know if they can do this too. – Paul – 2012-05-24T06:01:40.250

These are my CPUs: System Type x64-based PC Processor Genuine Intel(R) CPU @ 2.30GHz, 2301 Mhz, 8 Core(s), 16 Logical Processor(s) Processor Genuine Intel(R) CPU @ 2.30GHz, 2301 Mhz, 8 Core(s), 16 Logical Processor(s) . I enabled the VT-d on the MB, ill go and install Xen, see how it's going. thanks all – Saariko – 2012-05-24T09:56:27.637

Answers

4

You might want to take a look at Xen, it supports VGA passthrough if your hardware supports VT-d. E.g. Setting Up A Xen Graphics Card Pass-Through.

However, if you want to use CUDA, OpenCL etc... (this is what I assume, since you're talking about a "GPU cloud"), you are looking at a very big problem. See those discussions:

Renan

Posted 2012-05-23T13:54:49.543

Reputation: 7 463

Thanks, we dropped the CUDA for now, even that we are very familiar with it. if you want, here is our demo site http://3dvirtualclothing.optitex.com/#%21 please note, items here are pre-baked - these are images of a 3D object in the background - in the future, you will be able to alter the dummy and get your fit. http://3dvirtualmodel.optitex.com is the altering front end

– Saariko – 2012-05-23T16:34:05.530

note: the virtaul model site is a real time calculation of the mannequin that produces a 3D object. – Saariko – 2012-05-23T16:36:33.513

1

Well, Server 2008 R2 supports RemoteFX, which is a technology...that is designed to improve the visual experience of the Remote Desktop Protocol.

The server needs at least one dedicated graphics card (one card can support up to 12 machines).

It's an interesting idea that I, personally, have not used yet, although it is certainly on my "to look at" list.

tombull89

Posted 2012-05-23T13:54:49.543

Reputation: 6 533