Invention Grant
- Patent Title: Opportunistically scheduling and adjusting time slices
- Patent Title (中): 机会调度和调整时间片
-
Application No.: US12605953Application Date: 2009-10-26
-
Publication No.: US09086922B2Publication Date: 2015-07-21
- Inventor: Thomas Fahrig , David Cutler
- Applicant: Thomas Fahrig , David Cutler
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agent Ben Tabor; Kate Drakos; Mickey Minhas
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/50 ; G06F9/52

Abstract:
Computerized methods, computer systems, and computer-readable media for governing how virtual processors are scheduled to particular logical processors are provided. A scheduler is employed to balance a load imposed by virtual machines, each having a plurality of virtual processors, across various logical processors (comprising a physical machine) that are running threads in parallel. The threads are issued by the virtual processors and often cause spin waits that inefficiently consume capacity of the logical processors that are executing the threads. Upon detecting a spin-wait state of the logical processor(s), the scheduler will opportunistically grant time-slice extensions to virtual processors that are running a critical section of code, thus, mitigating performance loss on the front end. Also, the scheduler will mitigate performance loss on the back end by opportunistically de-scheduling then rescheduling a virtual machine in a spin-wait state to render the logical processor(s) available for other work in the interim.
Public/Granted literature
- US20110099551A1 Opportunistically Scheduling and Adjusting Time Slices Public/Granted day:2011-04-28
Information query