Re: Oops in 2.6.17.7 running multiple eth bridges

From: Stephen Hemminger
Date: Thu Aug 10 2006 - 14:26:57 EST


On Thu, 10 Aug 2006 19:34:22 +0200
"Peter M" <peter.mdk@xxxxxxxxx> wrote:

> I have built a multi bridge i386 machine with 8 eth devices which
> keeps crashing on me.
>
> Kernel 2.6.7.17
>
> I'm using a network card with 4 ports (tulip) and 4 r8169 based cards.
>
> br0: eth0 eth1
> br1: eth2 eth3
> br2: eth3 eth4
> br3: eth5 eth6
>
> Below crash came when I unplugged a cable on a running bridge. Today I
> have had two crashes without touching the cables but didn't get any
> usable syslog.
>
> I have attached a number of info files which might help.
>
> Regards
> Peter M.

Looks like you are running out of memory. You will need more memory
to be able to hold all the receive rings data, as well as data in flight.
Rough estimate:

R8169 := 4 * 256 (ringsize) * 2K
Tulip := 4 * 128 * 2K

That comes out to 3 Meg in use just being idle. Once you get going
it could easily be 3x that.

And that is for standard 1500 byte MTU. If you use large packets, you
will have problems with memory fragmentation and will probably have
to go to a bigger 64 bit machine and even more memory.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/