ros_comm icon indicating copy to clipboard operation
ros_comm copied to clipboard

The publish() function has been executed but sock_sendmsg() was not been called until after 100ms

Open littlebr369 opened this issue 1 year ago • 0 comments

We have two chips communicating with each other, one is nvidia's xavier and the other is an intel chip. The xaiver chip sends a message to the intel chip through ros, and the frequency is 100hz.

But occasionally, no message can be sent within 100ms. We have accurately located the publish() function of ros already executed but not the sock_sendmsg() function in kernel. After 100ms, 10 stacked messages will be sent meanwhile sock_sendmsg() will execute 10 times.

I noticed that poll_set_ has an .update(100) with a cycle of 100ms. Does this have anything to do with the problem? What are the possibilities about this problem?

littlebr369 avatar Aug 31 '23 08:08 littlebr369