xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* scheduling quantum of credit2
@ 2012-03-01 20:55 David Xu
  0 siblings, 0 replies; 3+ messages in thread
From: David Xu @ 2012-03-01 20:55 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap

Hi,

With credit2 is it possible to assign a same scheduler with different
scheduling quantum to different cpu pool? For example, 2 cpu pools all
use credit1 scheduler, but one's tick_time is 10ms (default timeslice
is 30ms) and the other one's tick_time is  5ms (default timeslice is
15ms). Thanks.

Regards,
Cong

^ permalink raw reply	[flat|nested] 3+ messages in thread

* scheduling quantum of credit2
@ 2012-03-02 21:04 David Xu
  2012-03-05 10:34 ` George Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: David Xu @ 2012-03-02 21:04 UTC (permalink / raw)
  To: George Dunlap; +Cc: xen-devel

Hi George,

With credit2 is it possible to assign the same scheduler with different
scheduling quantum (or configuration) to different cpu pool? For
example, 2 cpu pools all
use credit1 scheduler, but one's tick_time is 10ms (default timeslice
is 30ms) and the other one's tick_time is  5ms (default timeslice is
15ms). Thanks.

Regards,
Cong

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scheduling quantum of credit2
  2012-03-02 21:04 scheduling quantum of credit2 David Xu
@ 2012-03-05 10:34 ` George Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: George Dunlap @ 2012-03-05 10:34 UTC (permalink / raw)
  To: David Xu; +Cc: xen-devel

On Fri, Mar 2, 2012 at 9:04 PM, David Xu <davidxu06@gmail.com> wrote:
> Hi George,
>
> With credit2 is it possible to assign the same scheduler with different
> scheduling quantum (or configuration) to different cpu pool? For
> example, 2 cpu pools all
> use credit1 scheduler, but one's tick_time is 10ms (default timeslice
> is 30ms) and the other one's tick_time is  5ms (default timeslice is
> 15ms). Thanks.

There is no default quantum for credit2; it sounds like you're talking
about credit1.

It is possible, but not all the patches are in yet.   There patches in
xen-unstable which create libxl calls that will change the scheduler
quantum of the scheduler of a cpupool.  There are also patches
recently submitted which implement an xl command-line interface as
well, but they haven't been applied yet.  Here is the information for
those, if you want to search for them:

Message-ID: <patchbomb.1330685517@kodo2>
Subject: [Xen-devel] [PATCH 0 of 2] [refresh] Implement xl interface
for setting credit 1 scheduler parameters

Hope that helps,
 -George

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-05 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 21:04 scheduling quantum of credit2 David Xu
2012-03-05 10:34 ` George Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2012-03-01 20:55 David Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).