Skip to contentSkip to conversation

Credit scheduler in Xen

DISCUSSION gaurav somani 2 participants 3 messages Jun 17, 2009 – Jun 18, 2009 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

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

Quoted 30 lines · NISHIGUCHI Naoki
Quoted 3 lines · gaurav somani

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.

Quoted 8 lines

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.

Quoted 2 lines

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

Signature · 10 lines
Gaurav somani
M.Tech (ICT)
Dhirubhai Ambani Institute of ICT,
Gandhinagar
Gujarat, INDIA

[email protected]
[email protected]
http://dcomp.daiict.ac.in/~gaurav
http://www.linkedin.com/in/gauravsomani
#3 lore raw

Because non-multiples of 100 are added?

-George

-----Original Message-----
From: gaurav somani [mailto:[email protected]]
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

Quoted 30 lines · NISHIGUCHI Naoki
Quoted 3 lines · gaurav somani

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.

Quoted 8 lines

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.

Quoted 2 lines

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

Signature · 10 lines
Gaurav somani
M.Tech (ICT)
Dhirubhai Ambani Institute of ICT,
Gandhinagar
Gujarat, INDIA

[email protected]
[email protected]
http://dcomp.daiict.ac.in/~gaurav
http://www.linkedin.com/in/gauravsomani
#4 lore raw

thanks

Gaurav

Quoted 90 lines · George Dunlap

Because non-multiples of 100 are added?

-George

-----Original Message-----
From: gaurav somani [mailto:[email protected]]
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

Quoted 20 lines · NISHIGUCHI Naoki
Quoted 3 lines · gaurav somani

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.

Quoted 8 lines

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.

Quoted 10 lines
Quoted 2 lines

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

[email protected]
[email protected]
http://dcomp.daiict.ac.in/~gaurav
http://www.linkedin.com/in/gauravsomani

Signature · 10 lines
Gaurav somani
M.Tech (ICT)
Dhirubhai Ambani Institute of ICT,
Gandhinagar
Gujarat, INDIA

[email protected]
[email protected]
http://dcomp.daiict.ac.in/~gaurav
http://www.linkedin.com/in/gauravsomani