iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "Alexandra N. Kossovsky" <Alexandra.Kossovsky-mK/T7fl7eHLILq5++fvS8w@public.gmane.org>
To: Joerg Roedel <joerg.roedel-5C7GfCeVMHo@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Robert Stonehouse
	<rstonehouse-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
Subject: Re: atomic context for iommu_map call
Date: Tue, 26 Jun 2012 13:08:42 +0400	[thread overview]
Message-ID: <20120626090840.GA8140@oktetlabs.ru> (raw)
In-Reply-To: <20120626085853.GX2624-5C7GfCeVMHo@public.gmane.org>

On Tue, Jun 26, 2012 at 10:58:53AM +0200, Joerg Roedel wrote:
> On Fri, Jun 22, 2012 at 03:28:14PM +0400, Alexandra N. Kossovsky wrote:
> > We use IOMMU API in OpenOnload project http://www.openonload.org/,
> > and we get better latency with Intel IOMMU because we are not
> > forced to use threaded IRQ.
> 
> Yes, the IRQ for the AMD IOMMU is threaded. But I don't understand how
> that is relevant for your latency. Can you give more details here?

We have PCI VF used for accelerated networking in OpenOnload.  This PCI
VF has an IRQ handler, which calls iommu_map.  For Intel IOMMU, we have
used non-threaded IRQ handler, and it shows pretty good latency for
network applications accelerated with OpenOnload.  When AMD IOMMU is in
use, we are forced to use threaded IRQ handler for our PCI VF; network
latency is worse.

I.e. we do not care that "IRQ for the AMD IOMMU is threaded".  We care
that we have to use threaded IRQ for our PCI VFs.

-- 
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)

  parent reply	other threads:[~2012-06-26  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 11:28 atomic context for iommu_map call Alexandra N. Kossovsky
     [not found] ` <20120622112812.GV8140-mK/T7fl7eHLILq5++fvS8w@public.gmane.org>
2012-06-25 18:35   ` Chris Wright
2012-06-26  8:58   ` Joerg Roedel
     [not found]     ` <20120626085853.GX2624-5C7GfCeVMHo@public.gmane.org>
2012-06-26  9:08       ` Alexandra N. Kossovsky [this message]
2012-06-26 18:07       ` Chris Wright
     [not found]         ` <20120626180743.GV15796-JyIX8gxvWYPr2PDY2+4mTGD2FQJk+8+b@public.gmane.org>
2012-07-09  9:42           ` Joerg Roedel

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=20120626090840.GA8140@oktetlabs.ru \
    --to=alexandra.kossovsky-mk/t7fl7ehlilq5++fvs8w@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=joerg.roedel-5C7GfCeVMHo@public.gmane.org \
    --cc=rstonehouse-s/n/eUQHGBpZroRs9YW3xA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).