From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Why so many vm exits caused by ept violation Date: Mon, 08 Nov 2010 16:01:14 +0200 Message-ID: <4CD802AA.3040302@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: lidong chen Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38382 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072Ab0KHOBS (ORCPT ); Mon, 8 Nov 2010 09:01:18 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 11/08/2010 02:15 PM, lidong chen wrote: > I run my application both on xen and kvm, and I found the performance > on kvm is worse than xen. > > kvm: 2.6.32-60.el6.x86_64 redhat 6 bate 2 > xen: xen3.4.2 > > then i stat the vm exit reason, and i found the ept violation reason, > kvm is much more than xen. the static result is : > > __ratelimit: 387 callbacks suppressed > error gpa is 4273995776 > error gpa is 4273995776 > error gpa is 4273995776 > error gpa is 4273995776 > error gpa is 4273995776 fec00000, this is the IOAPIC. What workload is this? Are you using virtio? > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > __ratelimit: 387 callbacks suppressed > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > error gpa is 782336 > bf000, this is the display. What display mode are you using? is the workload display intensive? Please provide reports using $ trace-cmd record -e kvm:kvm_page_fault ^C $ trace-cmd report -- error compiling committee.c: too many arguments to function