Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security

10 views

Published on

The use of Virtual GPUs (vGPUs) has widely grown in server farms to give Virtual Machines (VMs) dedicated graphics. Software rendering with virtual CPUs can only take us so far and even with Intel-GVT, which uses integrated graphics, there isn't enough power to do the fun stuff. In this presentation, Jon Farrell will be talking about the process of implementing AMD MxGPU on Xen, challenges that he encountered while doing it, and discussing performance metrics of bare metal and vGPU VM on popular benchmarks like 3D Mark* and The Witcher 3. To wrap up his presentation, Jon will share his thoughts about future research and where this technology can take us.

Published in: Software
  • Be the first to comment

  • Be the first to like this

XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security

  1. 1. Implementing AMD MxGPU Jon Farrell, Software Engineer, AIS Inc.
  2. 2. Overview • Background • Getting Started • Initial Setup • Guest Prep • Difficulties • Performance • What I’ve learned • The Future • Questions
  3. 3. Background • BS in Computer Science from SUNY Binghamton • Currently with Assured Information Security, Inc. • Areas I’ve worked in: • Windows/Linux driver building and installation • Windows/Linux application development • Platform build system development • Linux graphics development with Qt • Now… Integration of AMD MxGPU into our OpenXT based platform
  4. 4. Getting Started • Git repository: https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization • Important things to keep in mind • Ubuntu version recommended : 16.04.2 server • Kernel version recommended : Ubuntu 4.4.0-75-generic • Xen version recommended : Default for Ubuntu 16.04
  5. 5. Initial Setup • Github/docs/environment_setup • Install Xen • Building a custom kernel with patches • Blacklist amdgpu • Enable IOMMU • Build and install GIM • Catches: • Patches are for Ubuntu 4.4.0.75-generic kernel • Xen version from apt-get is a bit old?
  6. 6. Guest Prep • Github/docs/environment_setup • Guest IP • Install VNC server • Download driver (No direct download page anymore) • Search for your device • Select Guest Driver MxGPU Pass Through • Catches: • Safe mode remove / install
  7. 7. Difficulties • Building Xen – Which version?!? • Starting Xen modules (who knew) • Building my first kernel • MxGPU Patches • Pass through the vGPU and were done right? • Safe mode
  8. 8. Performance • No direct comparison metrics • What I would have liked to do • Unigine Heaven Fps (Guestimates) • MxGPU 4GB Mem 1080p • Medium : 40-60 fps • High : 20-40 fps • Benchmark from online with 1080p GTX 1050 Ti 4GB • Medium : 30-50 fps - avg 40 fps • High : 20-40 fps - avg 30 fps
  9. 9. What I’ve Learned • How to build Xen • Building a custom Linux Kernel • Setting up a guest VM for Xen • Using XL to pass through a device • Monitoring network traffic of a guest • Much more… • Don’t expect things to work out of the box
  10. 10. The Future • The Cloud • Google Stadia • Xen Platform • Users • Developer testing
  11. 11. Questions?

×