All of lore.kernel.org
 help / color / mirror / Atom feed
* Non-exiting rdpmc on KVM guests?
@ 2015-04-21  0:47 Andy Lutomirski
  2015-04-21 15:05 ` Peter Zijlstra
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Lutomirski @ 2015-04-21  0:47 UTC (permalink / raw)
  To: Peter Zijlstra, kvm list

I just wrote a little perf self-monitoring tool that uses rdpmc to
count cycles.  Performance sucks under KVM (VMX).

How hard would it be to avoid rdpmc exits in cases where the host and
guest pmu configurations are compatible as seen by rdpmc?  I'm mostly
ignorant of how the PMU counter offsets and such work.

(Also, grr, Intel, couldn't you come up with a better interface for this?)

--Andy

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

end of thread, other threads:[~2015-04-22 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21  0:47 Non-exiting rdpmc on KVM guests? Andy Lutomirski
2015-04-21 15:05 ` Peter Zijlstra
2015-04-21 16:32   ` Paolo Bonzini
2015-04-21 20:51     ` Peter Zijlstra
2015-04-21 21:10       ` Andy Lutomirski
2015-04-22 15:26         ` Peter Zijlstra
2015-04-22 21:05       ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.