5. Now its time to check the actual size that you are getting for storing the files.
[root@kalwa2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 16G 2.2G 13G 15% /
tmpfs 1002M 276K 1002M 1% /dev/shm
/dev/sda1 291M 32M 244M 12% /boot
/dev/sr0 3.4G 3.4G 0 100% /tmp/cdrom
<span style="text-decoration: underline;"><strong>/dev/ram0 16M 140K 15M 1% /tmp/ram_disk_test</strong></span>
So here you are getting 15 M space that can be used as local HDD mount point with much faster speed.
6. Now here you can save/drop your website images or pages in different ram disks (from ram0 to ram15) so that they can accessible with faster speed.
7. Since these contents (from the mount point)are available till the system reboot to make this changes persistent across reboot add the below lines in the “/etc/rc.local” init script.
#Steps for RAM DISK format & auto mount after reboot.
mount /dev/ram0 /tmp/ram_disk_test