LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@linux.intel.com>
To: Marc Donner <donner@dbd-breitband.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cpu load balancing problem on smp
Date: Tue, 06 Feb 2007 19:09:24 +0100	[thread overview]
Message-ID: <1170785364.7324.31.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <200702061832.17771.donner@dbd-breitband.de>

On Tue, 2007-02-06 at 18:32 +0100, Marc Donner wrote:
> Hi @all
> 
> we have detected some problems on our live systems and so i have build a test 
> setup in our lab as follow:
> 
> 3 Core 2 duo servers, each with 2 CPUs,  with GE interfaces. 2 of them are 
> only for generating network traffic. the 3rd server is the one i want to 
> test. it is connected over two GE links to the other servers. the testserver 
> is configured as an ip router. running kernel 2.6.20. 
> 
> now if i  let traffic flow over the box, about 600Mbit/s and about 120k 
> packets/s all seems to be ok. the load is balanced over all cpus. if now 
> insert some iptables rules, about 500, the softirq load increases, but all 
> seems to be ok. now i insert some rules more, and suddenly 1 CPU is 100% 
> loaded and the other ones are 99% idle. the load toggles now between the cpus 
> in intervals.

I wonder if you are using irqbalance.. if not you probably want to...
(this should at least split it over 2 cpus)

see http://www.irqbalance.org to get irqbalance

  reply	other threads:[~2007-02-06 18:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 17:32 Marc Donner
2007-02-06 18:09 ` Arjan van de Ven [this message]
2007-02-06 18:41   ` Marc Donner
2007-02-06 18:42     ` Arjan van de Ven
2007-02-06 19:57       ` Pablo Sebastian Greco
2007-02-06 20:12         ` Arjan van de Ven
2007-02-06 20:52           ` Pablo Sebastian Greco
2007-02-06 23:49       ` Marc Donner
2007-02-07  5:59         ` Arjan van de Ven
2007-02-07 21:32           ` Marc Donner
2007-02-08  8:42           ` David Lang
2007-02-09 15:12             ` Marc Donner

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=1170785364.7324.31.camel@laptopd505.fenrus.org \
    --to=arjan@linux.intel.com \
    --cc=donner@dbd-breitband.de \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: cpu load balancing problem on smp' \
    /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

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).