Method and apparatus for recovering lock holder preemption
AssigneesSamsung Electronics Co., Ltd., Snu R&Db Foundation
InventorsJin Ho Lee, Yong Seok Park, Jong Hun Yoo, Seong-Soo Hong
Life of this patent
Estimating the term…
Loading patent…
AssigneesSamsung Electronics Co., Ltd., Snu R&Db Foundation
InventorsJin Ho Lee, Yong Seok Park, Jong Hun Yoo, Seong-Soo Hong
Estimating the term…
According to one embodiment of the present invention, the scheduling method includes an acquisition step of acquiring operation state information on a virtual CPU (vCPU) and lock information on an OS in the operation of the vCPU and of a virtual machine (VM) driving the vCPU and including the OS, and a determination step for determining whether the vCPU is in a lock holder preemption (LHP) state on the basis of the operation state information and the lock information. According to one embodiment of the present invention, the LHP can be easily and precisely known on a system using the VM. Also, even with an increase in the number of cores, scalability can be supported in a system by adjusting the pCPU to which operations of the vCPU are allocated through a scheduling scheme. In addition, a fairness hindering problem between the existing technology and the VM can be solved by adjusting the operations for each vCPU and continuously performing a critical section of a lock holder by using a time quantum allocated to a lock contender vCPU which awaits a lock release.
A scheduling method comprising:
An operation apparatus comprising:
A non-transitory computer readable medium comprising program code that, if executed by at least one processer, is configured to cause the at least one processor to:
Dependencies are inferred from the claim text.