From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Seeking a KVM benchmark Date: Fri, 07 Nov 2014 08:17:54 +0100 Message-ID: <545C7222.4070605@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Andy Lutomirski , kvm list Return-path: Received: from mail-wi0-f174.google.com ([209.85.212.174]:35253 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751054AbaKGHR6 (ORCPT ); Fri, 7 Nov 2014 02:17:58 -0500 Received: by mail-wi0-f174.google.com with SMTP id d1so3636383wiv.1 for ; Thu, 06 Nov 2014 23:17:57 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 07/11/2014 07:27, Andy Lutomirski wrote: > Is there an easy benchmark that's sensitive to the time it takes to > round-trip from userspace to guest and back to userspace? I think I > may have a big speedup. The simplest is vmexit.flat from git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git Run it with "x86/run x86/vmexit.flat" and look at the inl_from_qemu benchmark. Paolo