hi there
i have some problems with using fec device on my custom 8250 board
while sending a lot of data (at least 300MB) through this device causes
lack of memory
sending same amount of data through loopback works fine
i'm using 2.4.19 kernel
any idea?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Wojciech Kromer <hidden> Date: 2003-12-04 08:45:53
Użytkownik Kromer napisał:
hi there
i have some problems with using fec device on my custom 8250 board
while sending a lot of data (at least 300MB) through this device causes
lack of memory
sending same amount of data through loopback works fine
i'm using 2.4.19 kernel
any idea?
cached memory keeps growing slowly, and free is going down same way,
after putting ~300MB ftp data (from 8250 board to another host), VM
starts killing some applications
same situation is with latest linuxppc_2_4_devel kernel from denx.de,
but there is additional information from kernel
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<4>VM: killing process sshd
what's wrong ???
--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * * mailto:krom@dgt-lab.com.pl
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
On Thu, Dec 04, 2003 at 09:45:53AM +0100, Wojciech Kromer wrote:
quoted
i have some problems with using fec device on my custom 8250 board
while sending a lot of data (at least 300MB) through this device causes
lack of memory
sending same amount of data through loopback works fine
i'm using 2.4.19 kernel
any idea?
cached memory keeps growing slowly, and free is going down same way,
after putting ~300MB ftp data (from 8250 board to another host), VM
starts killing some applications
same situation is with latest linuxppc_2_4_devel kernel from denx.de,
but there is additional information from kernel
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<4>VM: killing process sshd
what's wrong ???
It means that this box is really out of memory.
Could you provide output from utility called 'free' and from file
/proc/slabinfo at two points of time: 1) when you just booted your
boax and 2) just before it starts failing.
Thanks,
Eugene.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Wojciech Kromer <hidden> Date: 2003-12-04 09:45:54
Użytkownik Eugene Surovegin napisał:
On Thu, Dec 04, 2003 at 09:45:53AM +0100, Wojciech Kromer wrote:
quoted
quoted
i have some problems with using fec device on my custom 8250 board
while sending a lot of data (at least 300MB) through this device causes
lack of memory
sending same amount of data through loopback works fine
i'm using 2.4.19 kernel
any idea?
cached memory keeps growing slowly, and free is going down same way,
after putting ~300MB ftp data (from 8250 board to another host), VM
starts killing some applications
same situation is with latest linuxppc_2_4_devel kernel from denx.de,
but there is additional information from kernel
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
<4>VM: killing process sshd
what's wrong ???
It means that this box is really out of memory.
sure, but _why_? thre are no memory consuption processes,
i've just run ftp-put from this box to another machine
Could you provide output from utility called 'free' and from file
/proc/slabinfo at two points of time: 1) when you just booted your
boax and 2) just before it starts failing.
On Thu, Dec 04, 2003 at 10:45:54AM +0100, Wojciech Kromer wrote:
quoted
quoted
quoted
i have some problems with using fec device on my custom 8250 board
while sending a lot of data (at least 300MB) through this device causes
lack of memory
sending same amount of data through loopback works fine
[snip]
==== at begining =========================================
skbuff_head_cache 131 192 160 8 8 1
size-2048 5 178 2048 3 89 1
===after some time (ftp put ~75MB) ================================
skbuff_head_cache 16857 16872 160 703 703 1
size-2048 16749 16798 2048 8382 8399 1
It looks like skb leaks in the driver. Probably in TX path.
Could you send me by private e-mail source code for ethernet driver in
question or provide a URL.
I'm not a 8250 guy, but I'll try to look at it :)
Eugene.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/