|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Deferrable Timer
To: |
"Yu, Ke" <ke.yu@xxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH] Deferrable Timer |
From: |
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx> |
Date: |
Thu, 17 Jul 2008 10:14:41 -0400 |
Cc: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx> |
Delivery-date: |
Thu, 17 Jul 2008 07:10:13 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1104166E0B63A341805FDB977862AAD201BF479B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<1104166E0B63A341805FDB977862AAD201BC154A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C4A5047C.24127%keir.fraser@xxxxxxxxxxxxx> <1104166E0B63A341805FDB977862AAD201BF479B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Yu, Ke wrote:
Keir Fraser wrote:
On 17/7/08 13:54, "Yu, Ke" <ke.yu@xxxxxxxxx> wrote:
This patch adds new ac timer API set_timer_deferrable for the
deferrable timer.
Whether this is worthwhile depends on what likely users there are.
platform-timer overflow is not very compelling since if you're using
anything other than PIT (which ought to be likely on a modern system
supporting deep sleep) the overflow period should be multiple seconds.
-- Keir
True. Another user is the Px state sampling timer, which is 20ms. Other
potential timers (e.g. sched timer, hvm pt timers) are also under
evaluation, the principle is to make sure there is no performance
downgrade.
Ke,
One would think that hpet or vpt support for the guest-handles-missed-ticks
policy would be a good application for a deferrable timer.
If a deferrable timer were used, then the comparator (cmp) would have to
be warped to a non-integer multiple of the period. This is because Linux
reads the comparator register to estimate the delay since the interrupt
was posted.
I don't think warping like this will be a problem. At some point, I can test
this.
I think we could use the deferrable timer for the
guest-does-not-handle-missed-ticks
policy as well.
Any investigation that you want to do in the platform timer area would
be fine.
Or I can do it, but that will probably be after I do the vpt.c/hpet.c
integration
work.
thanks,
Dave
Best Regards
Ke
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|