Page 1 of 1

Ram Disk

Posted: 26 May 2015 15:52
by drewmorris
Has any consideration been given to adding an option to EFA to support the creation of a ram disk for faster processing?

Re: Ram Disk

Posted: 26 May 2015 16:14
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?

Re: Ram Disk

Posted: 26 May 2015 16:45
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)

Re: Ram Disk

Posted: 27 May 2015 14:26
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.

Re: Ram Disk

Posted: 28 May 2015 17:16
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.

Re: Ram Disk

Posted: 28 May 2015 20:20
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