| To: | "Keir Fraser" <keir@xxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | RE: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64SMP Vista |
| From: | "Dong, Eddie" <eddie.dong@xxxxxxxxx> |
| Date: | 2007年1月10日 22:42:09 +0800 |
| Delivery-date: | 2007年1月10日 06:42:41 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <C1CA863D.7671%keir@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> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | Acc0qpECUWE/uVerTTS+WkRpZ1GU0QAAQ2zNAABGKxAAAJtwjAAFRSLg |
| Thread-topic: | [Xen-devel] [Patch] Fix the slow wall clock time issue in x64SMP Vista |
> I cannot see the logic behind the change though. If the guest has set > up a timeout, and the timeout is in the past, it makes sense to > deliver immediately. > Basically I agree too, but the problem is that how can we determine it is a past time? >From HW point of view, it doesn't think it is a "past" time, so it will think it is a time long ahead. HPET spec mentions that SW should set a comparator far enough to avoid HW see a "past" time set. But in our virtualization environment, it could become a "past" time due to overhead of virtualization cost. Thus putting a threshold for this situation may help us. Because HPET is very similar with IA64 ITC timer, in IA64 Linux, the OS will try to read back the counter after comparator setting (ITC or TSC in X86) to make sure it is before the set comparator, otherwise reset with a new comparator. Not sure how Windows HPET handle this, but probably we can assume similar mechanism in OS. thx,eddie _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] strange domU problem , S.Çağlar Onur |
|---|---|
| Next by Date: | Re: [Xen-devel] Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table , Chris Lalancette |
| Previous by Thread: | RE: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64 SMPVista , Dong, Eddie |
| Next by Thread: | [Xen-devel] strange domU problem , S.Çağlar Onur |
| Indexes: | [Date] [Thread] [Top] [All Lists] |