GPU computing Stay up to date in OpenCL, DirectCompute, CUDA, CAL and OpenGL information

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 3 December 2009

GPU virtualization (and what to expect in VMs)!

Posted on 13:08 by Unknown
GPU hardware based virtualization

Based on my investigation on August 2009..

TODO: post links..
It has the promise of running a Linux VM on Windows and running CUDA on it at full speed for example..

Right now as much as Intel VT and AMD Pacifica(?) bringed support for CPU virtualization for GPU virtualization it needs Intel VT-d and AMD IOMMU hardware support..

It enables also NIC hardware virtualization for example.

Note this I think allows dedicating one device (GPU,NIC) to VM so more than 1 GPU required if wanting GPGPU on both Windows and Linux..

See suporting chipsets
Link
for Intel:
Requires intel chipsets: mainly 4x professional chipsets (Q4x) current x58 and some x38..
Also I think there is a CPUID flag for querying support?.. I think Nehalem supports it..
almost sure you need Intel mainboard!
Would seem promising Asus X58 board altough BIOS has currently bugs..

AMD: currently no shipping..
See AMD virtualization blog for demo at a conference showing AMD chipset supporting iommu and a FireGL/Stream card using GPU dedicated (Manycours 2010 stuff)..


VM software:

Parallels composer extreme 4.0 anounced in late March 2009 jointly with Nvidia SLI multios shipping in May 2009.
Requires certified motherboard (or BIOS?) and Nvidia supporting sli multios (Quadro 3800 or higher (4800,5800))..
currently working only on HP z.. workstation.

Allows running Windows and Linux in parallel with two GPUs (I think you need only one Quadro other can be Geforce)
Demo on youtube showing this!

On Apple Developers Conference in June 2009
Parallels showed prototype VM soft running Apple with Windows VM with full GPU acceleration.. was 3800 GPU currently not shipping on MAC..
see video..

Regarding other VM Nvidia anounced would be working with VMWARE..

Also new Xen supports VT-d so it would work..
A paper testing it shows ATI works good.. but Nvidia doesn't work and should work so seems some protection
Also surprinsingly Intel worked to some extent..
Tested Windows XP and Vista (i.e. XPDM and WDDM drivers) and recent 3DMark 2006..

Theoretically VT-d is supported in ESX (only on it) but no GPU virtualization testing(?).
Would be good on Workstation..

OpenGL and DirectX passtroughs
==============================

For OpenGL you have 2.1 support in Mac in Fusion 3 and Parallels Dekstop 5.0
For Linux and Windows have guest support for 2.1 also in VMWARE Workstation 7 and VirtualBox 3.1..
More VirtualBox 3.1 adds hardware video acceleration for Windows guests (strecthing and color conversion I think..)

I mean OpenGL commands are forwarded to host GPU and have GPU acceleration on it..
Some overhead but in GPU heavy code (pixel shader heavy code ) should be good enough..
Also alotugh more delicated they provide DirectX 9.0 SM 2.0/3.0 support emulated through DirectX to OpenGL translation (think Wine) layers..

Also I remember some DirectX in Windows guests with Windows hosts without this translation and getting DirectX commands so similar to OpenGL stuff.. (i.e. higher perf and correct results..)
Finally WDDM driver with Aero in Workstation 7 (Windows and Linux host) and Parallels 5.0 (Mac host)
If not exist would be good to add..

CUDA and OpenCL passtroughs
==================

A similar solution could be provided to CUDA via passtrough..
Two papers have explorer it:
1.vcuda (Hunan University, CN, at IPDPS 2009) : in case you can't access to the paper there is a nice homepage with benchmarks go it..
2.GViM (Georgia IT)


Other posibilities
==================
Another related result is running CUDA Windows programs on Linux directly in Windows and Mac..

