* Ethernet bridge leaking memory
@ 2005-11-10 20:13 Kostja Siefen
2005-11-10 21:06 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: Kostja Siefen @ 2005-11-10 20:13 UTC (permalink / raw)
To: linux-kernel
Hi,
I have a strange problem with ethernet bridging in 2.6.13 which leads to heavy
slab allocation until memory is completely filled up.
My setup:
HP nx7000 Laptop running Kernel 2.6.13
- RTL 8139 network interface on board (module 8139too)
- PC Card Wired LAN Network Interface (module pcnet_cs)
After modprobing bridge and calling
brctl addbr br0
brctl addif br0 eth0 (RTL 8139)
brctl addif br0 eth2 (PC Card Wired LAN)
the bridge is up and running and works like a charm. Sending some traffic (1
MB/s is enough) through that bridge leads to massive kernel memory
allocation. slabtop reports, that "skbuff_head_cache" and "size-2048" eat up
all the memory (256 MB). This looks like a memory leak to me.
Even unloading the network modules does not free any memory, a reboot is
required.
Any ideas?
Yours,
Kostja
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ethernet bridge leaking memory
2005-11-10 20:13 Ethernet bridge leaking memory Kostja Siefen
@ 2005-11-10 21:06 ` Stephen Hemminger
2005-12-10 16:32 ` Ferrari (sent by Nabble.com)
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2005-11-10 21:06 UTC (permalink / raw)
To: linux-kernel
On Thu, 10 Nov 2005 21:13:27 +0100
Kostja Siefen <kostja@siefen.de> wrote:
> Hi,
>
> I have a strange problem with ethernet bridging in 2.6.13 which leads to heavy
> slab allocation until memory is completely filled up.
>
> My setup:
>
> HP nx7000 Laptop running Kernel 2.6.13
> - RTL 8139 network interface on board (module 8139too)
> - PC Card Wired LAN Network Interface (module pcnet_cs)
>
> After modprobing bridge and calling
>
> brctl addbr br0
> brctl addif br0 eth0 (RTL 8139)
> brctl addif br0 eth2 (PC Card Wired LAN)
>
> the bridge is up and running and works like a charm. Sending some traffic (1
> MB/s is enough) through that bridge leads to massive kernel memory
> allocation. slabtop reports, that "skbuff_head_cache" and "size-2048" eat up
> all the memory (256 MB). This looks like a memory leak to me.
>
> Even unloading the network modules does not free any memory, a reboot is
> required.
>
> Any ideas?
>
Could you try identifying which flow or driver is leaking?
eth0 ---> eth2
eth0 ---> br0
eth2 ---> br0
eth2 ---> eth0
br0 ---> eth0
br0 ---> eth2
Also try without bridge, it may just be a driver leak
--
Stephen Hemminger <shemminger@osdl.org>
OSDL http://developer.osdl.org/~shemminger
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-10 20:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 20:13 Ethernet bridge leaking memory Kostja Siefen
2005-11-10 21:06 ` Stephen Hemminger
2005-12-10 16:32 ` Ferrari (sent by Nabble.com)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox