xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Andre Przywara <andre.przywara@amd.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] x86/hvm: accelerate IO intercept handling
Date: Fri, 05 Mar 2010 14:52:02 +0000	[thread overview]
Message-ID: <C7B6CB12.C524%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <4B91170A.2060601@amd.com>

On 05/03/2010 14:36, "Andre Przywara" <andre.przywara@amd.com> wrote:

> I simply boot tested both versions and ran some simple benchmarks.
> A micro benchmark (hammering an I/O port in a tight loop) shows a
> significant performance improvement (down to 66% of the time needed to
> handle the intercept on a K8, measured in the guest with TSC).
> Even with reading a 1GB file from an emulated IDE harddisk (Dom0 cached)
> I could get a  4-5% improvement.
> We found some guests (e.g. the TCP stack in some Windows version) which
> exercise the PM-Timer I/O port (0x1F48) very often (multiple 10,000
> times per second), these workloads also benefit from this patch.

By how much? I mean, the microbenchmark and 5% speedup on our poor-man's IO
path are not very interesting. Unless the speedup on the only
possibly-interesting workload you mention is significant, this whole
optimisation seems unnecessary.

 -- Keir

  reply	other threads:[~2010-03-05 14:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 14:36 [PATCH] x86/hvm: accelerate IO intercept handling Andre Przywara
2010-03-05 14:52 ` Keir Fraser [this message]
2010-03-05 15:49   ` Andre Przywara
2010-03-05 15:55     ` Keir Fraser

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=C7B6CB12.C524%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=andre.przywara@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /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;
as well as URLs for NNTP newsgroup(s).