public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Joerg Roedel <joerg.roedel@amd.com>
Cc: Avi Kivity <avi@redhat.com>,
	kvm@vger.kernel.org, Alexander Graf <agraf@suse.de>
Subject: Re: [PATCH 0/2] unit-tests: Add tests to measure svm instruction latencys
Date: Mon, 20 Sep 2010 15:05:00 -0300	[thread overview]
Message-ID: <20100920180500.GA27404@amt.cnet> (raw)
In-Reply-To: <1284904611-2458-1-git-send-email-joerg.roedel@amd.com>

On Sun, Sep 19, 2010 at 03:56:49PM +0200, Joerg Roedel wrote:
> Hi,
> 
> here are two patches for the svm unit-test framework that measure the
> latency of the emulated vmrun, vmload, and vmsave instructions as well
> as the latency of emulated vmexits.
> 
> On my Phenom II X6 1090T running in P0 it produces output like this:
> 
>     Latency VMRUN : max: 140956 min: 6770 avg: 6819
>     Latency VMEXIT: max: 141042 min: 7475 avg: 7575
> latency_run_exit: PASS
>     Latency VMLOAD: max: 23248 min: 1915 avg: 1925
>     Latency VMSAVE: max: 130888 min: 1917 avg: 1955
> latency_load_save: PASS
> 
> These two tests report the tsc-cycles between events. Each latency is
> measured one million times (which explains the large -max values).
> 
> 	Joerg

Applied, thanks. 


      parent reply	other threads:[~2010-09-20 19:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19 13:56 [PATCH 0/2] unit-tests: Add tests to measure svm instruction latencys Joerg Roedel
2010-09-19 13:56 ` [PATCH 1/2] svm: Add VMRUN/VMEXIT latency test Joerg Roedel
2010-09-19 13:56 ` [PATCH 2/2] svm: Add VMLOAD/VMSAVE " Joerg Roedel
2010-09-19 15:07   ` Roedel, Joerg
2010-09-20 18:05 ` Marcelo Tosatti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100920180500.GA27404@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=agraf@suse.de \
    --cc=avi@redhat.com \
    --cc=joerg.roedel@amd.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox