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] [PATCH 0 of 5] Add credit2 scheduler (EXPERIMENTAL)

To: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0 of 5] Add credit2 scheduler (EXPERIMENTAL)
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Thu, 15 Apr 2010 13:11:58 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Apr 2010 13:13:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC5D165.4010700@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1271240778@silas> <7db7f696-1f0b-44d0-8f7b-eea1be5167dd@default 4BC5D165.4010700@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Well, sadly, credit2 doesn't seem to solve the problem... and
even more sadly causes worse performance on my overcommitted
workload.

elapsed is wallclock seconds from the time the first VM
 launches the first "make clean" until the fourth VM finishes
 its second make.

sumvcpu is the sum of the vcpu sec (including dom0) reported
 by xm list after all VM's have finished the workload and
 force-crashed

dom0 is the vcpu sec reported by xm list for dom0

credit: 5 test runs
elapsed=(9447,9388,9578,9576,9412)
sumvcpu=(13665,13671,13693,13589,13598)
dom0=(559,556,555,467,483)

sedf: 6 test runs
elapsed=(10022,9418,9637,12129,13599,11875)
sumvcpu=(13539,13514,13510,14270,14447,14237)
dom0=(473,468,460,482,537,475)

credit2: 6 test runs
elapsed=(11007,9931,10051,10090,11647,10070)
sumvcpu=(14878,14615,14610,14641,14886,14594)
dom0=(510,470,471,482,536,463)

P.S.  physical machine is a single socket dual core

> -----Original Message-----
> From: George Dunlap [mailto:george.dunlap@xxxxxxxxxxxxx]
> Sent: Wednesday, April 14, 2010 8:30 AM
> To: Dan Magenheimer
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] [PATCH 0 of 5] Add credit2 scheduler
> (EXPERIMENTAL)
> 
> Keir has checked the patches in, so if you wait a bit, they should show
> up on the public repository.
> 
> The tool patch is only necessary for adjusting the weight; if you're OK
> using the default weight, just adding "sched=credit2" on the xen
> command-line should be fine.
> 
> Don't forget that this isn't meant to perform well on multiple sockets
> yet. :-)
> 
>  -George
> 
> Dan Magenheimer wrote:
> > Hi George --
> >
> > I'm seeing some problems applying the patches (such as "malformed
> > patch").  If you could send me a monolithic patch in an attachment
> > and tell me what cset in http://xenbits.xensource.com/xen-unstable.hg
> > that it successfully applies against, I will try to give my
> > workload a test against it to see if it has the same
> > symptoms.
> >
> > Also, do I need to apply the tools patch if I don't intend
> > to specify any parameters, or is the xen patch + "sched=credit2"
> > in a boot param sufficient?
> >
> > Thanks,
> > Dan
> >
> >
> >> -----Original Message-----
> >> From: George Dunlap [mailto:george.dunlap@xxxxxxxxxxxxx]
> >> Sent: Wednesday, April 14, 2010 4:26 AM
> >> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> >> Cc: george.dunlap@xxxxxxxxxxxxx
> >> Subject: [Xen-devel] [PATCH 0 of 5] Add credit2 scheduler
> >> (EXPERIMENTAL)
> >>
> >> This patch series introduces the credit2 scheduler.  The first two
> >> patches
> >> introduce changes necessary to allow the credit2 shared runqueue
> >> functionality
> >> to work properly; the last two implement the functionality itself.
> >>
> >> The scheduler is still in the experimental phase.  There's lots of
> >> opportunity to contribute with independent lines of development;
> email
> >> George Dunlap <george.dunlap@xxxxxxxxxxxxx> or check out the wiki
> page
> >> http://wiki.xensource.com/xenwiki/Credit2_Scheduler_Development for
> >> ideas
> >> and status updates.
> >>
> >> 19 files changed, 1453 insertions(+), 21 deletions(-)
> >> tools/libxc/Makefile                      |    1
> >> tools/libxc/xc_csched2.c                  |   50 +
> >> tools/libxc/xenctrl.h                     |    8
> >> tools/python/xen/lowlevel/xc/xc.c         |   58 +
> >> tools/python/xen/xend/XendAPI.py          |    3
> >> tools/python/xen/xend/XendDomain.py       |   54 +
> >> tools/python/xen/xend/XendDomainInfo.py   |    4
> >> tools/python/xen/xend/XendNode.py         |    4
> >> tools/python/xen/xend/XendVMMetrics.py    |    1
> >> tools/python/xen/xend/server/SrvDomain.py |   14
> >> tools/python/xen/xm/main.py               |   82 ++
> >> xen/arch/ia64/vmx/vmmu.c                  |    6
> >> xen/common/Makefile                       |    1
> >> xen/common/sched_credit.c                 |    8
> >> xen/common/sched_credit2.c                | 1125
> >> +++++++++++++++++++++++++++++
> >> xen/common/schedule.c                     |   22
> >> xen/include/public/domctl.h               |    4
> >> xen/include/public/trace.h                |    1
> >> xen/include/xen/sched-if.h                |   28
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-devel
> >>
> 

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

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