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