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

Re: [Xen-devel] [PATCH] switch rangeset's lock to rwlock



>>> On 30.09.14 at 22:53, <keir.xen@xxxxxxxxx> wrote:
> Do the searches ever get long enough that a read lock helps? If any of 
> the rangesets is getting large and making the searches slow then it 
> would be quite easy to switch from linked list to red-black tree?

As noted elsewhere, even very brief locking periods can cause
convoys for many-vCPU guests. One case where we observe
this is hvm_get_guest_time_fixed() (without clear route for
mitigation as converting to rw lock is not an option here, and I
didn't get around to try out whether eliminating the lock
altogether in favor of atomic CPU operations would make this
any better).

Jan


_______________________________________________
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®.