xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* heavy P2M lock contention on guest HPET counter reads
@ 2014-07-30 10:08 Jan Beulich
  2014-07-30 10:29 ` Andrew Cooper
  2014-07-30 14:22 ` Jan Beulich
  0 siblings, 2 replies; 9+ messages in thread
From: Jan Beulich @ 2014-07-30 10:08 UTC (permalink / raw)
  To: Andres Lagar-Cavilla, Tim Deegan; +Cc: xen-devel

Hi,

with 40+ vCPU Win2012R2 guests we're observing apparent guest live
locks. The 'd' debug key reveals more than half of the vCPU-s doing an
inlined HPET main counter read from KeQueryPerformanceCounter(),
resulting in all of them racing for the lock at the beginning of
__get_gfn_type_access(). Assuming it is really necessary to always
take the write lock (rather than just the read one) here, would it perhaps
be reasonable to introduce a bypass in hvm_hap_nested_page_fault()
for the HPET page similar to the LAPIC one?

Thanks, Jan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-08  2:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 10:08 heavy P2M lock contention on guest HPET counter reads Jan Beulich
2014-07-30 10:29 ` Andrew Cooper
2014-07-30 10:46   ` Jan Beulich
2014-07-30 14:22 ` Jan Beulich
2014-07-30 18:15   ` Andres Lagar Cavilla
2014-08-01  6:38     ` Jan Beulich
2014-08-02  2:33       ` Andres Lagar Cavilla
2014-08-04  7:00         ` Jan Beulich
2014-08-08  2:46           ` Andres Lagar Cavilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).