On 03/17/2014 02:54 PM, Peter Zijlstra wrote:
On Mon, Mar 17, 2014 at 01:44:34PM -0400, Waiman Long wrote:
The PV ticketlock code was designed to handle lock holder preemption by
redirecting CPU resources in a preempted guest to another guest that can
better use it and then return the preempted CPU back sooner.
But that's the PV code, not the unfair bit. And your fuller PV thing
doesn't need the unfair option.
What I am want to try out is to combine the PV thing with the unfair
lock and see how it performs together. I had set up 2 virtual guests
sharing 20 vCPUs (200% overcommit). Preliminary testing showed that
unfair lock was a bit faster than PV, but PV seems to be a bit more
energy efficient (less total sys+user time). I will have more data to
share tomorrow.
-Longman
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization