AnsweredAssumed Answered

2010 Kernel memory fragmentation

Question asked by Aaronwu Employee on Sep 7, 2011
Latest reply on Oct 12, 2011 by Aaronwu

Hi,

After booting 2010 Kernel in our custom blackfin BF527 board , we  found out the memory was quite fragmented when compared to 2009 Kernel.  We were able to successfully start our application in in 2009 Kernel  with similar config.

On analysis we found out that  both 2009 Kernel and 2010 Kernel had  approximately same free memory but in 2009 Kernel we were able to get  two 16 MB memory chunks but in 2010 we got only one and hence the  issue.

We adapted our 2009 Kernel config files to 2010 kernel config . Is  there anything we should take special care in 2010 Kernel to avoid  fragmentation ?

Any pointers towards solving this issue would be great

 

Board- bf527

Kernel Version - 2.6.34.7-ADI-2010R1

 

More Info:

 

2009 Kernel

 

root:/> cat /proc/buddyinfo

Node 0, zone      DMA      0      0      1      0      1      0       0      0      1      2      1      1      2      0

root:/> free

              total         used         free       shared       buffers

  Mem:        59440         9184        50256            0             0

 

2010 Kernel

 

root:/> free

              total         used         free       shared       buffers

  Mem:        59416         8400        51016            0             0

root:/> cat /proc/buddyinfo

Node 0, zone      DMA      2      1      3      2      3      0       2      2      4      4      3      1      1      0

root:/>

Outcomes