Patent ID: 9201673
Filing Date: 2015-12-01
Classification: G06F

Abstract:
1. A method for attenuating spin waiting of virtual processors in a virtual machine environment, comprising: examining a hint source for hints to determine if a virtual processor is accessing a synchronizing section that acquires a lock on an underlying physical resource that causes any other virtual processors to spin wait until said virtual processor releases the lock; wherein said synchronizing section is a region of code that determines access to resources by virtual processors; providing a time slice extension to said virtual processor to increase the time allotted in its assigned time slice if said virtual processor is accessing said synchronizing section; limiting said time slice extension to a predetermined period of time; limiting granting said time slice extension to a predetermined number of times; and debiting said time slice extension granted to said virtual processor from a subsequent time slice granted to said virtual processor such that the virtual processor has less allocated time in the subsequent time slice.