cc-4006, deliver hardware accelerated applications using remotefx vgpu with windows server, by...

25
DELIVER HARDWARE ACCELERATED APPLICATIONS USING REMOTEFX VGPU WITH WINDOWS SERVER DERRICK ISOKA, PROGRAM MANAGER, MICROSOFT

Upload: amd-developer-central

Post on 13-Apr-2017

1.599 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

DELIVER HARDWARE ACCELERATED APPLICATIONS USING REMOTEFX VGPU WITH WINDOWS SERVER

DERRICK ISOKA, PROGRAM MANAGER, MICROSOFT

Page 2: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

2 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

AGENDA

1.  RemoteFX team 2.  Overview of Microsoft’s VDI solutions 3.  What is RemoteFX vGPU? 4.  Applications in VDI

Page 3: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

RemoteFX Team

Page 4: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

4 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

REMOTEFX TEAM – MICROSOFT SILICON VALLEY CAMPUS

! Microsoft Calista acquisition in 2008 to improve 3D and multimedia experiences in virtualized environments

! Today, the team is primarily responsible for: 1. Microsoft Remote Desktop clients (iOS, Android & Mac) 2. RemoteFX codec (graphics pipeline) 3. RemoteFX virtual GPU components

Page 5: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

5 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

RELEASES SINCE ACQUISITION

Acquisition in 2007

Server 2008 R2 •  Hyper-V integration •  DX 9 support •  LAN optimized •  Thin client rich desktops

Server 2012 R2 •  DX 11.1 support •  Higher VM memory •  2560 x 1600 resolutions •  Fully conformant with HCK •  Non-Windows clients

Server 2012 •  DX 11.0 •  RDP8 WAN optimizations •  VM connect with vGPU •  GPU management

Page 6: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

6 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

REMOTEFX VIRTUAL GPU

! DirectX 11.1 support ! Improvements to vRAM allocation (max of 1280MB) ! Scale improvements for NUMA systems – 45% scale improvements ! Increased maximum resolution to 2560x1600 with 2 monitors

WHAT’S NEW IN SERVER 2012?

Maximum Resolution Number of monitors per virtual machine Windows 7 SP1 Windows 8 and Windows

8.1 1024 x 768 4 8 1280 x 1024 4 8 1600 x 1200 3 4 1920 x 1200 2 4 2560 x 1600 - 2

Page 7: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

Microsoft VDI

Page 8: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

8 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

The explosion of devices is eroding the standards-based approach to corporate IT.

Devices

Deploying and managing applications across platforms is difficult.

Apps

TODAY’S CHALLENGES

Data Users need to be productive while maintaining compliance and reducing risk.

Users expect to be able to work in any location and have access to all their work resources.

Users

Page 9: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

9 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

UNDERSTANDING THE VARIOUS VDI OFFERINGS

•  Single server hosting multiple user sessions for either desktops or applications (aka Terminal Server)

Remote Desktop Session Host

•  Server with Hyper-V role providing personal or pooled virtual machines

Remote Desktop Virtualization Host

•  Server with Hyper-V role providing personal or pooled virtual machines with a virtual GPU device

Remote Desktop Virtualization Host

with vGPU

Page 10: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

10 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

VDI WITH WINDOWS SERVER

Powered by Windows Server 2012

1 platform • 1 experience • 3 deployment choices

Personal VMs Firewall

Desktop sessions

Pooled VMs

Public Location

Corporate Office Branch Office

Home

Page 11: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

11 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

Sessions Personal VMs Pooled VMs

VDI ARCHITECTURE OPTIONS

Ease of management

App compatibility

Personalization

Cost effectiveness

Good

Better

Best

User Experience

Page 12: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

12 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

UNDERSTANDING THE VARIOUS VDI OFFERINGS

OS Virtualization RDSH RDVH

[WARP] SoftGPU

RDVH RemoteFX

vGPU Isolation

and Hardware

Virtualization Model Session Virtual Machine Virtual Machine

Additional hardware requirement on the server-side None None Hardware GPU

Desktop Windows 8.x desktop features (e.g. Metro applications, multi-touch) ! ! !

Aero Theme with Live Taskbar Previews ! ! !

Monitors

Maximum number of supported monitors 16 16 8

Monitor maximum resolution 4096 x 2048 (each monitor)

4096 x 2048 (each monitor)

2560× 1600 (2 monitors

max) Application

s Applications detect monitor as a Remote or a Console monitor Remote Remote Console Application compatibility Good Better Best

Graphics Animated transitions for desktop and applications Good Better Best DirectX level supported 11.1 11.1 11.1 OpenGL level supported 1.1 1.1 TBD

Workload and

Experience

Task worker (e.g. Office) Scale 300+ Scale 150+ Scale 50+

Knowledge Worker (additionally Office, Media Player, Flash) Scale 150+ (Med fps)

Scale 100+ (Med fps)

Scale 50+ (High fps)

Page 13: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

RemoteFX vGPU

Page 14: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

14 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

CPU/software acceleration

Provides 3-D capabilities to sessions and virtual machines at high scale

Optimized for knowledge worker workloads such as Microsoft Office and web browsing

Provides the highest scale for session host and VDI

RemoteFX vGPU h/w acceleration

Provides a virtualized hardware-accelerated DirectX GPU for VDI, optimized for:

Best performance for 3-D graphics-intensive applications

Best experience with full animations and transitions

