[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] planned csched improvements?


  • To: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Mon, 19 Oct 2009 10:34:16 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 19 Oct 2009 02:34:42 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=syZ9hy9GiT1C1Rae5RIUEdyeD/sqvyZAoI5Yp8Vqk6YWF7Bh4V2yKgg4BUY85COnJl a+oAWedSYKqsKdmFARq3zeiq7rouYPKlHYRiC8QZU/JXHWFXcZIfWbEqVfH4zYl6euBv u9rmFYnmI3eIpbU1JKratH6CWlUr8kJzU10Qk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Sat, Oct 17, 2009 at 1:16 AM, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote:
> Incidentally, I've been thinking of a schedular plugin for database and
> other similar apps. Prelimanary DB benchmarks on xen vs bare metal are
> not as good. Of course, I am not blaming schedular for it. As with most
> big user apps, DB is very multi-threaded, and as such it does lot of
> tricks to get the OS schedular to play it it's way.
> I may be getting my hands on a large box in few weeks to bring up xen
> and do some scalability work. Hope to find some low hanging fruit.

Scalability for Xen past 8 logical processors (where 1 hyperthread is
1 schedulable unit) is likely to be poor, due to the load-balancing
algorithm.

Regarding a Xen scheduler plug-in for DB applications, it seems to me
it would be best to understand the characteristics of the DB workload
and how they respond to different kinds of contention.  There may be a
few surprises; for example, a workload that you assumed was CPU-bound
may in fact be making many qemu-handled operations, so it's really
blocking thousands of times per second.  If we can make the default
scheduler handle DB workloads well without making a special plug-in,
that would be preferrable.

Would you be willing, if you have the time, to help "beta-test" a new
scheduler with a DB workload and compare it to the old one?

 -George

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.