This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK Global Buffer Configuration



hi:

 I  am using NDK on C6678, my NDK version is ndk_2_21_01_38, and I find that the  NDK Global Buffer Configuration   has a buff,here is the picture:

and in the cfg file, the  .far:NDK_PACKETMEM is in L2SRAM, and the section's size is about 300KB, for my project, it's too large, Can I smaller the Number of frames in the Ndk CFG above.

Regards,

Si

 

  • Si,

    You can decrease this number, but be aware that: "The number of buffers in the free pool can have a significant effect on performance, especially in UDP packet loss.", commented from ndk_2_21_02_43\packages\ti\ndk\stack\pbm\pbm_data.c.

    Another way is to move this data section to MSMC or DDR3, but this expects some performance degradaion as well, as L2 is faster memory.

    Regards, Eric