Are you one of the happy few to own a machine with too much RAM and have Ubuntu/Debian installed? Then you might consider use some of that memory to use it to change it to RAM drive. Sometimes it might be useful to decompress files or other file-operations wich can be time consuming on slower disks.

Here's what to do:

sudo -s
create a dir called /tmp/ramdisk
mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk

mount -t tmpfs -o size=4096M tmpfs /tmp/ramdisk/


Happy RAMDisking! :-)
 
Advertisements