Server troubles (and upcomming upgrade!) (Patreon)
Content
Hey everyone,
We're getting to the point where our current server is hitting its limit.
It's over 10 year old hardware (TorrentFreak wrote an article about it previously, give it a read: TorrentFreak: Opentrackr Coordinates Millions of Torrent Downloads on an Old Dell Server) and we're severely CPU bottlenecked. This is due to many reasons but mostly the cpu pipeline failing to advance because of slow memory and context switches.
(For reference, we get an effective 0.31 instructions per clock cycle, this is not too good)
We've previously upgraded the CPUs, but there is not much of an upgrade path left that would not put us in drawing too much power. We could change the memory to DDR3-1333 ECC but that also won't give us a significant boost. (Timings are hardly better)
Our current specs are as follows:
- Case: Dell R410
- CPU: 2x Xeon L5640 (6c/12t)
- RAM: 4x DDR3-1066 ECC 16GB
- Network: 1Gbps Integrated (Broadcom NetXtreme II type)
This might have been really pretty back in the days, but it doesn't cut it any more.
I've been playing with the idea of buying a new server for a good year and I'm planning on going forward with it in the upcoming months. This server will make use of mostly consumer-grade hardware, with the benefit that it allows us to upgrade to much better hardware for the money.
I have not finalized the specs, but my current target looks like this:
Case: 2U Enclosure
CPU: AMD Ryzen 9 Pro 3900 (12c/24t, 65W TDP)
Motherboard: Asrock Rack X470D4U
Memory: 2x DDR4-1600 (CL14-14-14-30, 1.35V) non-ECC 8GB
Network: 10Gbps Fibre (Broadcom BCM57810S based)
Our datacenter is able to provide us 10Gbps network connection free of charge, given we use a fibre card. Having a 10Gbps network card gives us more possibilities for growth and I'm confident the faster and newer network asic will allow us to off-load a lot to the card, saving CPU time.
We will need to pay an additional €12,10/month for 2U, instead of 1U. But that is acceptable.
If anyone has any recommendations they'd wish to make, feel free to comment! Any questions behind my choices are fine too, I'd happily answer them.
When I have an update on the situation I will create a new post.