mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: hawk@diku.dk
Cc: jdb@comx.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs)
Date: Wed, 19 Nov 2008 15:11:38 -0800 (PST)	[thread overview]
Message-ID: <20081119.151138.93409143.davem@davemloft.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0811192333130.30818@ask.diku.dk>

From: Jesper Dangaard Brouer <hawk@diku.dk>
Date: Wed, 19 Nov 2008 23:58:12 +0100 (CET)

> Well that was not the real cause of the performance loss.  Because
> on kernel 2.6.27 I get really good performance (900-1200kpps)
> compared to 2.6.28 (git net-2.6).
>
> The cause of this problem (tracked down together with Robert Olsson)
> is that on 2.6.28 I have a lot less IRQs available.  It seems max 34
> IRQs.
>
> Due the reduced number of IRQs the NIU driver cannot get enough IRQs
> to the interfaces, and starts to use "IO-APIC" based IRQs.

This is almost certainly related to the driver unload bug.

I know you ran into unbuildable/unbootable kernels during a bisect,
but you really need to track down this regression.

There were a lot of IRQ changes, especially on x86.  The sequence is
something like:

1) dyn irqs
2) APIC/IO_APIC handling integration
3) by-hand REVERT of dyn irqs, it was done by hand in order to not
   lose the #2 changes
4) interrupt remapping support


  reply	other threads:[~2008-11-19 23:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081112.014923.68124784.davem@davemloft.net>
     [not found] ` <1226487710.6834.53.camel@localhost.localdomain>
     [not found]   ` <20081112.035240.226243372.davem@davemloft.net>
     [not found]     ` <20081112.041143.11487260.davem@davemloft.net>
2008-11-12 21:31       ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter Jesper Dangaard Brouer
2008-11-12 23:10         ` Matheos Worku
     [not found]       ` <1226572171.6834.87.camel@localhost.localdomain>
     [not found]         ` <20081113.141513.116537651.davem@davemloft.net>
2008-11-19 22:58           ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs) Jesper Dangaard Brouer
2008-11-19 23:11             ` David Miller [this message]
2008-11-20 19:48               ` Regression: Bisected, IRQ and MSI allocations screwed without sparse irq Jesper Dangaard Brouer
2008-11-21  0:34                 ` Thomas Gleixner
2008-11-21 10:33                   ` Jesper Dangaard Brouer
2008-11-21 16:40                     ` Thomas Gleixner
2008-11-21 19:35                       ` Jesper Dangaard Brouer
2008-11-21 21:11                         ` Thomas Gleixner
2008-11-21 23:06                         ` David Miller

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=20081119.151138.93409143.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=hawk@diku.dk \
    --cc=jdb@comx.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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

all inboxes | Powered by JetHome®