public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Egbert Eich <eich@suse.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Egbert Eich <eich@suse.de>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	Jan Niggemann <jn@hz6.de>
Subject: Re: i915 irq storm mitigation in 3.10
Date: Mon, 22 Jul 2013 10:04:09 +0200	[thread overview]
Message-ID: <20972.59257.635588.597578@linux-qknr.site> (raw)
In-Reply-To: daniel@ffwll.ch wrote on Sunday, 21 July 2013 at 22:43:02 +0200

Daniel Vetter writes:
 > On Sun, Jul 21, 2013 at 10:23 PM, Jan Niggemann <jn@hz6.de> wrote:
 > >> But every time this happens we only let through a few interrupts, so this
 > >> shouldn't affect you badly. Can you please check whether those slowdowns
 > >> line up with 2 minute intervalls?
 > >
 > > I observed these slowdowns for a couple of weeks now. On my machine, they
 > > only happen once, some minutes after a cold boot.
 > > They last for a minute or two, and then they are gone.
 > > I'd have guessed that the storm detection kicks in pretty quickly after a
 > > storm is detected and that it would go unnoticed.
 > 
 > Hm, that sounds like something doesn't quite work as expected. We
 > should kill things once we get 5 interrupts or so in 1 second. So if
 > it's bad enough that it slows your machine down it really should only
 > be barely noticeable.
 > 

The logs show that the disable mechanism got triggered, so there was
a storm that got detected.
The respective message is generated by the worker, everything up to 
there (detection and marking disabled) seems to be fine.
I bet we are still getting interrupts but the respective bit in 
hpd_event_bits doesn't get set any more. Since we unconditionally 
queue the worker on interrupt there is surprise it is so busy.

Then this points to the call to hpd_irq_setup() in intel_hpd_irq_handler()
not doing what is expected, ie masking out the stormy interrupt.
Could it be that we can't mask/disable an interrupt before ACKing
it?

@Jan, could you also specify what hardware you are using (ie give us
an output of lspci -n)?


Cheers,
	Egbert.

  parent reply	other threads:[~2013-07-22  8:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06 21:41 i915 irq storm mitigation in 3.10 Jan Niggemann
2013-07-08 20:03 ` Daniel Vetter
2013-07-21 20:23   ` Jan Niggemann
2013-07-21 20:43     ` Daniel Vetter
2013-07-22  6:14       ` Jan Niggemann
2013-07-22  6:26         ` Daniel Vetter
2013-07-22  8:04       ` Egbert Eich [this message]
2013-07-22 19:28         ` Jan Niggemann
2013-07-22 20:36           ` Egbert Eich
2013-07-23  8:17             ` Daniel Vetter
2013-07-23 11:26           ` Egbert Eich
2013-07-24 20:52             ` Jan Niggemann
2013-07-25  7:50               ` Egbert Eich
2013-07-25  9:58                 ` Daniel Vetter
2013-07-25 11:18                   ` Egbert Eich
2013-07-25 21:23                   ` Jan Niggemann
2013-07-26  5:11                     ` Egbert Eich

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=20972.59257.635588.597578@linux-qknr.site \
    --to=eich@suse.com \
    --cc=daniel@ffwll.ch \
    --cc=eich@suse.de \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jn@hz6.de \
    /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