From: George Dunlap Subject: Re: [RFC] Scheduler work, part 1: High-level goals and interface. Date: Wed, 15 Apr 2009 16:56:15 +0100 Message-ID: References: <49DE415F.3060002@goop.org> <0A882F4D99BBF6449D58E61AAFD7EDD61036A60D@pdsmsx502.ccr.corp.intel.com> <49DF708F.6070102@goop.org> <0A882F4D99BBF6449D58E61AAFD7EDD61036AB17@pdsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0A882F4D99BBF6449D58E61AAFD7EDD61036AB17@pdsmsx502.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 2009/4/11 Tian, Kevin : > The major worry to me is added complexity by exposing such sibling > pairs to guest. You then have to schedule at core level for that VM, > since the implication of HT should be always maintained or else > reverse effect could be seen when VM does try to utilize that topology. > This brings trouble to scheduler. Not all VMs are guest SMP, and > then the VM being exposed with HT is actually treated unfair as one > more limitation is imposed that partial idle core can't be used by it > while other VMs is immune. Another tricky part is that you have to > gang schedule that VM, which is in concept fancy but no one has > come up a solid implementaion in real. I think gang scheduling with this limited scope (a hyper-pair to be scheduled on a hyper-pair) should be a lot easier than the general case. In any case, as long as we assign and deduct credits appropriately, a threaded VM shouldn't have a disadvantage compared to a single-thread VM. -George