I’m developing a zero-copy solution for several LiDAR systems on Orin NX, based on AF_PACKET + TPACKET_V3 / PACKET_MMAP. However, I’m encountering a problem: under heavy load, the kernel stops filling the ring buffer. All buffers in the ring are in the USER state, preventing the kernel from filling them, and it won’t fill them again. Even if user space recovers, the LiDAR stops receiving data. Furthermore, I can’t close the stall ring, as this will cause a crash.
Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.
If this was an incorrect assessment, please send me a direct message.
Disclaimer: this moderation suggestion and message were generated with AI assistance.