Lower power CPU for Plex server

Associate
Joined
25 Aug 2013
Posts
390
Hi all, have you seen energy prices?!

I need to reduce my server power consumption and was thinking of swapping out my CPU/motherboard, see my specs below.
I want to downgrade, but I still need something that can transcode if needed, so I was thinking minimum 4/6 cores, a pentium or a pi isn't going to cut it.

At the moment, the drives are a cobbled together array of old 10x 2TB which is less than ideal I know.
I am currently saving to go either 6x or 8x 10TB of new, more efficient drives which should drop power as well.

But I need help with a CPU choice, because the TDP spec doesn't really mean anything and there is limited data available testing this (at least that I can find).

Happy to do a complete platform swap, I think X99 is what is killing me, and I was thinking maybe Ryzen or an i5, but nothing too pricey.



Thanks for any help, and hopefully this opens a nice discussion!

Specs:
CPU - E5-2630L v3
Motherboard - ASUS X99-A II
RAM - 4x8GB DDR4 ECC
Drives - 10x 2TB RAIDZ2 (mostly WD Red, some Seagate one Hitachi)
HBA - LSI 9205-8i
 
Thanks for the detailed response! You raise a lot of great points that I have been pondering over...

Sorry I forgot to state, I think the last time I checked my idle consumption was 110-120W, but I might double check that tonight and might also detach my pool and unplug the drives to see how much they are contributing.
I went with RZ2 because most of the drives I have are very old and I am concerned they will die more frequently than I like. I might stick with RZ2 though out of general paranoia.
Would you recommend shifting to RZ1 and drop a drive from the array to save on power and cost instead of running RZ2?

So the reason I am transcoding frequently enough that it is an issue is that my family stream from the server and are basically not competent enough to select original quality... But also I occasionally have to transcode when I use a device that doesn't support X265 or something.
I used to have a 2 core Haswell pentium and it would frequently choke on the transcodes. But this was without iGPU HW transcoding so maybe I won't need a more powerful CPU if I can HW transcode.



So I was originally thinking that 8th gen i5 might be a good idea, HW transcoding actually hadn't occurred to me which is why I was considering Ryzen, but that is an excellent point so I am now leaning towards i3/i5 8th gen.
In your experience is HW transcoding completely sufficient so that an i3 8100 vs i5 8400 has no real performance difference for such tasks since they have the same iGPU?
Money wise, I should be able to recoup most of that cost by selling the X99 motherboard currently in the system (depending on which 1151 board I end up buying), and I have RAM that I can already use.


Thanks for all the great advice and data, this is genuinely so helpful!
 
It’s literally the same path I walked when Ryzen launched, so I have direct experience/notes, the power costs have changed drastically, so smaller differences give bigger savings now which makes it even more worthwhile. Your main savings will be in two simple areas, storage and transcoding. The price capped rate for electricity nationally is 28p (round nunber), it’s likely to go up by 1/3 later this year, that means each watt of power costs £2.45/yr now, or likely £3.27/yr by December, so, with that in mind, let’s cover the obvious: You have two main areas you can save power in, storage and CPU (transcoding).

If we start with storage, you know 2TB drives are way too small, just running one 24/7 idle is costing you £12.25-17.15 per drive, you have 10 of them... by the end of the year you're looking at £16.35-22.89 per drive... times 10. It's £230-40ish for a brand new 10TB Iron Wolf or EXOS Enterprise drive or £220 if you shuck them, if we assume that replaces 5 x 2TB drives, you're saving £91.56/yr even allowing for the cost to run the new drive, clearly that makes sense over 3 years and they're warranted.

In terms of storage strategy, rather than RAIDZ2 as you don't seem to need the IOPS, have you considered something like UnRAID? It's discounted till the end of the month and will allow you to pool random sized drives while keeping dual parity if you want. The other advantage is you can spin down the pool, if a client accesses a file, it only spins up the drive it's on to read it. The other benefit of this is you'll obviously have other dockers running, they can sit on a cache drive (say a reasonable size NVMe) and just move data over to the array periodically. The only drives that are spun up during write are the parity drive and the drive being written to.

Next up is transcoding. Lets agree that software transcoding as you are now is both inefficient and power hungry. Plex themselves admit the numbers below are not that accurate, but they are what they are, so we'll use them.
  • 4K HDR (50Mbps, 10-bit HEVC) file: 17000 PassMarkscore (being transcoded to 10Mbps 1080p)
  • 4K SDR (40Mbps, 8-bit HEVC) file: 12000 PassMarkscore (being transcoded to 10Mbps 1080p)
  • 1080p (10Mbps, H.264) file: 2000 PassMark score
  • 720p (4Mbps, H.264) file: 1500 PassMark score
Source: https://support.plex.tv/articles/201774043-what-kind-of-cpu-do-i-need-for-my-server/

So what you have (2630L v3) has 7K ish of CPU Mark and according to Plex is therefore capable of 3+ 1080p H264 transcodes (due to the way transcoding works, it’ll be more, but just go with it). To do 3, your CPU usage will be high, fans spinning up, power usage spiking and you have no hope of doing 4K HEVC, let alone 10bit HEVC. As I type this I have a tab open showing a Plex server doing an HEVC 10bit transcode to SD (don’t ask) and another 1080p H264 to 720p H264, the system usage is under 5% and Plex is only taking 2% of that. Hardware transcoding will literally change the way you view transcoding, and unless you are the kind of person who sits with a magnifying glass working out what gives the least edge diffusion in dark scenes or fast motion, you won't be able to notice the difference between a software transcode and a hardware transcode. To do this in Plex, you need an intel CPU with iGPU, ideally 8th gen or newer (HD630) or an Nvidia GPU with NVEnc capabilities - the consumer range is limited to 3 concurrent transcodes, you can either patch the driver or buy a Quadro which isn't limited - GPU RAM will limit your maximum number of transcodes). Generally aim for a Quadro P series or newer, Nvidia will claim Maxwell can't do HEVC, but the M2000 is a 2nd gen Maxwell (like the 960) and can. A GPU will add about 11w idle from memory and it's not loading the GPU up like gaming or mining, the NVEnc hardware is separate. The P600/620 are reasonably inexpensive (£60-70 used), the P1000 is likely a better bet (85-110 used) and the P2000 tends to be silly money - they just don't make sense compared to iGPU unless it's something like Ryzen or a Xeon w/o iGPU.

As you're looking to reduce power, the technically best option is a modern 8th gen CPU w/iGPU, it literally can't be beaten at this stage in terms of efficiency. I grabbed an i3-8100 and MATX ASROCK board for all of £40 earlier this year, I had planned on swapping the i3 out for the i5 8400 I have as 4c to 6c with a higher clock rate sounds like a worthwhile jump, as you say, same iGPU, same transcoding performance. Reality is I put that little i3 into service on the 22nd of March this year, it's never felt limited or been a bottleneck and I work my servers HARD. The i5 is literally sat doing nothing, and I have been in adding and upgrading hardware at several points, but it's just not been something I felt I have needed to do. My i3 NUC on the other hand (2c) did feel like a compromise by comparison, in all honesty i'd happily have an 8100 again, but if the money is right the 8400 is going to be more capable.

The elephant(s) in the room here are as follows:

1) GSuite Business is £15/m ish and gives unlimited* storage when using team drives and mounting them via rclone (*technically each team drive is limited to 400,000 files/folders), you also need a domain and you are limited by your internet connection (especially upload).
2) Moving your services to a VPS or dedicated server with symmetrical gigabit or faster can actually be cheaper than powering hardware locally, combine this with 1) and your perspective on the world and how storage can be managed changes quite quickly.



You’d think that was a good idea as a Plex server, I mean the M1 is a revelation of performance and efficiency… it turns out it’s really, really not (I say this as a man with two mini’s and an obscene number of iOS devices in the household, so I really wish I could recommend the mini). It’s just not well enough supported at this stage to do the job reliably and without issue. If you want efficient, a Dell OptiPlex 3060 or HP 290 G2 etc. is £100+ and a much, much better choice.
So Ironwolf/Exos drives are my intended drive to swap to, but I will also be expanding to get more storage space so there will still be 6/8 drives.

I have debated unraid, but I am happy with my current setup using TrueNas. Maybe one day in the future, but not right now.

So I have been thinking, and I transcode quite regularly so switching platform to 8th gen Intel might be a significant power save just on transcoding. And then whatever idle power savings between the two platforms is just on top of that.
I think I am going to go with an i3 8100 and wait for a good deal on a motherboard for it, if I see in some work loads I need more CPU power I can always upgrade to an i5, but it doesn't seem likely.

