From: Arjan van de Ven <arjan@linux.intel.com>
To: Jan Kasprzak <kas@fi.muni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IRQ balancing on a router
Date: Fri, 03 Oct 2008 08:22:29 -0700 [thread overview]
Message-ID: <48E638B5.9040204@linux.intel.com> (raw)
In-Reply-To: <20081003145737.GQ16624@fi.muni.cz>
Jan Kasprzak wrote:
> Arjan van de Ven wrote:
> : Jan Kasprzak <kas@fi.muni.cz> wrote:
> : > The result is
> : > that the CPU which receives IRQs for the uplink interface
> : > is 100 % busy (softirq mostly), while the other one is 90% idle.
> :
> : one of the hard cases for irqbalance is that irqbalance doesn't have a
> : way to find out the actual cpu time spend in the handlers. For
> : networking it makes an estimate just based on the number of packets
> : (which is better than nothing)... but that breaks down if you have an
> : non-symmetry in CPU costs per packet like you have.
> :
> : The good news is that irqthreads at least have the potential to solve
> : this "lack of information"; if not, we could consider doing a form of
> : microaccounting for irq handlers....
>
> I am not sure whether this would help. In my case, the most of the
> in-kernel CPU time is not spend in the irq handler per se, but in softirq
> (i.e. checking the packet against iptables rules).
there is some consideration of making softirqs that are raised run as part of the irq thread.
or at least thoughts in that direction.
next prev parent reply other threads:[~2008-10-03 15:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 13:21 IRQ balancing on a router Jan Kasprzak
2008-10-03 13:38 ` Arjan van de Ven
2008-10-03 14:29 ` Jason Baron
2008-10-03 15:05 ` Arjan van de Ven
2008-10-03 14:57 ` Jan Kasprzak
2008-10-03 15:22 ` Arjan van de Ven [this message]
2008-10-07 10:29 ` Peter Zijlstra
2008-10-07 15:00 ` Nick Piggin
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=48E638B5.9040204@linux.intel.com \
--to=arjan@linux.intel.com \
--cc=kas@fi.muni.cz \
--cc=linux-kernel@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