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] tunable time slice for credit scheduler

To: Emmanuel Ackaouy <ackaouy@xxxxxxxxx>, Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tunable time slice for credit scheduler
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 13:26:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jun 2007 05:24:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <a9d746ced3b4c9b21844a7495cc2cadb@xxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace4tmkWp2MNmCSpEdyz1QAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] tunable time slice for credit scheduler
User-agent: Microsoft-Entourage/11.3.3.061214
I'm not sure that extra parameters are what the scheduler really needs.
Tuning for better performance 'out of the box' would be more useful. Under
what circumstances were you seeing VNC connection timeouts? If it's an
extreme overload situation then that can likely be detected and dealt with
by automatic time-slice adjustment. I can't see a time-slice option being
used sensibly in many scenarios.

 -- Keir

On 27/6/07 13:08, "Emmanuel Ackaouy" <ackaouy@xxxxxxxxx> wrote:

> The sched_credit.c part of this patch looks good to me (except for
> the coding style issues). Before adding per-domain tunable time
> slices though, shouldn't we make the global time slice tunable?
> 
> 
> On May 17, 2007, at 10:25, Atsushi SAKAI wrote:
> 
>> Hi,
>> 
>> This patch intends to add tunablity for time slice on credit scheduler.
>> Each domain can change time slice.
>> 
>> for example,
>> xm sched-credit -d 0 -s 20
>> (unit is msec)
>> 
>> Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
>> 
>> c.f.
>> 1)libxc(pyxc) forgets help message for cap.
>> I add it on tools/python/xen/lowlevel/xc/xc.c
>> 
>> 2)time slice can set from 1 to 100(msec).
>> I have see VNC connection timeout problem for many domain on one CPU.
>> For this reason, it can set time slice from 1 to 100 msec.
>> Of course, default value is 30msec.
>> 
>> 
>> Thanks
>> Atsushi SAKAI
>> 
>> <tune_timeslice.patch>_______________________________________________
>> 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


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

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