Invention Grant
- Patent Title: Early virtualization context switch for virtualized accelerated processing device
-
Application No.: US15637800Application Date: 2017-06-29
-
Publication No.: US10474490B2Publication Date: 2019-11-12
- Inventor: Gongxian Jeffrey Cheng , Louis Regniere , Anthony Asaro
- Applicant: Advanced Micro Devices, Inc. , ATI Technologies ULC
- Applicant Address: US CA Sunnyvale CA Markham, Ontario
- Assignee: Advanced Micro Devices, Inc.,ATI TECHNOLOGIES ULC
- Current Assignee: Advanced Micro Devices, Inc.,ATI TECHNOLOGIES ULC
- Current Assignee Address: US CA Sunnyvale CA Markham, Ontario
- Agency: Volpe and Koenig, P.C.
- Main IPC: G06F9/50
- IPC: G06F9/50 ; G06F9/46 ; G06F9/455

Abstract:
A technique for efficient time-division of resources in a virtualized accelerated processing device (“APD”) is provided. In a virtualization scheme implemented on the APD, different virtual machines are assigned different “time-slices” in which to use the APD. When a time-slice expires, the APD performs a virtualization context switch by stopping operations for a current virtual machine (“VM”) and starting operations for another VM. Typically, each VM is assigned a fixed length of time, after which a virtualization context switch is performed. This fixed length of time can lead to inefficiencies. Therefore, in some situations, in response to a VM having no more work to perform on the APD and the APD being idle, a virtualization context switch is performed “early.” This virtualization context switch is “early” in the sense that the virtualization context switch is performed before the fixed length of time for the time-slice expires.
Public/Granted literature
- US20190004839A1 EARLY VIRTUALIZATION CONTEXT SWITCH FOR VIRTUALIZED ACCELERATED PROCESSING DEVICE Public/Granted day:2019-01-03
Information query