Lost packets

Hi

I have ROS in a VM on esxi. I have a multicast feed from a vendor. the MC feed is very bursty. 99% of the time quiet. 1 heartbeat msg per sec.

I can only get 1G interface on the VM, as ROS doesn’t have the vmnex drivers :frowning:

The msg have seq numbers so I know when I have missed some.

I am finding that at random times I am missing packets. usually during a burst of traffic.

Is there any thing on ROS that I can tune, rx buffers or ???

I have looked at the interface print stats-details page and I have 0 for rx, tx dropped …

Probably those packets are dropped by any queue you might have in. If you don’t have any queue then they are dropped by the default queue of the interface. Increasing the size of the queue might help, though it will increase the latency.

so i go to
/queue
I notice they are ethernet-default queue
when i look /queue type i see

1 * name=“ethernet-default” kind=pfifo pfifo-limit=50

can i bump this ? does this affect the rx buffer for the nic ?

You can create a new queue by duplicating the “ethernet-default” and naming it as you wish. Increase the size from 50 to 100 for example and assign the created queue to the interface and see if this will help or not.

Yep I get that, but is it a software queue and does it help with the hardware queue. I am getting dropped packets into the router I believe cause the buffers are full.