ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

scalability of ROS

asked 2015-04-05 23:27:36 -0600

prince gravatar image

Dear Friends, I was looking for some study on scalability of ROS for multi-robot application. Has anyone conducted any study till date? I have looked to multi-master package. Any pointers to design documents will also b helpful.

Regards Prince

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-06 11:18:04 -0600

ntd gravatar image

Re number of connections: AFAIK, all roscpp's IO happens in a select loop ( ), so one thread can service many connections. The select() call, though is O(n) in the number of connections. There is a Linux specific epoll() which handles large numbers of connections more efficiently. This page discusses some general networking/scalability issues: .

Re latency: roscpp message latency is ~100us on recent Intel CPUs under Linux PREEMPT_RT. This is 10-20 times slower than direct kernel sockets and IPC. Benchmark code: Some discussion in our recent article: .

edit flag offensive delete link more


Is there a design / RFP document from ROS?

prince gravatar image prince  ( 2015-04-08 20:31:58 -0600 )edit

Question Tools

1 follower


Asked: 2015-04-05 23:27:36 -0600

Seen: 488 times

Last updated: Apr 06 '15