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

Revision history [back]

click to hide/show revision 1
initial version

Rosbag isn't doing any caching to make repeated plays faster.

The operating system has an in-memory disk cache, and repeated plays are faster because some part of the file is already in the cache. This cache is shared across the whole system, so reading or writing another file could cause your bag to be evicted from cache, and of course a reboot will completely clear the cache because it's in memory.