public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] GPGPU Support In KVM
@ 2010-11-24 14:06 Prasad Joshi
  2010-11-24 19:56 ` André Weidemann
  0 siblings, 1 reply; 4+ messages in thread
From: Prasad Joshi @ 2010-11-24 14:06 UTC (permalink / raw)
  To: kvm@vger.kernel.org

Hello All,

I am Prasad Joshi, studying in a UK University. As a part of project in the University, I have decided to add GPGPU support in the KVM using virtio. There are two parts of supporting GPU in VM

1. GPU as a Graphics Device
2. GPU as a Parallel Programming Device (GPGPU)

For this project I would be interested in the second application of GPU.

Supporting GPGPU in VM has significant advantages in the HPC and Cloud Computing. None of the virtualization mechanism has support for GPGPU in the Virtual Machine.

There are few alternatives like vCUDA (only supported Xen) and gVirtuS. But both of them relay on intercepting the CUDA API calls and forwarding them to a machine that has GPU card attached to it. None of them actually make GPGPU device available to VM, they use a RPC (call forwarding) mechanism to run the GPU programs.

The aim of my project is to make GPGPU device available to the VM as a parallel programming device same as it is available in Host Machine. I intend to use the virtio mechanism for communication between Guest and Host machine. If you think there are better alternative that virtio please guide.

If I could successfully complete the project, what are the chances that the code would be included in the KVM repository?

I have been following the KVM mailing list last few months and have learned that the KVM does not have the GPU pass-through support. As far as I can understand, adding GPU pass-through would make GPU device available to VM as a Graphics Card, let me know if I am wrong. After the completion GPGPU support in VM I would love to work on this support as well.

Please let me know your thoughts.

Thanks and Regards,
Prasad Joshi (Student ID: 19015523)
MRes Systems Engineering




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] GPGPU Support In KVM
  2010-11-24 14:06 [RFC] GPGPU Support In KVM Prasad Joshi
@ 2010-11-24 19:56 ` André Weidemann
  2010-11-25  0:49   ` Prasad Joshi
  2010-11-26 12:11   ` linux_kvm
  0 siblings, 2 replies; 4+ messages in thread
From: André Weidemann @ 2010-11-24 19:56 UTC (permalink / raw)
  To: Prasad Joshi; +Cc: kvm@vger.kernel.org

Hi,
On 24.11.2010 15:06, Prasad Joshi wrote:
> I have been following the KVM mailing list last few months and have learned that the KVM does not have the GPU pass-through support. As far as I can understand, adding GPU pass-through would make GPU device available to VM as a Graphics Card, let me know if I am wrong. After the completion GPGPU support in VM I would love to work on this support as well.
>
> Please let me know your thoughts.

There is already someone who was working on GPU pass-trough for KVM. 
Search the mailing list archives for _Fede_. Back in June he said that 
he would need to debug a BIOS issue in order to make it work.
Maybe you two should get together.
I hope this helps. I am really looking forward to see this in KVM.

Regards
  André

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [RFC] GPGPU Support In KVM
  2010-11-24 19:56 ` André Weidemann
@ 2010-11-25  0:49   ` Prasad Joshi
  2010-11-26 12:11   ` linux_kvm
  1 sibling, 0 replies; 4+ messages in thread
From: Prasad Joshi @ 2010-11-25  0:49 UTC (permalink / raw)
  To: André Weidemann; +Cc: kvm@vger.kernel.org

> From: Andre.Weidemann@web.de [Andre.Weidemann@web.de]
> Sent: 24 November 2010 19:56
> To: Prasad Joshi
> Cc: kvm@vger.kernel.org
> Subject: Re: [RFC] GPGPU Support In KVM
> 
> Hi,
> On 24.11.2010 15:06, Prasad Joshi wrote:
>> I have been following the KVM mailing list last few months and have learned that the KVM does not have the GPU pass-through support. >As far as I can understand, adding GPU pass-through would make GPU device available to VM as a Graphics Card, let me know if I am >wrong. After the completion GPGPU support in VM I would love to work on this support as well.
>>
>> Please let me know your thoughts.
>
> There is already someone who was working on GPU pass-trough for KVM.
> Search the mailing list archives for _Fede_. Back in June he said that
> he would need to debug a BIOS issue in order to make it work.
> Maybe you two should get together.
> I hope this helps. I am really looking forward to see this in KVM.

Thanks a lot for your response. I will try to contact him.

Thanks and Regards,
Prasad

> Regards
>  André

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] GPGPU Support In KVM
  2010-11-24 19:56 ` André Weidemann
  2010-11-25  0:49   ` Prasad Joshi
@ 2010-11-26 12:11   ` linux_kvm
  1 sibling, 0 replies; 4+ messages in thread
From: linux_kvm @ 2010-11-26 12:11 UTC (permalink / raw)
  To: kvm@vger.kernel.org

Interesting, indeed. Looking forward to it as well.


On Wed, 24 Nov 2010 20:56 +0100, "André Weidemann"
<Andre.Weidemann@web.de> wrote:
> Hi,
> On 24.11.2010 15:06, Prasad Joshi wrote:
> > I have been following the KVM mailing list last few months and have learned that the KVM does not have the GPU pass-through support. As far as I can understand, adding GPU pass-through would make GPU device available to VM as a Graphics Card, let me know if I am wrong. After the completion GPGPU support in VM I would love to work on this support as well.
> >
> > Please let me know your thoughts.
> 
> There is already someone who was working on GPU pass-trough for KVM. 
> Search the mailing list archives for _Fede_. Back in June he said that 
> he would need to debug a BIOS issue in order to make it work.
> Maybe you two should get together.
> I hope this helps. I am really looking forward to see this in KVM.
> 
> Regards
>   André
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-26 12:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 14:06 [RFC] GPGPU Support In KVM Prasad Joshi
2010-11-24 19:56 ` André Weidemann
2010-11-25  0:49   ` Prasad Joshi
2010-11-26 12:11   ` linux_kvm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox