RAM-drive or not
-
Hi,
Right now I run RAM-drive on my SG-2100, but I am wondering if I should turn that off. Are there any performance improvements when running RAM-drive compared to not using it?
Best Regards
Frode -
@frodet Not for routing. Fewer disk writes especially with heavy logging.
https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html
-
@SteveITS I have SG-2100 max with the 32 GB SSD disk. I have installed pfblockerNG package and it logs a lot I think, but it might not be too much writing...
I have tested a little bit and feel that booting without RAM-drives improves booting performance. I thought that having things in a RAM-drive would be beneficial for the performance, but if I understand you right it only helps with disk longevity.
-
@frodet At boot it has to copy files to RAM so I suppose it might be slightly slower. After that writing to RAM is faster.
With an SSD don’t worry about disk life:
https://www.netgate.com/supported-pfsense-plus-packages
-
Performance gain will only be marginal there but saving drive writes can be significant. You must have quite large drives to run with pfBlocker?
If it's running OK, not exhausting the RAM drive, then why disable it?