Best application compatibility, running as a console session in a virtual machine

S/W AND H/W ACCELERATION OPTIONS

Page 15: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

15 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

WHAT IS THE VIRTUAL GPU?

!  Provides hardware accelerated graphics for virtual machines running on a Hyper-V Server

!  Targets enterprise VDI deployments rather than general purpose VMs

!  Virtual machine desktop is rendered in the data center and remoted to a client device via

RDP

!  Virtual GPU allows the render and compute to be hardware accelerated

! Many virtual machines can share one or many physical GPUs on the Hyper-V server

Page 16: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

16 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

REMOTEFX VIRTUAL GPU CONCEPTUAL DIAGRAM

Virtualization Host – Server 2012 R2

Virtual Machine – Windows 8.1

Client Device

RDP Encode Pipeline

Virtual Machine Transport

RemoteFX Display Device

Direct3D Runtime

D3D Application DWM RDP Terminal

Server RemoteFX Graphics Worker Process

D3D11

1

3

5

6

7

8 4

9

2

Page 17: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

17 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

HARDWARE REQUIREMENTS FOR vGPU

!  Standard requirements for Hyper-V ‒ X64 processor, Hardware Assisted Virtualization, Hardware Data Execution Prevention

!  CPU – requires Second Level Address Translation (SLAT) ‒ e.g. Intel Nehalem, Westmere, Sandy Bridge, Ivy Bridge, Haswell

!  GPU – typically Workstation or Server class Graphics Cards ‒ DirectX 11.0 or later ‒ OpenGL 4.0 or later ‒ WDDM 1.2 driver or later ‒ AMD FirePro series ‒ NVIDIA Quadro and K series

Page 18: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

18 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

CONFIGURING HYPER-V FOR vGPU

1.  Enable Hyper-V role 2.  Install drivers for the video card 3.  Enable Remote Desktop Virtualization Host (RDVH)

role 4.  Select the video cards you want to use with Hyper-V in

Hyper-V settings 5.  Multiple video cards can be used for load balancing

and to increase scalability 6.  Add the RemoteFX 3D Video Adapter to a Generation

1 virtual machine 7.  Power on the virtual machine

Page 19: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

19 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

Page 20: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

20 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

APPROACHES TO GRAPHICS IN VDI

Software Rasterization

•  Use the virtual machine CPU for 3D rasterization

•  e.g. WARP •  No hardware

acceleration for 3D rasterization

•  Performance and UEX limitations

•  Scales well with CPU for VDI

•  Great for virtual machine density

DDI Intercept with device sharing

•  Implement display driver that’s loaded by 3D runtime

•  Remote calls to a worker process with access to physical GPU

•  Worker process renders the desktop

•  Hardware accelerated •  Multiple VMs can

share a physical GPU

1:1 Device Pass-through

•  Map a physical GPU through hypervisor for exclusive access to a single virtual machine

•  Support multiple virtual machines by adding multiple physical GPUs

•  Near native hardware accelerated 3D per virtual machine

•  Low density VDI – maybe 4 virtual machines

Device virtualization

•  Partition physical GPU resources through virtualization layer

•  Guest OS programs the video hardware

•  Potential to deliver improved performance over DDI intercept model

•  Multiple VMs can share a physical GPU

•  Lower density VDI than DDI intercept model

Page 21: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

21 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

GPU VIRTUALIZATION APPROACHES

Product Approach API Support Virtualization Platform Microsoft RemoteFX Server 2012 R2 w/ VGPU

Shared GPU DDI interception

DirectX 9, 10, 11 OpenGL 1.1 (software)

Microsoft Hyper-V

Citrix XenDesktop 5.6 HDX 3D Shared GPU DDI interception

DirectX 9 OpenGL 2.1

Citrix XenHypervisor

Citrix XenDesktop 5.6 HDX 3D Pro Direct Pass-through NVIDIA CUDA DirectX 9, 10, 11 OpenGL 4.3

Citrix XenHypervisor

Citrix XenDesktop 5.6 NVIDIA Grid Software

Device virtualization w/ GRID Hypervisor

NVIDIA CUDA DirectX 9, 10, 11 OpenGL 4.3

Citrix XenHypervisor

VMware View 5.2 with vSGA Shared GPU DDI interception

DirectX 9 OpenGL 2.1

VMware ESX

VMWare View 5.2 with DGA Direct Pass-through

NVIDIA CUDA DirectX 9, 10, 11 OpenGL 4.3

VMware ESX

Oracle VM Virtualbox 4.2 Shared GPU DDI interception API translation

DirectX 9 (OGL translation) OpenGL 2.0

Oracle VM Virtualbox Microsoft Hyper-V VMware ESX

Page 22: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

vGPU & Developers/

ISVs

Page 23: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

23 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

APPLICATIONS IN VDI WITH vGPU

! Understand and assess application compatibility in a virtual/VDI environment

! vGPU certification – Assess vGPU and avoid blacklisting

! Collaborate with RemoteFX to help customers address application compatibility and leverage VDI in Hyper-V

Page 24: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

24 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

Thank you

Page 25: CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka

25 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013

DISCLAIMER & ATTRIBUTION

The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors.

The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.

AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION.

AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

ATTRIBUTION

© 2013 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc. in the United States and/or other jurisdictions. SPEC is a registered trademark of the Standard Performance Evaluation Corporation (SPEC). Other names are for informational purposes only and may be trademarks of their respective owners.