Working with large bag files

asked 2019-08-25 20:06:13 -0500

Siakovlev gravatar image

updated 2019-08-26 01:52:45 -0500

Hi,

I'm running into issues playing large rosbag files (over 50 Gb which exceeds my RAM size) consisting of several chunks using launch file.

It seems that the file is processed sequentially in chunks, and reading a single chunk from SSD takes some time (I see disk read speed jumps in htop) which is very noticeable while playing the whole file. This results in glitches every few seconds. Are there any known solutions to this?

I have tried the following:

  • Increasing queue parameter. Does not seem to have any effect
  • Change play rate rate. Did not help too.
  • cat $file >/dev/null did not help even for small files (< 20 Gb)

Setup info:

  • OS: Linux Ubuntu 16.04 LTS
  • ROS: kinetic

Thanks for your help!

EDIT: add setup info

edit retag flag offensive close merge delete