Unusual memory usage with kernel 4.4.x & 4.9.x on i.MX28 EVK

cancel
Showing results for 
Search instead for 
Did you mean: 

Unusual memory usage with kernel 4.4.x & 4.9.x on i.MX28 EVK

444 Views
bachehkaraji
Contributor I

I've been trying to fix an unusual memory usage on i.MX28 EVK with the 4.4.x or 4.9.x kernel. The problem shows itself when i activate the eth interface, the used memory on the EVK increases slowly but constantly to reach to around 25Mbytes!

The memory usage is fine with the 3.16.x Kernel... is at about 18Mbytes.

I can't find anything with an unusual memory usage...

I am compiling my own kernel from kernel.org sources...

Has anyone else seen this? Is this a generic Linux bug or is it a ethernet specific bug? Any good ideas on how to fix this before I start digging into the code?

Labels (2)
0 Kudos
4 Replies

230 Views
lategoodbye
Senior Contributor I

Please provide more detailed information to reproduce it.

How do you get the memory usage?

What is the network setup (i assume your EVK is really connected to network)?

Which kernel config do you use (mxs_defconfig)?

How long does it take to reach the 25 MB?

Did you try to enable CONFIG_DEBUG_KMEMLEAK in kernel?

0 Kudos

230 Views
bachehkaraji
Contributor I

Free, Top, ...

YES, the device is connected to network via switch.

The memory usage increases from 17M to 26M at about 30 minutes.

I use  tx28_defconfig for TX28 KaRo CoM

I don't enable this option.

 

0 Kudos

230 Views
lategoodbye
Senior Contributor I

The tx28_defconfig isn't part of mainline linux. Are you sure about using a mainline kernel?

Do you plan to enable CONFIG_DEBUG_KMEMLEAK ?

0 Kudos

230 Views
bachehkaraji
Contributor I
0 Kudos