Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-19 Thread Tian, Kevin
> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > Sent: Tuesday, September 20, 2016 8:25 AM > > On September 19, 2016 5:25 PM, Tian Kevin wrote: > >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > >> Sent: Monday, September 12, 2016 5:08 PM > >> > >> On September 12, 2016 3:58 PM, Tian, Ke

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-19 Thread Xuquan (Euler)
On September 19, 2016 5:25 PM, Tian Kevin wrote: >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> Sent: Monday, September 12, 2016 5:08 PM >> >> On September 12, 2016 3:58 PM, Tian, Kevin wrote: >> >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> >> Sent: Friday, September 09, 2016 11

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-19 Thread Tian, Kevin
> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > Sent: Monday, September 12, 2016 5:08 PM > > On September 12, 2016 3:58 PM, Tian, Kevin wrote: > >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > >> Sent: Friday, September 09, 2016 11:02 AM > >> > >> On August 30, 2016 1:58 PM, Tian Kevin

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-12 Thread Xuquan (Euler)
On September 12, 2016 3:58 PM, Tian, Kevin wrote: >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> Sent: Friday, September 09, 2016 11:02 AM >> >> On August 30, 2016 1:58 PM, Tian Kevin < kevin.t...@intel.com > wrote: >> >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> >> Sent: Friday,

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-12 Thread Tian, Kevin
> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > Sent: Friday, September 09, 2016 11:02 AM > > On August 30, 2016 1:58 PM, Tian Kevin < kevin.t...@intel.com > wrote: > >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > >> Sent: Friday, August 19, 2016 8:59 PM > >> > >> When Xen apicv is ena

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-08 Thread Xuquan (Euler)
On August 30, 2016 1:58 PM, Tian Kevin < kevin.t...@intel.com > wrote: >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> Sent: Friday, August 19, 2016 8:59 PM >> >> When Xen apicv is enabled, wall clock time is faster on Windows7-32 >> guest with high payload (with 2vCPU, captured from xentrac

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-06 Thread Xuquan (Euler)
On September 06, 2016 9:21 PM, Jan Beulich wrote: On 06.09.16 at 13:22, wrote: >> On September 06, 2016 5:05 PM, Jan Beulich >> On 06.09.16 at 10:53, wrote: to be honest, my fix is also a tradeoff.. w/ my patch, multiple pending pt interrupt instances may be combined as one i

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-06 Thread Jan Beulich
>>> On 06.09.16 at 13:22, wrote: > On September 06, 2016 5:05 PM, Jan Beulich > On 06.09.16 at 10:53, wrote: >>> to be honest, my fix is also a tradeoff.. w/ my patch, multiple >>> pending pt interrupt instances may be combined as one injection of >>> guest timer interrupt.. >>> but as Yang

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-06 Thread Xuquan (Euler)
On September 06, 2016 5:05 PM, Jan Beulich On 06.09.16 at 10:53, wrote: >> to be honest, my fix is also a tradeoff.. w/ my patch, multiple >> pending pt interrupt instances may be combined as one injection of >> guest timer interrupt.. >> but as Yang said, It should be ok since it happens r

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-06 Thread Jan Beulich
>>> On 06.09.16 at 10:53, wrote: > to be honest, my fix is also a tradeoff.. w/ my patch, multiple pending pt > interrupt instances may be combined as one injection of guest timer > interrupt.. > but as Yang said, It should be ok since it happens rarely and even native > OS will encounter the

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-09-06 Thread Xuquan (Euler)
On August 30, 2016 1:58 PM, Tian, Kevin wrote: >> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] >> Sent: Friday, August 19, 2016 8:59 PM >> >> When Xen apicv is enabled, wall clock time is faster on Windows7-32 >> guest with high payload (with 2vCPU, captured from xentrace, in high >> payload,

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-29 Thread Tian, Kevin
> From: Xuquan (Euler) [mailto:xuqu...@huawei.com] > Sent: Friday, August 19, 2016 8:59 PM > > When Xen apicv is enabled, wall clock time is faster on Windows7-32 guest > with high payload (with 2vCPU, captured from xentrace, in high payload, the > count of IPI interrupt increases rapidly between

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
On 2016/8/22 22:57, Jan Beulich wrote: On 22.08.16 at 15:09, wrote: On 2016/8/22 20:04, Jan Beulich wrote: On 22.08.16 at 13:41, wrote: On August 22, 2016 6:36 PM, wrote: On 19.08.16 at 14:58, wrote: From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 From: Quan Xu Da

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 11:12 PM, wrote: On 22.08.16 at 16:02, wrote: >> On August 22, 2016 8:04 PM, wrote: >> On 22.08.16 at 13:41, wrote: On August 22, 2016 6:36 PM, wrote: On 19.08.16 at 14:58, wrote: >> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 >00:00:

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Jan Beulich
>>> On 22.08.16 at 16:02, wrote: > On August 22, 2016 8:04 PM, wrote: > On 22.08.16 at 13:41, wrote: >>> On August 22, 2016 6:36 PM, wrote: >>> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 > 2001 > From: Quan Xu > Da

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Jan Beulich
>>> On 22.08.16 at 15:09, wrote: > On 2016/8/22 20:04, Jan Beulich wrote: > On 22.08.16 at 13:41, wrote: >>> On August 22, 2016 6:36 PM, wrote: >>> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 > From: Quan Xu > Date:

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
2016年8月22日星期一,Xuquan (Euler) 写道: > On August 22, 2016 8:04 PM, > wrote: > On 22.08.16 at 13:41, > wrote: > >> On August 22, 2016 6:36 PM, > wrote: > >> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 > 2001 > From: Quan Xu

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
2016年8月22日星期一,Xuquan (Euler) 写道: > On August 22, 2016 8:04 PM, > wrote: > On 22.08.16 at 13:41, > wrote: > >> On August 22, 2016 6:36 PM, > wrote: > >> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 > 2001 > From: Quan Xu

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 8:04 PM, wrote: On 22.08.16 at 13:41, wrote: >> On August 22, 2016 6:36 PM, wrote: >> On 19.08.16 at 14:58, wrote: From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 From: Quan Xu Date: Fri, 19 Aug 2016 20:40:31 +0800 Su

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 9:10 PM, Yang Zhang wrote: >On 2016/8/22 20:04, Jan Beulich wrote: > On 22.08.16 at 13:41, wrote: >>> On August 22, 2016 6:36 PM, wrote: >>> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 > 2001 > From: Quan

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
On 2016/8/22 20:04, Jan Beulich wrote: On 22.08.16 at 13:41, wrote: On August 22, 2016 6:36 PM, wrote: On 19.08.16 at 14:58, wrote: From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 From: Quan Xu Date: Fri, 19 Aug 2016 20:40:31 +0800 Subject: [RFC PATCH] x86/apicv: fix

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Jan Beulich
>>> On 22.08.16 at 13:41, wrote: > On August 22, 2016 6:36 PM, wrote: > On 19.08.16 at 14:58, wrote: >>> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 >>> From: Quan Xu >>> Date: Fri, 19 Aug 2016 20:40:31 +0800 >>> Subject: [RFC PATCH] x86/apicv: fix RTC periodic ti

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Jan Beulich
>>> On 22.08.16 at 13:40, wrote: > On 2016/8/22 18:35, Jan Beulich wrote: > On 19.08.16 at 14:58, wrote: >>> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 >>> From: Quan Xu >>> Date: Fri, 19 Aug 2016 20:40:31 +0800 >>> Subject: [RFC PATCH] x86/apicv: fix RTC periodic

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 7:40 PM, Yang Zhang wrote: >On 2016/8/22 18:35, Jan Beulich wrote: > On 19.08.16 at 14:58, wrote: >>> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 >>> 2001 >>> From: Quan Xu >>> Date: Fri, 19 Aug 2016 20:40:31 +0800 >>> Subject: [RFC PATCH] x86/apicv: f

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 6:36 PM, wrote: On 19.08.16 at 14:58, wrote: >> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 >> From: Quan Xu >> Date: Fri, 19 Aug 2016 20:40:31 +0800 >> Subject: [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue >> >> When Xen apicv

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
On 2016/8/22 18:35, Jan Beulich wrote: On 19.08.16 at 14:58, wrote: From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 From: Quan Xu Date: Fri, 19 Aug 2016 20:40:31 +0800 Subject: [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue When Xen apicv is enabled, wall

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Xuquan (Euler)
On August 22, 2016 5:38 PM, Yang Zhang wrote: >On 2016/8/19 20:58, Xuquan (Euler) wrote: >> From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 >> From: Quan Xu >> Date: Fri, 19 Aug 2016 20:40:31 +0800 >> Subject: [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue >>

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Jan Beulich
>>> On 19.08.16 at 14:58, wrote: > From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 > From: Quan Xu > Date: Fri, 19 Aug 2016 20:40:31 +0800 > Subject: [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue > > When Xen apicv is enabled, wall clock time is faster on W

Re: [Xen-devel] [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue

2016-08-22 Thread Yang Zhang
On 2016/8/19 20:58, Xuquan (Euler) wrote: From 9b2df963c13ad27e2cffbeddfa3267782ac3da2a Mon Sep 17 00:00:00 2001 From: Quan Xu Date: Fri, 19 Aug 2016 20:40:31 +0800 Subject: [RFC PATCH] x86/apicv: fix RTC periodic timer and apicv issue When Xen apicv is enabled, wall clock time is faster on Win