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

[Xen-devel] Re: Credit scheduler in Xen

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Credit scheduler in Xen
From: gaurav somani <onlineengineer@xxxxxxxxx>
Date: Thu, 18 Jun 2009 15:59:56 +0530
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Jun 2009 03:30:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GU/f35RzvbgxjI/JwgBhF7+PhF8cZD3DF/G9WV8jXwI=; b=MxtnIoXucTVI7mrVRutfff4Fq+o1bJzdQdznvooCo7H6Uf3+lXjQRaNH23Y1ZX56aU eSZKpzrQkl+1vE/5oBnEZL8gAvWj2Ganr8wEHHnb8QnbdS/CSry4KLWW3Q0197RJ3IzN 13HVtGq99SlcUeQ7U3gNaAw12v2ObtJvcKgLQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GrTECsLNuwbvQcZeX7HSGJDNaXShr+EBjgr16TibPuJ4c1+IkeckZQCEfGtPFFE/qt DOpywY2aQYbQo0R63N69wgonUbfEit92YsiXqd/q2QpA/iDrAWaGJYSHmao8xL8/AOWC SqiwmVEa1vdAPFC8MkQ5w0culFlJ5hMw0Tymk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8D3CF83526F4304BA2F3C06F0DAB482E417438029A@xxxxxxxxxxxxxxxxxxxxxxxxx>
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: <c74415330906160622h52263cbfk5d30beb9baaedc96@xxxxxxxxxxxxxx> <4A383C9E.5040802@xxxxxxxxxxxxxx> <c74415330906170134s2c378a0v54b7230cf582d29e@xxxxxxxxxxxxxx> <8D3CF83526F4304BA2F3C06F0DAB482E417438029A@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
thanks

Gaurav

On 6/18/09, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
> Because non-multiples of 100 are added?
>
>  -George
>
> -----Original Message-----
> From: gaurav somani [mailto:onlineengineer@xxxxxxxxx]
> Sent: 17 June 2009 09:34
> To: George Dunlap
> Cc: NISHIGUCHI Naoki; Emmanuel Ackaouy; xen-devel
> Subject: Re: Credit scheduler in Xen
>
> Hi George
> ,
> If the accounting is done with debiting 100 from credit score for each
> 10ms. Then why the credits are like -56, 244.
>
>
> Thanks
> Gaurav
>
>
> (XEN) active vcpus:
> (XEN)           1: [7.0] pri=-1 flags=0 cpu=1 credit=-56 [w=256] (244+300)
> {a/i=5689/5688 m=79036+0}
> (XEN)           2: [0.1] pri=-2 flags=0 cpu=0 credit=-250 [w=256] (-50+150)
> {a/i=154671/154670 m=105449+0}
> (XEN)           3: [0.0] pri=-2 flags=0 cpu=0 credit=-194 [w=256] (-194+150)
> {a/i=199622/199621 m=117084+0}
> (XEN) NOW=0x000057DB2EA2EF38
> (XEN) CPU[00]  sort=1094203, sibling=0x1, core=0x3
> (XEN)         run: [0.1] pri=-2 flags=0 cpu=0 credit=-250 [w=256] (-50+150)
> {a/i=154671/154670 m=105449+0}
> (XEN)           1: [0.0] pri=-2 flags=0 cpu=0 credit=-194 [w=256] (-194+150)
> {a/i=199622/199621 m=117084+0}
> (XEN)           2: [32767.0] pri=-64 flags=0 cpu=0
> (XEN) CPU[01]  sort=1094203, sibling=0x2, core=0x3
> (XEN)         run: [7.0] pri=-1 flags=0 cpu=1 credit=-56 [w=256] (244+300)
> {a/i=5689/5688 m=79036+0}
> (XEN)           1: [32767.1] pri=-64 flags=0 cpu=1
>
>
>
>
>
>
> On 6/17/09, NISHIGUCHI Naoki <nisiguti@xxxxxxxxxxxxxx> wrote:
>> gaurav somani wrote:
>>> I have seen your preseantion on credit scheduler. It was quite good
>>> idea to debit resource according to use. Please tell me about their
>>> inclusion in Xen. Are they available in xen?. After
>>
>> No, my patches to credit scheduler have not been applied in Xen.
>> As you knou, new scheduler has been developed by George Dunlap.
>>
>>> doing
>>>
>>> # xm debug-keys r
>>> #xm dmesg
>>>
>>> i got credits in odd numbers and negative also and not in the multiple
>>> of 100.  So, It seems that this version contains your changes. (It i
>>> sXen 3.3.1).
>>
>> Because of not applying my patches in Xen, I think these things are
>> behavior of original credit scheduler.
>>
>>> Please conform this thing. Also how to get continous accounting
>>> information on any thing tike xm dmesg.
>>
>> I don't know how to get continuous accounting information. I also had
>> used "xm debug-keys r" as you do.
>>
>> Regards,
>> Naoki Nishiguchi
>>
>>
>
>
> --
> Gaurav somani
> M.Tech (ICT)
> Dhirubhai Ambani Institute of ICT,
> Gandhinagar
> Gujarat, INDIA
>
> onlineengineer@xxxxxxxx
> gaurav_somani@xxxxxxxxxxxx
> http://dcomp.daiict.ac.in/~gaurav
> http://www.linkedin.com/in/gauravsomani
>


-- 
Gaurav somani
M.Tech (ICT)
Dhirubhai Ambani Institute of ICT,
Gandhinagar
Gujarat, INDIA

onlineengineer@xxxxxxxx
gaurav_somani@xxxxxxxxxxxx
http://dcomp.daiict.ac.in/~gaurav
http://www.linkedin.com/in/gauravsomani

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

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