qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] KVM VMenter/exit cost
@ 2011-10-19 23:07 Xin Tong
  2011-10-20  7:55 ` 陳韋任
  2012-07-05  8:51 ` chenwj
  0 siblings, 2 replies; 5+ messages in thread
From: Xin Tong @ 2011-10-19 23:07 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

Currently, when amd svm or intel vmx is used to run the guest os natively on
the chip, a kernel enter and vmenter are needed, and when the guest os
executes a trapping instruction, a vmexit and kernel exit is incurred. I
would like to know the latest estimate of the cost of VMEnter/VMExit on the
Intel or AMD x86 chip and kernel enter/exit on 2.6.x linux.  Any paper or
presentation on it would be great.


Thanks


Xin

[-- Attachment #2: Type: text/html, Size: 447 bytes --]

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

* Re: [Qemu-devel] KVM VMenter/exit cost
  2011-10-19 23:07 [Qemu-devel] KVM VMenter/exit cost Xin Tong
@ 2011-10-20  7:55 ` 陳韋任
  2012-07-05  8:51 ` chenwj
  1 sibling, 0 replies; 5+ messages in thread
From: 陳韋任 @ 2011-10-20  7:55 UTC (permalink / raw)
  To: Xin Tong; +Cc: qemu-devel

> Currently, when amd svm or intel vmx is used to run the guest os natively on
> the chip, a kernel enter and vmenter are needed, and when the guest os
> executes a trapping instruction, a vmexit and kernel exit is incurred. I
> would like to know the latest estimate of the cost of VMEnter/VMExit on the
> Intel or AMD x86 chip and kernel enter/exit on 2.6.x linux.  Any paper or
> presentation on it would be great.

  Try KVM mailing list instead?
  http://www.linux-kvm.org/page/Lists,_IRC

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667

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

* [Qemu-devel]  KVM VMenter/exit cost
  2011-10-19 23:07 [Qemu-devel] KVM VMenter/exit cost Xin Tong
  2011-10-20  7:55 ` 陳韋任
@ 2012-07-05  8:51 ` chenwj
  2012-07-06 19:35   ` Xin Tong
  1 sibling, 1 reply; 5+ messages in thread
From: chenwj @ 2012-07-05  8:51 UTC (permalink / raw)
  To: xerox.time.tech; +Cc: qemu-devel

Hi Xin Tong,

  Do you get any estimation on that?

Regards,
chenwj

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

* Re: [Qemu-devel] KVM VMenter/exit cost
  2012-07-05  8:51 ` chenwj
@ 2012-07-06 19:35   ` Xin Tong
  2012-07-07 12:49     ` 陳韋任 (Wei-Ren Chen)
  0 siblings, 1 reply; 5+ messages in thread
From: Xin Tong @ 2012-07-06 19:35 UTC (permalink / raw)
  To: chenwj; +Cc: qemu-devel

yes, there is a measurement published in KVM conference.

http://www.linux-kvm.org/wiki/images/e/ea/2010-forum-mtosatti_walkthrough_entry_exit.pdf

Xin


On Thu, Jul 5, 2012 at 4:51 AM,  <chenwj@iis.sinica.edu.tw> wrote:
> Hi Xin Tong,
>
>   Do you get any estimation on that?
>
> Regards,
> chenwj
>

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

* Re: [Qemu-devel] KVM VMenter/exit cost
  2012-07-06 19:35   ` Xin Tong
@ 2012-07-07 12:49     ` 陳韋任 (Wei-Ren Chen)
  0 siblings, 0 replies; 5+ messages in thread
From: 陳韋任 (Wei-Ren Chen) @ 2012-07-07 12:49 UTC (permalink / raw)
  To: Xin Tong; +Cc: qemu-devel, chenwj

On Fri, Jul 06, 2012 at 03:35:05PM -0400, Xin Tong wrote:
> yes, there is a measurement published in KVM conference.
> 
> http://www.linux-kvm.org/wiki/images/e/ea/2010-forum-mtosatti_walkthrough_entry_exit.pdf

  I also found VMWare has result on VMEnrt/VMExit cost.
  http://labs.vmware.com/download/139/

  The cost is quite high, ~800 cycles.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

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

end of thread, other threads:[~2012-07-07 12:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 23:07 [Qemu-devel] KVM VMenter/exit cost Xin Tong
2011-10-20  7:55 ` 陳韋任
2012-07-05  8:51 ` chenwj
2012-07-06 19:35   ` Xin Tong
2012-07-07 12:49     ` 陳韋任 (Wei-Ren Chen)

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