[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 05/11] pvqspinlock, x86: Allow unfair spinlock in a PV guest



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.