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: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tunable time slice for credit scheduler
From: Emmanuel Ackaouy <ackaouy@xxxxxxxxx>
Date: Wed, 27 Jun 2007 14:08:36 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jun 2007 05:06:35 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=gwjN+7T90XTGqwFH2CKB/v1+az06IL1f8ZIeeaBBo8UV9OaQxrR1OWyJSUuRcZXVNdzDNu9rsHu44OmqHjGZQ73qufJSD4oaNm8uoRuPnZ0dWjScPZFp+OOc1+1sU3PXdKzNphoBp+kmeG0XPbbw+UF4xMy+WRVG0lvzZRrEaU4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=TsLLQywC8aObRfAHNPuNNvyaU8V+PtS6bPUw3jFDuXVC3pgo3ULUOaBvmJgpIT1/FiLszoYQRevtoY5odEguM8ZthJ7rEDeCWdPUKNfc0bnoxoQC55OGjv6p06/KUpXS9GGwNJA+Jx1pyKUC0msn0nVNXA0mhZn7aAXq2qeN6mY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200705170825.l4H8PsrQ009170@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <200705170825.l4H8PsrQ009170@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

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