Nano ignore multicast

Discussion to talk about software related topics only.
Post Reply
chourizo
Posts: 16
Joined: Tue Apr 07, 2015 8:00 pm

Nano ignore multicast

Post 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.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Nano ignore multicast

Post 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...
chourizo
Posts: 16
Joined: Tue Apr 07, 2015 8:00 pm

Re: Nano ignore multicast

Post 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.
Post Reply