Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-30 Thread Joao Martins
On 08/30/2016 01:30 PM, Jan Beulich wrote: On 30.08.16 at 14:08, wrote: >> On 08/29/2016 10:36 AM, Jan Beulich wrote: >> On 26.08.16 at 17:11, wrote: On 08/25/2016 11:06 AM, Jan Beulich wrote: On 24.08.16 at 14:43, wrote: >> - Change init_tsctimer to skip all the te

Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-30 Thread Jan Beulich
>>> On 30.08.16 at 14:08, wrote: > On 08/29/2016 10:36 AM, Jan Beulich wrote: > On 26.08.16 at 17:11, wrote: >>> On 08/25/2016 11:06 AM, Jan Beulich wrote: >>> On 24.08.16 at 14:43, wrote: > - Change init_tsctimer to skip all the tests and assume it's called > only on reliable

Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-30 Thread Joao Martins
On 08/29/2016 10:36 AM, Jan Beulich wrote: On 26.08.16 at 17:11, wrote: >> On 08/25/2016 11:06 AM, Jan Beulich wrote: >> On 24.08.16 at 14:43, wrote: This patch introduces support for using TSC as platform time source which is the highest resolution time and most performant to

Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-29 Thread Jan Beulich
>>> On 26.08.16 at 17:11, wrote: > On 08/25/2016 11:06 AM, Jan Beulich wrote: > On 24.08.16 at 14:43, wrote: >>> This patch introduces support for using TSC as platform time source >>> which is the highest resolution time and most performant to get (~20 >>> nsecs). >> >> Is this indeed still

Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-26 Thread Joao Martins
On 08/25/2016 11:06 AM, Jan Beulich wrote: On 24.08.16 at 14:43, wrote: >> This patch introduces support for using TSC as platform time source >> which is the highest resolution time and most performant to get (~20 >> nsecs). > > Is this indeed still the case with the recently added fences?

Re: [Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-25 Thread Jan Beulich
>>> On 24.08.16 at 14:43, wrote: > This patch introduces support for using TSC as platform time source > which is the highest resolution time and most performant to get (~20 > nsecs). Is this indeed still the case with the recently added fences? > Though there are also several problems associate

[Xen-devel] [PATCH v3 2/6] x86/time: implement tsc as clocksource

2016-08-24 Thread Joao Martins
Recent x86/time changes improved a lot of the monotonicity in xen timekeeping, making it much harder to observe time going backwards. Although platform timer can't be expected to be perfectly in sync with TSC and so get_s_time won't be guaranteed to always return monotonically increasing values ac