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] Credit scheduler anamoly

To: "Padala, Pradeep" <pradeep.padala@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Credit scheduler anamoly
From: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Date: Wed, 22 Nov 2006 12:09:37 +0900
Delivery-date: Tue, 21 Nov 2006 19:11:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: (Your message of "Tue, 21 Nov 2006 16:07:00 -0600") <08CA2245AFCF444DB3AC415E47CC40AF4823C3@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: <08CA2245AFCF444DB3AC415E47CC40AF4823C3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Padala,

The cap effects for avarage not one time.
Please send xentop -b (batch) log file.

Thanks 
Atsushi SAKAI


>I sent the following mail without subscribing to the list, and I am not
>sure whether the list accepts mails from non-members. I just subscribed
>and re-sending the mail. I apologize if you receive multiple copies.
>
>Hi,
>
>I am using the credit scheduler in the xen-unstable trunk and I am
>trying to set a cap on the container CPU entitlement. I have two VMs and
>two CPUs. The two VMs are restricted to one CPU using the command xm
>vcpu-pin. Now, I want to cap the container CPU consumption say to 4% and
>26% of the ONE CPU.
>
>So, I use the following commands.
>
>xm sched-credit -d 73 -c 4
>xm sched-credit -d 74 -c 26
>
>When I run Xentop, I see this
>
>apache.padalap.1 ------         83    7.0 ...
>apache.padalap.2 -----r        154   25.5 ...
>
>How is this possible when I cap the first VM to 4% ? Am I missing some
>thing ? Does credit scheduler fail to enforce small caps ? Note that I
>haven't changed the weights and they are set to default 256 each.
>
>Thanks,
>Pradeep
>
>_______________________________________________
>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>