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.

Linux/PROCESSOR-SDK-AM57X: Kernel buffer appears to be filling up faster than AM5728 can process packets?

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: AM5728

Tool/software: Linux

Hello,

I'm trying to diagnose a networking quirk with the AM572x EVM running the processor SDK.  I'm using it to receive a 40Mb stream on eth0 that is comprised purely out of UDP packets.  These packets are sent directly from the sender device to the EVM, with the EVM's MAC and IP address pre-programmed into the packet.  The packets are uniformly MTU size, and sent periodically.

I am noticing a significant drop rate, even after expanding the UDP receive queue memory buffer size to (what would seem like a massive) 12MB.  However, that only resulted in delaying the packet buffer overflow.  I drop about one in every 10 packets.  With the SDK's default UDP receive buffer size, it's 1/6.

Considering the EVM is rated for gigabit ethernet, is there a specific reason why I can't reliably handle 40Mb?  At first I thought it had to do with the gstreamer implementation we're using with the data stream, but even just recording the raw packet dumps with a series of recvfrom() calls, it's very clear that the packet drop rate is significant.

Thank you,

Tom