On Tue, Oct 29, 2013 at 7:50 AM, R <[email protected]> wrote: > Hi, everyone > > I am a graduate student. And now I have some spare time. > I notice that KVM uses kernel scheduler to schedule VCPUs. > But there exists many problem beyond the capability of current > scheduler. (e.g. Lock Waiter Preemption problem) > > And I don't want to reinvent the wheel. So I want to implement a > module which can be used by the scheduler to schedule VCPUs more > efficient. > > Is there any documentation about any problem that I should pay attention to? > Any comment is welcome. >
We have some scheduling decision (specifically directed yield decisions) taken by PLE handler (kvm_vcpu_on_spin()). It uses some heuristic, but we cannot say it complete eliminates lockwaiter preemption. (paravirt-spinlocks tries to address that a bit though). Welcome any ideas on reducing lockwaiter preemption. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
