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

can we efficiently use ros in ubuntu, installed in flash drive ?

asked 2017-02-04 22:31:19 -0500

rishabh4011 gravatar image

updated 2017-02-05 06:54:44 -0500

gvdhoorn gravatar image

hello , can we efficiently use ros in ubuntu, installed in flash drive ? i installed it using virtual box but it's slow in that so i want to find a better alternative so can we use it in flash drive installed ubuntu efficiently.

edit retag flag offensive close merge delete

Comments

I did the same but didn't work out that well. Ubuntun reported "ran out of virtual memory" each time I tried to install heavier packagaes - openCV, etc. Instead, create a partition and dual boot Ubuntu.

pallavbakshi gravatar image pallavbakshi  ( 2017-02-05 03:11:23 -0500 )edit

thanks.....

rishabh4011 gravatar image rishabh4011  ( 2017-02-05 03:17:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-05 04:17:32 -0500

gvdhoorn gravatar image

Yes, that is definitely possible.

Two things to keep in mind if you want to do this:

  1. use a usb stick / flash drive with good read/write performance: some of the more recent USB3 sticks reach (sequential) read speeds of everal tens of MB/sec and have low access latencies. Both are important.
  2. use a sufficiently large drive: depending on what you are going to do, packages can take up quite some space, even without considering some of the requirements for data storage (ie: maps, rosbags, etc). This is the same with a regular hdd/sdd, but definitely something to keep in mind.

And it might not be too much of a problem (anymore, or you just don't care), but all flash media have a limited nr of write-cycles. Running an OS (with /tmp and potentially swap space) on a flash drive is a good way to exhaust those quickly (wear levelling will help significantly though).

edit flag offensive delete link more

Comments

1

As a companion comment,when running ROS + Ubuntu on a Raspberry Pi the SD card is not different than a USB memory stick. As long as the solid state memory storage is fast, it works well. Running with RAM based temp storage makes a significant improvement.

suforeman gravatar image suforeman  ( 2017-02-05 07:39:21 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-04 22:31:19 -0500

Seen: 646 times

Last updated: Feb 05 '17