|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Power aware credit scheduler
To: |
"Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] Power aware credit scheduler |
From: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx> |
Date: |
Thu, 19 Jun 2008 16:03:53 +0800 |
Cc: |
ackaouy@xxxxxxxxx, "Wei, Gang" <gang.wei@xxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx> |
Delivery-date: |
Thu, 19 Jun 2008 01:04:28 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<C47FC9FB.1A0FC%keir.fraser@xxxxxxxxxxxxx> |
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<D470B4E54465E3469E2ABBC5AFAC390F024D9444@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C47FC9FB.1A0FC%keir.fraser@xxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcjRyDPly+hYayDgSN6PPLduSJGRXQAFliV6AADKXQA= |
Thread-topic: |
[Xen-devel] Power aware credit scheduler |
>From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
>Sent: 2008年6月19日 15:32
>
>
>> c) when cpu's freq is scaled dynamically
>> When cpufreq/Px is enabled, cpu's frequency is adjusted
>> to different operation points driven by a on-demand governor. So
>> csched_acct may need take frequency difference among cpus into
>> consideration and total available credits won't be a simple 300 *
>> online cpu_number.
>
>Not sure. I think the current governor runs frequently to react to the
>scheduler (i.e., try to keep the CPU non-idle by downscaling frequency;
>upscale frequency when the CPU gets busy; both these done over
>sub-second
>timescales).
Yes, normally it's based at 20ms level.
>Does it then make sense to have the scheduler react to
>governor? Sounds like it could be a weird feedback loop.
>
Good suggestion. We're considering adding some more inputs from
key components into on-demand governor, instead of simply polling
busy ratio for freq change in a fixed interval. For example, when one
cpu pulls vcpu from other runqueues, it's the indicator that its current
freq may not fit and it's better to scale to max immediately instead
of waiting for next 20ms check timer. Other indicators like interrupt,
event, etc. You kick a good instance. :-)
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|