[Xen-devel] [PATCH 0/2] vTSC performance improvements

Igor Druzhinin posted 2 patches 4 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/1576277282-6590-1-git-send-email-igor.druzhinin@citrix.com
xen/arch/x86/domain.c        |  1 -
xen/arch/x86/hvm/hvm.c       | 32 ++------------------------------
xen/arch/x86/time.c          | 28 ++++++----------------------
xen/include/asm-x86/domain.h |  5 -----
4 files changed, 8 insertions(+), 58 deletions(-)
[Xen-devel] [PATCH 0/2] vTSC performance improvements
Posted by Igor Druzhinin 4 years, 3 months ago
In our PV shim testing we've noticed constant lockups of guests with high
number of vCPUs assigned that usually happening when there is another guest
running on the same host. Reproing the problem manually and dumping shim
state immediately showed that most of the vCPUs are locked on vtsc_lock.
As PV shim guest always gets emulated TSC due to L1 Xen itself not being
provided with ITSC the ideal solution would be to try dropping the lock
entirely.

Igor Druzhinin (2):
  x86/time: drop vtsc_{kern,user}count debug counters
  x86/time: update vtsc_last with cmpxchg and drop vtsc_lock

 xen/arch/x86/domain.c        |  1 -
 xen/arch/x86/hvm/hvm.c       | 32 ++------------------------------
 xen/arch/x86/time.c          | 28 ++++++----------------------
 xen/include/asm-x86/domain.h |  5 -----
 4 files changed, 8 insertions(+), 58 deletions(-)

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel