WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Why is the credit scheduler better than SEDF

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Why is the credit scheduler better than SEDF
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 21 Mar 2007 04:19:57 +0000
Cc: Ming Chang <mingchieh.xen@xxxxxxxxx>
Delivery-date: Tue, 20 Mar 2007 21:17:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7928f7f60703100915h11891780qc3047278eeede1c2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7928f7f60703100915h11891780qc3047278eeede1c2@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi,

> I read Xen interface manual, and see the following part in the section 2.5
>
> "SEDF will be going away and its use should be avoided once the credit
> scheduler has stabilized and become the default"
>
> I think it means SEDF is a temporary scheduler and credit scheduler is
> better
> I want to understand why the credit scheduling is better? And Is there any
> problem with SEDF?

I think SEDF had some bugs / some unfortunate behaviours on some workloads, 
but I don't know the details offhand.  There may be some explanations in the 
mailing list archives.

> and, so far as I know, EDF does not work well in the SMP how about SEDF and
> credit scheuler?

One of the nice advances of the credit scheduler is that it implements work 
stealing so that an idle CPU will be able to take VCPUs off the scheduler 
queues of other processors.  This helps make sure the hardware utilisation is 
good and avoids the user having to do pinning and load balancing manually 
from userspace (although it does support fairly flexible policy regarding 
what PCPUs a VCPU can run on - this is also an advance on SEDF).

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>