xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Geiger <tobias.geiger@vido.info>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Jan Beulich <JBeulich@suse.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: Degregated I/O Performance since 3.4 - Regression in 3.4?
Date: Wed, 25 Apr 2012 17:03:02 +0200	[thread overview]
Message-ID: <201204251703.02497.tobias.geiger@vido.info> (raw)
In-Reply-To: <alpine.DEB.2.00.1204251605140.26786@kaball-desktop>

Am Mittwoch, 25. April 2012, 17:05:26 schrieb Stefano Stabellini:
> On Wed, 25 Apr 2012, Tobias Geiger wrote:
> > Am Mittwoch, 25. April 2012, 15:44:44 schrieb Stefano Stabellini:
> > > On Wed, 25 Apr 2012, Tobias Geiger wrote:
> > > > Hi,
> > > > 
> > > > 9846ff10 was it!
> > > > after reverting it, performance returned to normal.
> > > 
> > > Argh, that is one of my commits, and is supposed to be a performance
> > > improvement!
> > > 
> > > I couldn't reproduce the regression you are seeing but the patch is
> > > pretty simple, so just by reading it again I think I manage to spot a
> > > possible error. Could you please try again with the appended patch?
> > > 
> > > 
> > > 
> > > diff --git a/drivers/xen/events.c b/drivers/xen/events.c
> > > index 4b33acd..0a8a17c 100644
> > > --- a/drivers/xen/events.c
> > > +++ b/drivers/xen/events.c
> > > @@ -274,7 +274,7 @@ static unsigned int cpu_from_evtchn(unsigned int
> > > evtchn)
> > > 
> > >  static bool pirq_check_eoi_map(unsigned irq)
> > >  {
> > > 
> > > -	return test_bit(irq, pirq_eoi_map);
> > > +	return test_bit(pirq_from_irq(irq), pirq_eoi_map);
> > > 
> > >  }
> > >  
> > >  static bool pirq_needs_eoi_flag(unsigned irq)
> > 
> > Looks good;
> > 
> > I applied it to 3.4.0-rc4 and the performance went to normal again.
> 
> I'll add your tested-by if it is OK for you

of course - thanks!

      reply	other threads:[~2012-04-25 15:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23 10:02 Degregated I/O Performance since 3.4 - Regression in 3.4? Tobias Geiger
2012-04-23 11:53 ` Stefano Stabellini
2012-04-23 15:24   ` Konrad Rzeszutek Wilk
2012-04-23 20:53     ` Tobias Geiger
2012-04-24  7:27       ` Jan Beulich
2012-04-24 12:09         ` Tobias Geiger
2012-04-24 12:52           ` Stefano Stabellini
2012-04-24 14:07             ` Tobias Geiger
2012-04-24 14:16               ` Stefano Stabellini
2012-04-24 16:30               ` Konrad Rzeszutek Wilk
2012-04-24 23:21                 ` Tobias Geiger
2012-04-25 13:44                   ` Stefano Stabellini
2012-04-25 13:57                     ` Tobias Geiger
2012-04-25 15:05                       ` Stefano Stabellini
2012-04-25 15:03                         ` Tobias Geiger [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=201204251703.02497.tobias.geiger@vido.info \
    --to=tobias.geiger@vido.info \
    --cc=JBeulich@suse.com \
    --cc=konrad.wilk@oracle.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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).