From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weidong Han Subject: Re: Direct access to GPGPU do-able? Date: Tue, 01 Dec 2009 16:45:59 +0800 Message-ID: <4B14D7C7.5010304@intel.com> References: <200912010808.07998.carsten.aulbert@aei.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org ; Fede [slashack@gmail.com]; Jurgen Baier [Jurgen.Baier@cdu.edu.au]" To: Carsten Aulbert Return-path: Received: from mga02.intel.com ([134.134.136.20]:25610 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947AbZLAIqF (ORCPT ); Tue, 1 Dec 2009 03:46:05 -0500 In-Reply-To: <200912010808.07998.carsten.aulbert@aei.mpg.de> Sender: kvm-owner@vger.kernel.org List-ID: Carsten Aulbert wrote: > Hi, > > I'll start with a one-off question here, so please cc me on the reply. > > We are running a largish cluster and are currently buying GPGPU systems (Tesla > and soon Fermi based). We will have at least 2 possibly 4 of these cards per > box and have the problem that some codes need different CUDA kernel drivers to > run. As these boxes have 4 CPU cores, 12 GB of memory and CPU-VT support we > thought that this might be solvable by creating (para-) virtualized guests on > the boxes and passing one GPGPU device into a guest at a time. In there we > then can run any kernel/driver combo necessary. > > But since my current virtualization experience only stretches to OpenVZ and > VirtualBox (tinkering with Xen a couple of years back), I don't know if KVM is > the right approach here. We need something which we can automatically set-up > via CLI, i.e. starting and stopping the guests need to be fully automatic, we > don't need a graphical environment within the guests, just plain text is good > enough. > > What do you think, is looking at KVM the right choice for this? Can we pass a > device directly into a guest? > KVM already supports device assignment (e.g. NIC) to guest, but graphics card assignment is not supported yet. Federico, you said you were porting xen graphics assignment patches to kvm, what's your progress? Regards, Weidong > Cheers > > Carsten > >