Ram Disk

General eFa discussion
Post Reply
drewmorris
Posts: 35
Joined: 13 Aug 2014 18:16

Ram Disk

Post by drewmorris »

Has any consideration been given to adding an option to EFA to support the creation of a ram disk for faster processing?
User avatar
pdwalker
Posts: 1583
Joined: 18 Mar 2015 09:16

Re: Ram Disk

Post by pdwalker »

Are you having disk performance problems with your current workload? Or are you just looking to use RAM disks because they are kinda cool?

Have you considered using flash drives instead?
User avatar
darky83
Site Admin
Posts: 541
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Ram Disk

Post by darky83 »

/var/spool/MailScanner/incoming already is an ram disk.

Using tmpfs for any other directory's is not worth it.
For 'non' temporary directory's you will need to write something that backups the data and restores the data at boot time.
This is just to much trouble, and looking at the speed of SSD drives it is in my opinion a bit useless to spend any time on it.

An single SSD can do 1000+ iops easily, put them in a raid enclosure and you can get fast enough storage.
On the systems I run that use SSD only the CPU power is the bottleneck for the whole system not disk IO.

(even on my systems that use conventional 10k drives with 2x 256GB ssd as cache the CPU is the bottleneck)
Version eFa 5.x now available!
drewmorris
Posts: 35
Joined: 13 Aug 2014 18:16

Re: Ram Disk

Post by drewmorris »

I actually was unaware that the incoming directory for MailScanner was already a ram disk which was really what my suggestion was all about.
drewmorris
Posts: 35
Joined: 13 Aug 2014 18:16

Re: Ram Disk

Post by drewmorris »

One other question about ram disk... does Clamd use it to unpack as well? Using a ramdisk for Clamd seems like a good idea as well.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Ram Disk

Post by shawniverson »

drewmorris wrote:One other question about ram disk... does Clamd use it to unpack as well? Using a ramdisk for Clamd seems like a good idea as well.
Yes
Post Reply