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

scalability of ROS

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

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
0

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

ntd gravatar image

Re number of connections: AFAIK, all roscpp's IO happens in a select loop ( https://github.com/ros/ros_comm/blob/... ), 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: http://www.kegel.com/c10k.html .

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: https://github.com/ndantam/ipcbench Some discussion in our recent article: http://dx.doi.org/10.1109/MRA.2014.23... .

edit flag offensive delete link more

Comments

Is there a design / RFP document from ROS?

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

Question Tools

1 follower

Stats

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

Seen: 496 times

Last updated: Apr 06 '15