From: "Molle Bestefich" Subject: Re: credit based scheduler Date: Wed, 21 Jun 2006 21:39:17 +0200 Message-ID: <62b0912f0606211239o67824f6al58905dc2657309be@mail.gmail.com> References: <44991A88.E57C.0030.0@novell.com> <20060621162818.GA19690@cockermouth.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060621162818.GA19690@cockermouth.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Emmanuel Ackaouy wrote: > The credit scheduler is an SMP CPU scheduler. It is designed such > that no physical CPU will ever idle if there is a waiting > runnable VCPU on the host. We call this being work conserving. > 3 active UP guests on a 2CPU host each get 33% of the total CPU > available; The credit scheduler takes care of migrating guest > VCPUs across physical CPUs to achieve this transparently. Migrating 1 VCPU across 2 CPUs, or swapping all 3 VCPUs around in a ring-fashion? Sounds like this algorithm is an evil killer of CPU cache performance to me :-).