Ask Your Question
0

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

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

rishabh4011 gravatar image

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

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 imagepallavbakshi ( 2017-02-05 03:11:23 -0600 )edit

thanks.....

rishabh4011 gravatar imagerishabh4011 ( 2017-02-05 03:17:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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 imagesuforeman ( 2017-02-05 07:39:21 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 214 times

Last updated: Feb 05 '17