Ubuntu Ramdisk

Since both the CD as my USB key have shite read performance, let alone seek .. its really a nuicanse to open – say – a movie off these.. So what other storage do I have that might solve my problems? .. ??? A ramdisk 🙂 Using the superfast Ram in your computer to store files in..

So how does this work? You need to configure it & its not so hard, but if you re using Ubuntu, you wont need to 😉

There is a standard ramdisk configured on /dev/shm ! The live cd made mine 2Gb, but thats probably not so on most machines.. My (business) laptop has 4Gb of ram, yours probably wont 😉 This can leas us to believe the standard is 1/2 of the ram size, but .. no certainty there & I have no ambition to find out!

The rules?

  • You can put whatever you want in /dev/shm
  • You can find out how big it is using ubuntu@ubuntu:~$ df -h /dev/shm
    Filesystem            Size  Used Avail Use% Mounted on
    tmpfs                 2.0G  747M  1.3G  38% /dev/shm
  • The data in the RAM disk gets cleared when the computer shuts down (or loses power) This might be considered to be The Catch! 🙂

so ; enjoy the speed & keep the catch in mind 😉

Published by Gert

Person-at-large.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: