39 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] RE: [PATCH 24/29] ia...
FromSent OnAttachments
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Isaku Yamahata16 Jul 2008 19:10 
Akio Takebe16 Jul 2008 20:25 
Akio Takebe16 Jul 2008 20:27 
Akio Takebe16 Jul 2008 20:48 
Isaku Yamahata16 Jul 2008 22:55 
Isaku Yamahata16 Jul 2008 22:58 
Isaku Yamahata16 Jul 2008 23:11 
Isaku Yamahata17 Jul 2008 19:17 
Luck, Tony18 Jul 2008 09:28 
Luck, Tony18 Jul 2008 15:43 
Subject:[Xen-ia64-devel] RE: [PATCH 24/29] ia64/pv_ops/xen: implement xen pv_time_ops.
From:Luck, Tony (tony@intel.com)
Date:07/18/2008 09:28:07 AM
List:com.xensource.lists.xen-ia64-devel

So, my understanding from looking at your patch that the itc is somewhat like the x86 tsc, in that it's not (necessarily) synchronized between cpus. But unlike the tsc, the itc is always in nanoseconds, but you don't get information from Xen about the current physical cpu's offset from absolute system time. And that means you have the (rather dubious looking) comparisons to test for large jumps in the itc which you try to ignore.

ITC is never synchronized between cpus. On some systems all processor ITC may be driven from the same clock ... so an "offset from absolute system time" would work on those systems. But on others the ITC on different processors may be driven from different crystals, so the *rate* may be different. The difference may be small if the crystals have the same nominal frequency, but in the worst case the rates may be readically different (e.g. in some SGI systems ~1.2GHz on some cpus and ~1.6GHz on others).

-Tony