This is my first post. I know that this is the software category but I have some questions about the hardware too. Hopefully you can help me to sort out some questions. I am new to Linux but i’am willing to learn and Time does not realy matter
I’d like to build a homeserver. I’d like to run some virtual machines on it. A plex mediaserver, a webserver for webapps, a postgresql server and a Windows 10 for gaming, 3D Blender stuff and daily use. I read a lot, but I need some advice from experts like you.
I thought about this for the hardware:
Threadripper 1950x on a asrock x399m taichi (i’ve allready the case because i like the smal form factor. I know that shoud be the last that you buy but the watercooling stuff fits very well…)
2x HDD for movies (have them at home)(may be one more for RAID5)
2x SSD (have them at home. I thought about keeping them for the sql server)
?x m.2 PCI-E SSD (1x for host, 1x for win vm, may be one for the other vms)
64GB of RAM ECC
1x Nvidia 780gtx (for host and the vms)(have this at home)
1x nvidia 1080ti (for my gaming vm)(would buy one)
For the system I thought about Fedora, because you mastered the passthrou of the GPU to the vm.
So now my questions:
Is there a chance that this can work at all?
Whitch Fedora is the best for that use case (server or workstation)? Like I said I’am new to the Linux world, but i’am used to use the commandline.
How woud you set up the storage? My idea is to manage all the storage on the host and than give it to the vms. Is this a good idea or is it better to pass it to the vms and let it handle by the vm? For the Windows vm i would prefer the passthrough of the PCI-E SSD.
Whitch filesystem would you use. I thought about openZFS and RAID1 for the HDDs and SSDs.
Recommondation for the host os of webserver and databaseserver? I thought about stay with Fedora. Maybe the Fedora Atomic, because the i woud like to use Docker containers.
any recomondation for the network handling? I’ll have a static ip 6 adress for the home. But i want only the webserver be pulic to the ‘world’.
Are 64gb enough for this server? the motherboard is not out yet, but the specs are saying that is the max.
What do you think about my plans. Is it a good idea for the hardware and software? To advanced for a Linux newbe like me?
Doesn’t matter. It’s all the same underlying distribution, the only difference between server and workstation is the packages that are installed by default.
ZFS is a good choice. Keep in mind that if you’re planning to go for SSD, ZFSOnLinux does not currently support SSD TRIM, so your performance will not be good. If you want an SSD array, go BTRFS, MDRaid or LVM. You mentioned postgresql. If you want to use that on a specific drive, go XFS for that one.
Really depends on your storage requirements.
I use BTRFS with CoW off for VMs, but I’m not sure how reliable it’s going to be in the long run.
I recommend 4 or more drives for ZFS, since it will increase your throughput capacity.
There’s nothing wrong with using Fedora. I have no experience with Fedora Atomic, so I can’t give it my approval, but it might fit for you. As far as my recommendation goes: use what you’re comfortable with. All distributions provide the same software, just packaged differently.
It should be enough. I’m barely using 32GB of ram with server services running, video editing and a windows VM.
I heard and read about the importance of the RAM speed for Threadripper. I know the benefits for ECC RAM but i don’t know if it’s matters for a home server. What would you recommande?
I have some other questions I forgot:
Is it possible to run all vm at the same time? So the the Nvidia 780GTX will be shared by the PLEX, SQL Server and the Webserver. Is that even possible with kvm? Is it enough power for the PLEX without passthrou?
offcourse this project could work, but do you honestly need this level of hardware?
plex server can litterally run of a raspberry pi, because it is GPU accelerated/decoded, NOT CPU.
unless you got some rediculessly large databases, which are used “not locally” e.g. the interwebz.
in which case id suggest going enterprise, else if you’re doing daily builds of a yocto distro.
It is my oppinion you’d be wayyy better off investing in a server with lesser hardware, and just buy a gaming rig
on top of it, since you obviously got some cash to throw at thee problem.
basically most your vms needs could and would very well of a celeron(all at once unless you make em all work 100% constantly),
going threadripper with multi GPU’s and all that jazz is just what in laymans terms is called overkill, and expensive.
And the powerbill man oh man, a threadripper, and 2 GPU’s running 24/7 it aint gonna be cheap, thats atleast 600-1kwh’ish expensive.
id get a desktop, and maybe look at a 8350 from AMD as server, it would do more then serve your cause, and still leave savings on the power bill.
because it litterally does not need a GPU’s to run if you buy the proper motherboard, and it’d still have H.264 acceleration through the onboard GPU
rest of your services are well handled by the CPU, even through an older CPU aslong it supports the KV-X instrution sets.
The main reason to go with the rig you suggest would be E-peen, ofc dont get me wrong im all about the E-peen profile e.g. being able to tell your friends
"Hey bro, im gaming on a threadripper, and it is a VM, and i gotz cores to spare", but it is all E-peen, so sort out which is more important, E-peen or money.
I know it will be overkill. But for me it’s a hobby to building a computer. For the future i want to go more in the software level. I want to learn about Linux and the whole ‘vm thing’. So I am willingly to spend some money for a future proof homeserver. Also i like the idea of running all from one machine. For me it’s not about e-peen, because none of my friends are in computers anyway. They are more into cars, which are fare more expensive than this. But you are absolutly right, it will also work with a cheaper build and less hardware