From: Keir Fraser Subject: Re: [PATCH] xen: Implement domain runstates Date: Thu, 25 Nov 2010 22:24:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bruce Edge , George Dunlap Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 25/11/2010 20:02, "Bruce Edge" wrote: > Irrespective of the nature of the suggested functionality, I do agree that xen > users will be more likely to try something if it's part of the default build, > especially if the benefit is not immediately obvious. With all the complexity > associated with any virtualization project, I think that many integrators > don't have the time to experiment with every possible option included in the > "off the shelf" Xen, not to mention those that require explicit patching and > manual inclusion. > That said I would try this as a "VCPU allocation suitability" metric for any > xen system. The ability to see this data 'at a glance' would be beneficial to > admins and system architects. > A lot of data is available if you know how to get it. That is very different > from presenting that data in an easily digestible format requiring no work to > use. You may be under the impression the feature is free. It isn't -- it adds a lock and loop over all vcpus on every vcpu scheduling/descheduling decision. That could be frequent for VCPUs doing a lot of short blocking, for example. And the system-wide work done to support this feature will scale quadratically on average with vcpus-per-domain. My gut feeling is this isn't a good thing to have on your context switch path. -- Keir