xen-devel
Re: [Xen-devel] [PATCH] Deferrable Timer
To: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH] Deferrable Timer |
From: |
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx> |
Date: |
Tue, 22 Jul 2008 11:56:12 -0400 |
Cc: |
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx> |
Delivery-date: |
Tue, 22 Jul 2008 08:51:07 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<D470B4E54465E3469E2ABBC5AFAC390F024D9598@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> <487F53D1.6030104@xxxxxxxxxxxxxxx> <1104166E0B63A341805FDB977862AAD201BF4DE8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4880B6D4.4020906@xxxxxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F024D9598@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Kevin,
Let me just try to use the deferrable timers as they are
specified today. If I have trouble doing so, then we can discuss
at that point.
thanks,
Dave
Tian, Kevin wrote:
>>From: Dave Winchell [mailto:dwinchell@xxxxxxxxxxxxxxx]
>>Sent: 2008年7月18日 23:29
>>
>>Vpt.c works in a similar fashion for its periodic timer. Other
>>clocksources,
>>e.g. pit, rtc, are layred on vpt.c with interface
>>create_periodic_timer.
>>I can imagine an option passed to create_periodic_timer signifying that
>>a deferrable timer may be used.
>>
>>
>
>Agree.
>
>
>
>>Ideally, the deferrable timer would have an option where a set
>>of allowable
>>timeout values, rather than a range, could be provided. If it had this
>>option, we could keep
>>the timeouts on the integer*period time line. Otherwise I need to warp
>>the comparator
>>as discussed below. I anticipate that there may be some problems with
>>warping.
>>
>>
>
>Not sure why this option is required. In any case, you just keep cmp
>updated by integer*period which is just enough in timer fn and has
>nothing to do with whether timer is deferred. Timers are always deferred
>before and after, with only difference on the extent, especially when
>you consider the point when guest gets chance to act on it.
>
>
>
>
>>I realize that specifying a range gives you more options for combining
>>timeouts.
>>I don't mind trying to solve the warping problem.
>>
>>
>
>Yes, the purpose of the deferral is to reduce timer ticks, or else it
>really make no sense.
>
>
>
>>One further option would be a deferrable timer with a range
>>fallowed by
>>a non-deferrable
>>timer to get back on the integer*period timeline for interrupt
>>delivery.
>>
>>
>
>What's the purpose then? current algorithm to find whether one
>timer should be deferred is to find whether other timers may
>expire in its tolerated future, regardless of whether next timer
>is deferrable or not. Why do you care whether next one is
>non-deferrable?
>
>Thanks,
>Kevin
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
Previous by Date: |
RE: [Xen-devel] HVM direct boot broken in xen-unstable, Byrne, John (HP Labs) |
Next by Date: |
Re: [Xen-devel] Priority for SMP VMs, Jeremy Fitzhardinge |
Previous by Thread: |
RE: [Xen-devel] [PATCH] Deferrable Timer, Tian, Kevin |
Next by Thread: |
Swiss Top Name Watches from $199, High quality Cartier, Patek Philippe, Breitling, Hermes, Franck Muller & .. vzmrso an, Reina Willia |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|