Search folding@home in linux via wine..
I have checked both CAL and CUDA wrappers for Wine running my matmul test (CUDA and CAL) and worked correctly..
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Porting CUDA to OpenCL!
    Well so you want to port CUDA code to OpenCL: you are in AMD GPU competition of porting Cuda codes to opencl (see previous post) or you are ...
  • Megapost!
    Today fools{ *GTX 485 is 512 cores 3gbytes gddr5 and 850/1750 shaders.. *ati 5990 has 4 gpus in board.. *bulldozer benchmarks }end fools.. A...
  • About ATI and Nvidia drivers (OCL included)!
    Hi I have been investigating AMD and Nvidia drivers.. for 10.3 there are 3d hooks support for 120hz monitors but is d3d9 d3d10 or d3d11 enab...
  • things found in CUDA forums
    Also some CUDA news: Mandelbulb stereo angalyph -> have to port to 3D Vision http://forums.nvidia.com/index.php?showtopic=150985&st=2...
  • opencl/opengl linux interop! seen in opencl cuda 3.0 sdk samples
    Following my OpenCL/OpenGL Window interop work: now has come to Linux  for Nvidia GPU computing registered developers via 195.17 driver! Als...
  • State of the blog..
    Sorry for the delay guys of posting code of Apple OpenCL demos port.. the blog has been with no updated for more than 2 weeks in this rapid ...
  • Optix and OpenCL SDKs with Visual Studio 2010
    Optix 1.0 ========= install cg download Cmake 2.80 cmake says error dumpbin not found and it is cuda doesn't work with vc2010 so copy pt...
  • CUDA 3.0 forums stuff!
    1.Getting CUBIN instead of ELF If you need the older text format, you can disable ELF cubins in nvcc.profile by changing "CUBINS_ARE_EL...
  • News from the web!
    Some things learned in AMD forums: 1.Why 3xxx no OpenCL: Compute shader mode is a hardware feature that did not exist in the HD38XX line of ...
  • Shaders: measuring perf, source translation and parsing different languages!
    Hi, I hope to be pretty exhaustive of options for parsing and translating between graphics and compute shaders ( some open source) For DX sh...

Blog Archive

  • ►  2013 (5)
    • ►  September (1)
    • ►  March (3)
    • ►  February (1)
  • ►  2012 (1)
    • ►  December (1)
  • ►  2010 (46)
    • ►  July (4)
    • ►  May (1)
    • ►  April (3)
    • ►  March (9)
    • ►  February (15)
    • ►  January (14)
  • ▼  2009 (125)
    • ▼  December (51)
      • GPU computing on AMD.. an history perspective!
      • Catalyst 9.12: hotfix (III)
      • Catalyst 9.12 Linux and Windows links and release ...
      • Source code of DirectCompute bechmark(OpenCL and D...
      • Catalyst 9.12 adds OpenGL 3.2 support (and more..)!
      • 16/12 news!
      • Catalyst 9.12 released
      • PS3 OpenCL work and AMD OpenCL ICD
      • Christmas Wish list (I): Monitors
      • 3d Stereoscopic players!
      • Today news!
      • What will I do if I have 3D Vision OpenGL QB
      • GLEW,GLUT,Freeglut, MesaGLUT and more
      • Nvidia 195 new drivers and Flash player beta 2!
      • Running ATI GPUs in Sisoft Sandra 2010!
      • Memcheck GPUs!
      • Emulate 3D kernel launch grid
      • things found in CUDA forums
      • Siggraph 2009 (Asia too..)!
      • Architecture ideas for future GPUs!
      • Dificulties in coding, achieving high perf an meas...
      • Learned from HPG09 stuff!
      • Nvidia driver 187.98 add new files!
      • What I would want to know and get from vendors par...
      • What I would want to know and get from vendors par...
      • Some news II (post #100!)
      • What I would want to know and get from vendors par...
      • physics on GPU: source code!
      • OpenCL with MingW! (and more)
      • Some news!
      • String matching on GPUs!
      • Lots of OpenCL soft coming!
      • 10 Raytracing GPU demos! (more or less)
      • New Nvidia tools and crossvendor GPU instrumentati...
      • About Catalyst 9.12 and 10.1!
      • CUDA 3.0 forums stuff!
      • Upcoming GPU tutorials!
      • News from the web! (9 December)
      • Compiling the CUDA compiler!
      • Understanding Nvidia GT200 GPU and CUDA implementa...
      • Open Source GPU Computing benchmarks
      • CUDA TopCoder contest stuff (with source code of t...
      • CUDPP news!
      • DirectCompute stuff!
      • Nvidia GPU computing news!
      • GPU Computing calendar for December 09 and January...
      • Nexus FAQ!
      • Nvidia Nexus beta1 GPU debugger shipped!
      • GPU virtualization (and what to expect in VMs)!
      • AMD OpenCL news! (almost all..)
      • News posted 2/12/2009! (megacompilation)
    • ►  November (53)
    • ►  October (21)
Powered by Blogger.

About Me

Unknown
View my complete profile