Wednesday, July 16, 2014


RAM DISK

We can use a RAM disk to speed up the IO in a system. Basically we are using extra physical memory and turn it into a disk. And move IO intensive or temp file over to the newly created RAM disk. This will help to speed things up. Caution though the files in Ram disk is volatile meaning upon reboot or loss of power or OS crash, all the files stored there will not be persistent, ie. lost.

To create a RAM disk in MAC.

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://8388608`


No comments: