I’m setting up a new server with the following ZFS-based storage tiers:
- Base Storage: RAID-Z2 with 6 x 1TB SAS drives (~4TB usable).
- SSD Storage: ZFS Mirror with 2 x 1TB SSDs (~1TB usable).
- NVMe Drives: 2 x 500GB NVMe.
The server has 384GB of RAM, but I’ll only be using around 128GB for the system and applications, leaving plenty available for ARC caching.
This server will host around 100 cPanel accounts, mostly WordPress sites, averaging 10GB each so far. It is very important for me to optimize website performance to achieve higher scores on Google PageSpeed Insights, as this is critical for my marketing and SEO objectives.
Here’s my current plan:
- Store website files (static content, logs, etc.) on the base storage. Write speed isn’t critical.
- Place database files on the SSD storage to leverage its redundancy and faster read/write performance compared to the base storage.
- Use the NVMe drives exclusively for read caching (L2ARC), as replacing them requires powering down the server, which I want to avoid.
Given the high amount of unused RAM available for ARC caching, I’m questioning whether it’s worth using the NVMe drives for read cache (L2ARC), or if I should reserve them for other potential critical scenarios.
My Questions:
- Should I use the NVMe drives to add read cache (L2ARC) for the base storage, the SSD storage, or both?
- With so much RAM available for ARC caching, is L2ARC with NVMe worth the additional complexity and potential wear on the drives?
- Would saving the NVMe drives for critical scenarios or future needs be a better choice?
- Does this overall setup make sense for hosting WordPress websites and improving performance on Google PageSpeed Insights?
Any suggestions or insights would be greatly appreciated. Thanks!