Also nope to all cloud server options, not placing my data non-local and streaming it, that is not practical for me in many ways before even getting to my trust issues with this.

One downside I have realised is I currently have one 8 port HBA and I then use 2 onboard ports for my other 2 drives. However, I also have a 6 port 2.5" hotswap bay which I use for my OS and for cache/scratch storage. My board has 10 onboard SATA ports, but most 8th gen boards have 4-6 ports. So when I reduce my drives to 8, then there would be enough ports, but until I get new drives (which might take a while because of cost) I would need to get a 2 port expansion card (I might have one somewhere...). Some boards have 8 ports, but they tend to be quite expensive so it's not worth it.
 
A Synology
Just to add to the synology debate that is going, as well as being extremely pricey to a point that it defeats the purpose of trying to save money because it would take a lifetime of energy savings to earn that back, it is also not very powerful and impossible to customise. I like having my home built server as I can do what I want with both the hardware and the software, I don't like spending lots of money on something that takes away things I can do. They are a simplified solution that are easy to setup and use, but that isn't something I really care about. I like the difficulty haha.
 
TrueNAS is great, if your usage fits the requirements and you understand the expansion limitations, for write once, read often (WORO) workloads it’s not really ideal, just as UnRAID isn’t ideal if you need high IOPS on the array and can’t work round it. Cloud storage options are a personal choice, but it’s worth mentioning and rclone supports encryption and with fast broadband it’s ideal for static storage. I’ve been using it like this for getting on for 5 years now.

Port wise just use another HBA - if you look at my power numbers I have two for similar reasons, works fine. If those 2.5” drives are flash based, make sure you use the onboard ports for them as they will support TRIM and the HBA’s don’t always.
Yeah I was very reluctant to switch to TrueNas a while back, but after doing so have been very happy with it. For sure, cloud storage definitely is a viable option for many scenarios, but even if I wanted to I think I would be very limited by my upload speed as well. Maybe one day.

That's a very good point, the drives are flash so I would need to ensure TRIM is supported, so yeah probably best to only use the onboard ports. I'll keep an eye out for 8 port boards, but 6 ports will at least serve my hotswap bay in the long run.
 
If power saving is your goal, UnRAID is definitely worth looking into as Avalon says for the ability to spin down drives. I have 8 drives in my system and for most of the day they are all spun down drawing very little power. It's only in the evenings when I'm watching something or copying to the array do one or two actually spin up for a few hours.
This is interesting, but aren't there concerns about wear to the drive? If the drives have to regularly spin up and down again, the wear is greater than if they stay spinning?

But I suppose it depends how long they have to idle before they spin down and how frequently that occurs in an average day?
 
Well thanks to my current setup using ZFS, when I upgrade my drives to the new 10TBs I'll have to completely backup all data, create a new array and transfer it back.

So that might be a good point to shift to unraid since it is going to be a big task regardless.

I do like the idea of using BTRFS just for the flexibility it provides.
 
I agree and I will give it some serious thought, but I don't take changing the OS on this system lightly. Also, yes it could save a lot of power in the long run, but it would also cost at least $90 upfront.

As a bigger change it is something I will consider for the long term, especially when I decide to upgrade my storage since that is already a lot of work, but for now a switch to 8th gen Intel should save some power and maybe even a bit of money after I sell my current hardware.

Also unraid has a lot more features and lots of advanced features that I would like to use that aren't really possible with TrueNas so it is something I've already considered in the past, after this discussion I think I will eventually make the switch.
 
Just to be clear, hardware transcoding will require £94.99 up front for PlexPass lifetime, otherwise you get no benefit at all over what you have. You can pay £3.99 a month if you want or annually, but it’s poor value, they occasionally put it on sale.
I fortunately already have a lifetime pass from when it was on sale a long time ago, but thanks for a clarificaiton that could have been a shock haha.
 
Update for anyone still following or that finds this thread:

I managed to get an Asrock Z370 Extreme4 in a bundle then sold the other items so that I got the board for only £25
I also picked up an i3-8100 for £34 today

When the CPU arrives I will take a day to do some testing.
I intend to test the power consumption of my current setup vs the new setup both done -/+ hard drives and both at idle and while transcoding.

If anyone has any test suggestions or requests let me know and I will see if I can get them done.
 
Back
Top Bottom