I am planning to build a server that will act as a file and backup server. And I might need to run virtual machines on it in the future, but I am not sure of this yet, so I will be composing two possible hardware configurations, one with and one without the need to run virtual machines. However while figuring this out, I stumbled upon multiple questions regarding the hardware components.
Some context:
- In both cases I will be trying to keep the power consumption low.
- I will be using either ZFS or BTRFS on the backup server, so that I can create snapshots of the backups.
- The VMs will not be running GUIs.
- The VMs will be running on their own SSD separate from the file and backup drives.
- The CPU for the with VMs hardware configuration, will have either Intel VT-d and Intel VT-x or AMD-V and AMD-Vi.
- QEMU/KVM will be used as hypervisor.
Will it only require more CPU cores and RAM to run the virtual machines comfortably?
Even though the server will not be business critical, I consider the backups to be of critical importance. I am not the only user and I can see it happen that the backup server will be the only location for some files. Is this, ore are they any other compelling reasons, to use ECC memory? This question is rather important, because it has a big impact of what hardware configurations are allowed.
Is it better to use SAS 2.0 or regular SATA 600 HHDs? And if SAS 2.0 is recommmended, does it matter much which hardware controller I choose, or are most OK?
If I assume the need for ECC memory there are only two CPU options to consider as far as I know, which would be to buy a second hand Intel Xeon processor or a AMD Ryzen processor. Are there any other ECC multi-core processor alternatives?
Considering these two options, and keeping in mind the aim for low power consumption, my preference right now is to go for a Ryzen 7 1700 (TDP of 65).
The only ECC DDR4 memory kits I can find are either 2133Mhz or 2666Mhz. Given the offical supported memory speeds:
- Dual-Rank w/ 4 DIMM: Up to 1866 MHz
- Dual-Rank w/ 2 DIMM: Up to 2400 MHz
- Single-Rank w/ 4 DIMM: Up to 2133 MHz
- Single-Rank w/ 2 DIMM: Up to 2667 MHz
I will start with 2 DIMMs, but might upgrade to 4 DIMMs when the need arises. Is there any point in buying dual-rank 2666Mhz memory if you do not plan to overclock the processor? If not, why does it seem that DDR4-3200 is most often recommended for Ryzen CPUs?