Presentation CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka at the AMD Developer Summit (APU13) November 11-13, 2013
Streamlining Python Development: A Guide to a Modern Project Setup
CC-4006, Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server, by Derrick Isoka
1. DELIVER HARDWARE ACCELERATED APPLICATIONS USING
REMOTEFX VGPU WITH WINDOWS SERVER
DERRICK ISOKA, PROGRAM MANAGER,
MICROSOFT
2. AGENDA
1.
2.
3.
4.
RemoteFX team
Overview of Microsoft’s VDI solutions
What is RemoteFX vGPU?
Applications in VDI
2 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
4. 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
4 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
5. RELEASES SINCE ACQUISITION
Server 2012
•
•
•
•
Acquisition
in 2007
DX 11.0
RDP8 WAN optimizations
VM connect with vGPU
GPU management
Server 2008 R2
Server 2012 R2
•
•
•
•
•
•
•
•
•
Hyper-V integration
DX 9 support
LAN optimized
Thin client rich desktops
5 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
DX 11.1 support
Higher VM memory
2560 x 1600 resolutions
Fully conformant with HCK
Non-Windows clients
6. REMOTEFX VIRTUAL GPU
WHAT’S NEW IN SERVER 2012?
! 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
Maximum Resolution
1024 x 768
1280 x 1024
1600 x 1200
1920 x 1200
2560 x 1600
Number of monitors per virtual machine
Windows 7 SP1
Windows 8 and Windows
8.1
4
8
4
8
3
4
2
4
2
6 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
8. TODAY’S CHALLENGES
Users
Users expect to be able to
work in any location and
have access to all their
work resources.
Device
s
The explosion of devices is
eroding the standards-based
approach to corporate IT.
Apps
Data
Deploying and managing
applications across
platforms is difficult.
Users need to be productive
while maintaining
compliance and reducing
risk.
8 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
9. UNDERSTANDING THE VARIOUS VDI OFFERINGS
Remote Desktop
Session Host
• Single server hosting multiple user sessions for
either desktops or applications (aka Terminal
Server)
Remote Desktop
Virtualization Host
• Server with Hyper-V role providing personal or
pooled virtual machines
Remote Desktop
Virtualization Host
with vGPU
• Server with Hyper-V role providing personal or
pooled virtual machines with a virtual GPU
device
9 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
10. VDI WITH WINDOWS SERVER
Powered by Windows Server 2012
Desktop
sessions
Firewall
Pooled
VMs
Personal
VMs
1 platform • 1 experience • 3 deployment choices
Corporate Office
Branch
Office
Home
Public
Location
10 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
11. VDI ARCHITECTURE OPTIONS
Sessions
Pooled VMs
Good
Better
Best
Personalization
App compatibility
Ease of
management
Cost effectiveness
User Experience
11 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
Personal VMs
12. UNDERSTANDING THE VARIOUS VDI OFFERINGS
OS Virtualization
Isolation
and
Hardware
Virtualization Model
Session
Monitors
None
None
Hardware GPU
Windows 8.x desktop features (e.g. Metro applications, multi-touch)
!
!
!
Aero Theme with Live Taskbar Previews
!
!
!
Maximum number of supported monitors
Desktop
Additional hardware requirement on the server-side
RDSH
RDVH
RDVH
[WARP]
RemoteFX
SoftGPU
vGPU
Virtual Machine Virtual Machine
16
16
4096 x 2048
(each monitor)
4096 x 2048
(each monitor)
Remote
Good
Good
11.1
1.1
Remote
Better
Better
11.1
1.1
8
2560× 1600
(2 monitors
max)
Console
Best
Best
11.1
TBD
Scale 300+
Scale 150+
Scale 50+
Scale 150+
(Med fps)
Scale 100+
(Med fps)
Scale 50+
(High fps)
Monitor maximum resolution
Application Applications detect monitor as a Remote or a Console monitor
s
Application compatibility
Animated transitions for desktop and applications
Graphics DirectX level supported
OpenGL level supported
Workload Task worker (e.g. Office)
and
Experience Knowledge Worker (additionally Office, Media Player, Flash)
12 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
14. S/W AND H/W ACCELERATION OPTIONS
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
Provides a virtualized hardware-accelerated DirectX GPU for VDI, optimized
for:
RemoteFX vGPU
h/w acceleration
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
14 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
15. 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
15 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
16. REMOTEFX VIRTUAL GPU CONCEPTUAL
DIAGRAM
Client
Device
Virtualization Host – Server 2012
R2 6
Virtual Machine – Windows 8.1
9
RDP Encode Pipeline
RemoteFX Graphics
Worker Process
7
D3D Application
RDP Terminal
Server
D3D11
RemoteFX Display
Device
4
Virtual Machine Transport
3
16 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
1
Direct3D Runtime
8
5
DWM
2
17. 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
17 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
18. 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
18 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
19. 19 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
20. 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
Device virtualization
• 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
• 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
20 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
21. 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
21 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
23. 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
23 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013
24. Thank you
24 | Deliver Hardware Accelerated Applications Using RemoteFX vGPU with Windows Server | NOVEMBER 19, 2013