qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] invtsc + migration + TSC scaling
@ 2016-10-14 21:20 Eduardo Habkost
  2016-10-17  9:47 ` Marcelo Tosatti
  0 siblings, 1 reply; 20+ messages in thread
From: Eduardo Habkost @ 2016-10-14 21:20 UTC (permalink / raw)
  To: qemu-devel, kvm; +Cc: Marcelo Tosatti, Paolo Bonzini

I have been wondering: should we allow live migration with the
invtsc flag enabled, if TSC scaling is available on the
destination?

For reference, this is what the Intel SDM says about invtsc:

  The time stamp counter in newer processors may support an
  enhancement, referred to as invariant TSC. Processor’s support
  for invariant TSC is indicated by CPUID.80000007H:EDX[8].

  The invariant TSC will run at a constant rate in all ACPI P-,
  C-. and T-states. This is the architectural behavior moving
  forward. On processors with invariant TSC support, the OS may
  use the TSC for wall clock timer services (instead of ACPI or
  HPET timers). TSC reads are much more efficient and do not
  incur the overhead associated with a ring transition or access
  to a platform resource.

-- 
Eduardo

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

end of thread, other threads:[~2016-10-19 17:42 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14 21:20 [Qemu-devel] invtsc + migration + TSC scaling Eduardo Habkost
2016-10-17  9:47 ` Marcelo Tosatti
2016-10-17 14:50   ` Radim Krčmář
2016-10-17 16:24     ` Paolo Bonzini
2016-10-17 21:11       ` Eduardo Habkost
2016-10-17 23:58         ` Marcelo Tosatti
2016-10-18 13:41           ` Paolo Bonzini
2016-10-18 17:09             ` Marcelo Tosatti
2016-10-18 20:52               ` Radim Krčmář
2016-10-18 21:05                 ` Eduardo Habkost
2016-10-19 13:27                   ` Radim Krčmář
2016-10-19 13:55                     ` Eduardo Habkost
2016-10-19 15:42                       ` Radim Krčmář
2016-10-19 17:42                         ` Eduardo Habkost
2016-10-18 13:48           ` Radim Krčmář
2016-10-18 13:36       ` Radim Krčmář
2016-10-18 13:38         ` Radim Krčmář
2016-10-17 17:20     ` Marcelo Tosatti
2016-10-18 13:27       ` Radim Krčmář
2016-10-18  9:04     ` Dr. David Alan Gilbert

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