Skip to contentSkip to conversation

Is anyone using the credit scheduler "cap" functionality?

DISCUSSION George Dunlap 5 participants 6 messages Jan 20, 2009 – Jan 21, 2009

lore
Share & tools
lore
#0 lore raw

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap" functionality of the credit scheduler. If you use it, or know of someone who does, could you let me know?

If you don't know what it is, you probably aren't using it. :-)

Peace,
-George

#1 lore raw

IIRC, the cap functionality is useful primarily for application licensing, e.g. to ensure that an app licensed for 2 cpus never gets more than 2 cpus, even if all other cpus are idle. I suppose it could also be used by a webhosting provider to create similar limits to allow selling of an added-value tier (e.g. "uncapped", kind of a poor man's cloud computing).

Given that, I'd say this is a much too restricted forum (primarily developers) to ask and, even if it's not being used today, pulling it out seems premature unless there's a *really* good reason.

My two cents,
Dan

Quoted 23 lines

-----Original Message-----
From: George Dunlap [mailto:[email protected]]
Sent: Tuesday, January 20, 2009 12:09 PM
To: [email protected]
Subject: [Xen-devel] Is anyone using the credit scheduler "cap" functionality?

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap" functionality of the credit scheduler. If you use it, or know of someone who does, could you let me know?

If you don't know what it is, you probably aren't using it. :-)

Peace,
-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

I would add another use for cap.
Sometimes it is usefull to understand how a domain behaves as a function of the amount of CPU that is allocated to it. For example when deciding how many applications can be consolidated on a server you may want to run some tests with specific benchmarks controling the exact amount of CPU allocated to the domain running the application. This allow you to predict how a domain will behave when the amount of CPU is limited due to sharing the CPU with other domain. The cap is very useful for this scenario. In fact, Rutgers University and HP Labs are working on a Research Project (JustRunIt) that uses the CAP functionality of the scheduler to test and characterize a domain behavior as a function of the allocated CPU.

I would be very disappointed if the CAP functionality was removed from Xen scheduler

Renato

Quoted 56 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Magenheimer
Sent: Tuesday, January 20, 2009 12:33 PM
To: George Dunlap; [email protected]
Subject: RE: [Xen-devel] Is anyone using the credit scheduler "cap" functionality?

IIRC, the cap functionality is useful primarily for application licensing, e.g. to ensure that an app licensed for 2 cpus never gets more than 2 cpus, even if all other cpus are idle.
I suppose it could also be used by a webhosting provider to create similar limits to allow selling of an added-value tier (e.g. "uncapped", kind of a poor man's cloud computing).

Given that, I'd say this is a much too restricted forum (primarily developers) to ask and, even if it's not being used today, pulling it out seems premature unless there's a *really* good reason.

My two cents,
Dan

Quoted 10 lines

-----Original Message-----
From: George Dunlap [mailto:[email protected]]
Sent: Tuesday, January 20, 2009 12:09 PM
To: [email protected]
Subject: [Xen-devel] Is anyone using the credit scheduler "cap" functionality?

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap"

functionality

Quoted 1 line

of the credit scheduler. If you use it, or know of someone

who does,

Quoted 4 lines

could you let me know?

If you don't know what it is, you probably aren't using it. :-)

Quoted 8 lines

Peace,
-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to George Dunlap
Quoted 4 lines · George Dunlap

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap" functionality of the credit scheduler. If you use it, or know of someone who does, could you let me know?

We are using it in our "BS2000 on x86" project.

Juergen

Signature · 5 lines
Juergen Gross                             Principal Developer
IP SW OS6                      Telephone: +49 (0) 89 636 47950
Fujitsu Siemens Computers         e-mail: [email protected]
Otto-Hahn-Ring 6                Internet: www.fujitsu-siemens.com
D-81739 Muenchen         Company details: www.fujitsu-siemens.com/imprint.html
#4 lore raw

Re: Is anyone using the credit scheduler "cap"functionality?

In reply to George Dunlap

Hi, George

Of course I use "cap".

Would you explain the parameter(s) in your scheduler? (keep two or ???)

Thanks
Atsushi SAKAI

Quoted 14 lines · George Dunlap

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap" functionality of the credit scheduler. If you use it, or know of someone who does, could you let me know?

If you don't know what it is, you probably aren't using it. :-)

Peace,
-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Re: Is anyone using the credit scheduler "cap"functionality?

The general mechanism and interface to the new scheduler will be the same as the old: weight, credits, &c. Just a lot of the plumbing will be re-worked. It may be a big enough to start a new scheduler, "credit2", while the kinks get worked out; we'll see.

For those who are using cap to provide QoS: I'm going to be adding a new feature, a complement to the "cap" feature, which would be a "floor" or "reservation" feature. (Haven't thought of a good name for it yet.) Just as "cap" will make sure that a given VM never uses more than X% of a cpu, the "reservation" feature will ensure that a VM can always get Y% of a cpu if it wants it. It seems like this may be closer to what you want -- guarantee a minimum QoS, but allow VMs to use extra resources if they're available?

At any rate, the cap feature shouldn't be to difficult to keep, so since people are still using it, I'll do the bit of extra work to keep it in the new system. Thanks for the input, all!

Peace,
-George

Quoted 35 lines · Atsushi SAKAI

Hi, George

Of course I use "cap".

Would you explain the parameter(s) in your scheduler? (keep two or ???)

Thanks
Atsushi SAKAI

Quoted 7 lines · George Dunlap

I'm in the process of revising the credit scheduler design, and I'd like to know how important it is to maintain the "cap" functionality of the credit scheduler. If you use it, or know of someone who does, could you let me know?

If you don't know what it is, you probably aren't using it. :-)

Quoted 7 lines

Peace,
-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel