All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Tim Deegan <Tim.Deegan@eu.citrix.com>,
	Paul Durrant <Paul.Durrant@citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Dont' round-robin the callback interrupt
Date: Tue, 13 Jul 2010 06:59:34 +0200	[thread overview]
Message-ID: <4C3BF2B6.4050807@ts.fujitsu.com> (raw)
In-Reply-To: <C861124F.1A721%keir.fraser@eu.citrix.com>

On 07/12/2010 07:41 PM, Keir Fraser wrote:
> On 12/07/2010 18:17, "Keir Fraser"<keir.fraser@eu.citrix.com>  wrote:
>
>>>    However, that's not the motivation for this patch. In the windows code, we
>>> only bind event channels to vcpu 0 since we cannot get callback interrupts on
>>> multiple vcpus simultaneously, since the interrupt is level sensitive. Thus
>>> round-robining is wasteful in terms of kicking certain data structures
>>> between
>>> caches (assuming a reasonably constant vcpu ->  pcpu mapping).
>>
>> Surely that argument can be made for any interrupt that is set up to
>> round-robin among multiple CPUs? Obviously in the PV drivers case the
>> event-channel IRQ is probably the only significant source of round-robin
>> interrupts. But I don't see that it's special in any other way.
>
> Further, the correct semantics for LowestPrio delivery was implemented by
> Juergen Gross at Fujitsu for a reason. Cc'ing him. I suspect he will say
> that relaxing the delivery semantics will cause something he cares about to
> break.

Thanks for CC'ing me, Keir.
Selecting different CPUs gives at least our BS2000 system a performance win of
a few percent. As Keir already said, that's the reason I implemented the LPP
delivery of interrupts.
If you really need a different interrupt delivery behaviour I would at least
recommend a per-domain parameter for violating the correct semantics using the
LPP delivery as default.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

  parent reply	other threads:[~2010-07-13  4:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 15:52 [PATCH] Dont' round-robin the callback interrupt Paul Durrant
2010-07-12 16:05 ` Keir Fraser
2010-07-12 16:16   ` Keir Fraser
2010-07-12 16:36     ` Paul Durrant
2010-07-12 17:17       ` Keir Fraser
2010-07-12 17:41         ` Keir Fraser
2010-07-12 18:29           ` Paul Durrant
2010-07-13  4:59           ` Juergen Gross [this message]
2010-07-13  8:02             ` Paul Durrant
2010-07-13  8:34               ` Keir Fraser
2010-07-12 18:33         ` Paul Durrant
  -- strict thread matches above, loose matches on Subject: below --
2010-07-12 15:41 Paul Durrant
2010-07-12 15:45 ` Paul Durrant

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=4C3BF2B6.4050807@ts.fujitsu.com \
    --to=juergen.gross@ts.fujitsu.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=Tim.Deegan@eu.citrix.com \
    --cc=keir.fraser@eu.citrix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.