"When a vital process becomes drastically slow because
of disk writes, you can choose either ramfs or tmpfs file systems
for writing files to the RAM.
"Both tmpfs and ramfs mount will give you the power of fast
reading and writing files from and to the primary memory. When you
test this on a small file, you may not see a huge difference.
You’ll notice the difference only when you write large amount
of data to a file with some other processing overhead such as
network." an oldie but goodie-- ed.