xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Viridian MSRs
@ 2013-10-15 18:12 Andrew Cooper
  2013-10-15 18:12 ` [PATCH 1/2] x86/viridian: Time Reference Count MSR Andrew Cooper
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Andrew Cooper @ 2013-10-15 18:12 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Paul Durrant, Keir Fraser, Jan Beulich

This set of two patches advertises 3 constant, read-only MSRs of timing
information to a viridian capable VM.

There is an as-yet-unidentified issue when running Windows 8.1 / Server 2012r2
under Xen where it will periodically (1 in 10 attempt) appear to fall into an
idle loop rather than schedule userspace processes (such as failing to run a
login session).

I am still investigating the underlying cause.  One possibility is an
interaction of TSC time calibration interacting poorly with the Xen scheduler.

Unfortunately, attempting to divine what windows is unhappy about with its
environment is rather tricky (even a BSOD would be more useful than the
current symptoms), but providing these MSRs causes Windows to prefer rdtsc
over the HPET main counter as a source of time, and 'fixes' the above issue.

CC: Paul Durrant <paul.durrant@citrix.com>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <JBeulich@suse.com>

--
1.7.10.4

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

end of thread, other threads:[~2013-11-05 15:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 18:12 [PATCH 0/2] Viridian MSRs Andrew Cooper
2013-10-15 18:12 ` [PATCH 1/2] x86/viridian: Time Reference Count MSR Andrew Cooper
2013-11-05 15:27   ` Ian Campbell
2013-10-15 18:12 ` [PATCH 2/2] x86/viridian: TSC and APIC Frequency MSRs Andrew Cooper
2013-10-16 10:12 ` [PATCH 0/2] Viridian MSRs Jan Beulich
2013-10-16 11:05   ` Andrew Cooper
2013-10-16 11:21     ` Jan Beulich
2013-10-16 13:36       ` Andrew Cooper
2013-10-16 13:52         ` Paul Durrant
2013-10-16 13:54         ` David Vrabel
2013-11-05 15:15 ` Jan Beulich
2013-11-05 15:21   ` Paul Durrant
2013-11-05 15:28     ` Jan Beulich
2013-11-05 15:17 ` Jan Beulich
2013-11-05 15:22   ` Andrew Cooper

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).