Sunday, December 30, 2018

How to set up ramdisk in Linux - A very simple guide

RAMDisk is a kind of storage that uses a portion of RAM storage capacity to store files. Although the ramdisk provides a huge speed improvements over HDD and even SSDs, but the main problem is all the files inside the ramdisk will disappear when you turn off your PC or even unexpected shutdown happens. The usage of ramdisk is mainly for speeding up the caching process and also used for making video rendering process much faster.

To set up the ramdisk, you will need to create a directory in the folder /mnt/ramdisk and also set the permission to allow full access:
sudo mkdir /mnt/ramdisk
sudo chmod 777 /mnt
sudo chmod 777 /mnt/ramdisk

Then, you will need to create a new ramdisk, make sure that your PC should have at least 4GB RAM:
sudo mount -t tmpfs -o size=1GB myramdisk /mnt/ramdisk

To unmount the ramdisk, just type this command below:
sudo umount /mnt/ramdisk

Saturday, December 29, 2018

Solid State Drive (SSD): A guide between 2.5" SATA and M.2

Solid State Drives or SSD are evolving rapidly since past years. Back then, it was pretty expensive yet have shorter lifespan although it can boot your PC with such blazing speeds. Nowadays, the SSD lifespan got better and there are also some technological advancement of flash storage technology which allows people to afford it with such bargain price. In the SSD market, there are many types of SSD drives but the very common SSD drives are either from SATA interface or M.2 interface. So, let's talk about the comparison between these type of SSD drives.

What is 2.5" SATA SSD?

An example of 2.5" SATA SSD