From: George Dunlap Subject: Re: [RFC] Scheduler work, part 1: High-level goals and interface. Date: Fri, 17 Apr 2009 11:17:02 +0100 Message-ID: References: <2b060016-4fa6-4ab7-885e-263c468689ec@default> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <2b060016-4fa6-4ab7-885e-263c468689ec@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: "Tian, Kevin" , xen-devel@lists.xensource.com, Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Thu, Apr 16, 2009 at 3:10 PM, Dan Magenheimer wrote: > >From a resource utilization perspective, hyper-pairing may > make sense. =A0But what about the user perspective? =A0How would > an administrator specify hyper-pairing? =A0And more importantly > why? =A0When consolidating workloads from, say, a group > of dual-core or dual-processor servers onto some future > larger hyperthreaded server, why would anyone say > "please assign this to a hyper-pair", which is essentially > saying "give me less peak performance than I had before"? I think what you're saying is that when we only expose vcpus to the guest, we can either run 2 vcpus on HT pairs, or give them an entire core to themselves; but if we expose them as HT pairs and gang schedule, then we're promising only to run them on HT pairs, limiting the peak performance. Hmm, I'm not sure that's actually true. We could, if we had a particularly idle system, split HT pairs and let them run as independent vcpus. I'm pretty sure the resulting throughput would be usually higher. In any case, it's a bit like asking, "Why would I buy a machine with two hyperthreads instead of two cores?" Yes, going from 2 vcpus to 2 vhts (virtual hyperthreads) is a step down in computing power; so would going from a dual-core processor w/o HT to a single-core processor with HT. If you want to monotonically increase power, give it 4 vhts. At any rate, I think we can bring these up again when we actually start to implement this feature. First things first. :-) -George