Page 1 of 1
Nano ignore multicast
Posted: Sun Apr 12, 2015 9:27 am
by chourizo
I have several nanos living in a very busy network, with HD video over multicast in the same (unmanaged) switch.
When I enable the multicast streams, the nanos freeze after a couple minutes. Is there any way to make them more robust against that, or to ignore multicast packets?
Thanks.
Re: Nano ignore multicast
Posted: Sun Apr 12, 2015 12:55 pm
by pbreed
Are you registering a FIFO to read this multicast data?
If so you MUST read the incoming packets off the FIFO or you will use up all the packet memory...
Re: Nano ignore multicast
Posted: Sun Apr 12, 2015 2:37 pm
by chourizo
Yes, I did have a FIFO but I was not listening to the multicast port.
I think I found the problem. The UDP multicast was in a low priority NIC of the computer the same that I use to talk with the nanos. Increasing the priority and the metrics of the NIC solved the problem.
My theory is that as it was a low priority NIC receiving a big amount of data it accumulated packets and sent them to the nanos in "streams" overflooding the buffers. The only way to get them back was cycling power.
Anyway, I hope that helps somebody else with a similar problem.
Any opinion will be welcomed.