SSD: TRIM yes or no / SWAP yes or no ?
-
Dear pfSense Gurus!
What is FreeBSD’s better settings for pfSense+ (10Gb total ingress/egress) on bare metal server with hardware RAID10 (2 x RAID1 in 1 stripe RAID0):
- TRIM yes or no;
- SWAP yes or no;
?
And how impact turning on “Read Ahead” and “Turn Off Drive Cache” options in the hardware RAID controller in this case of using SSDs:
is the cache on RAID controller speed up a little bit access to SSDs, or make only drawbacks because of concurrecy&chaos between SSD’s FreeBSD 14/15 driver for ZFS and SSDs logic, SSD’s internal controller logic and hardware RAID’s controller logic?Search on this user forum give only 18 (!) results and most of them are from 2015-2018 years!
Totally madness and archaic! Because SSD already used in high-loading more than 10 years!!!Thank You and have a nice day!
P.S.
Is the useful for fresh pfSense+ 2.8.0 making a separate file system (and pool, if using ZFS) to isolate the logs, just so full logs could not compromise the operating system.? -
Trim: yes, SWAP: no IMO.