[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64 SMPVista


  • To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
  • Date: Thu, 11 Jan 2007 21:29:13 +0800
  • Delivery-date: Thu, 11 Jan 2007 05:29:52 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acc0qpECUWE/uVerTTS+WkRpZ1GU0QAAQ2zNAABGKxAAAJtwjAAAeAsgADRRvyA=
  • Thread-topic: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64 SMPVista

> (XEN) t1_cmp=          0, cur_tick= 1947268012, scheduled = negative
> 1947268012 (XEN) t1_cmp= 2147483648, cur_tick= 4258824668, scheduled
> = negative 2111341020 (XEN) t1_cmp=          0, cur_tick= 1993055268,
> scheduled = negative 1993055268 (XEN) t1_cmp= 2147483648, cur_tick=
> 3917908772, scheduled = negative 1770425124 (XEN) t1_cmp=          0,
> cur_tick= 1858024708, scheduled = negative 1858024708 (XEN) t1_cmp=
> 2147483648, cur_tick= 4000005532, scheduled = negative 1852521884
> (XEN) t1_cmp=          0, cur_tick= 2089118628, scheduled = negative
> 2089118628 (XEN) t1_cmp= 2147483648, cur_tick= 4012630076, scheduled
Keir:
        From the above printk data and confimed the HW TSC frequency is
2.133GHZ, my reading to that is
        1: Guest HPET frequency=2.133GHZ
        2: The guest is setting comparator to 0 or 0x80000000
(2147483648 in BCD). = 1s period.
        3: For some reason, current counter seems a little bit ahead
than 0x80000000 and 0, thus make a negative value to current counter,
i.e. "past" time in previous logic.

        So I think the patch is mostly needed except some coding style
issues. But I didn't understand why it makes Vista wall clock slow 50%
either :-(  

        Thx,eddie

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.