r/PleX•
ipat8

Hardware Problem or Running at Scale? (A cross post from the Plex Forums)

Help

Server Version#: 4.67.1 Player Version#: Various/Samsung: 5.25.3/LG: 5.25.2/Google TV: 8.24.0.28408/Web: 4.67.1

First off, before anyone mentions it, I understand that Plex isn't designed as an enterprise product, and that running it at Scale isn't the intended use. I have some very high quality content, and am expecting Netflix levels of compatibility. I understand that this will be difficult or impossible because Netflix compresses the shit out of things and I'm unwilling to do that, but I'm trying to build the best experience possible.

 

My Plex server (sysinfo below) is pretty beefy. This is the third server dedicated to Plex that I’ve built, and it was designed to store and play back my higher bitrate 4K content, as that becomes more and more common.

For some reason, no matter what, I can not get stable playback on high bitrate content on my smart TVs, Web, or desktop apps. (Anywhere that has to transcode, mobile and direct play seem to work better, but still not smooth.) Here’s an example:

Media Info:

MediaPart
Duration: 1:44Duration: 1:44
Bitrate: 50355 kbpsFile: LG Milano Demo.mp4
Width: 3840Size: 626.89 MB
Height: 2160Container: MP4
Aspect Ratio: 1.78Web Optimized: No
Video Resolution: 4KVideo Profile: main 10
Container: MP4Codec: HEVC
Video Frame Rate: 24pBitrate: 49908 kbps
Web Optimized: NoBit Depth: 10
Video Profile: main 10Chroma Subsampling: 4:2:0
Codec ID: hvc1
Coded Height: 2160
Coded Width: 3840
Color Primaries: bt2020
Color Range: tv
Color Space: bt2020nc

Yes, this is a big file, but I can play it just fine over the network without Plex. Trying to play this file results in 30-50 seconds of buffering before playback starts, and then only about 8 seconds of playback before it stops again.

 

My server lives in a co-lo datacenter, with a 1 Gbps uplink to the internet. While there is a site to site VPN between my house and the server, my smart devices don’t transit over that link for streaming, because they’re vlaned off. My downlink here at the house is also 1 Gbps, and the clients are mostly connected over Wi-Fi, with WAPs within 20 feet, line of sight.

Worse still, some media just refuses to play, with the transcoder exiting with an unknown issue. I understand that Anime with PGS subtitles is pretty much the worst thing you can throw at a Plex server, and high bitrate anime doesn't help, but I do not understand why I'm unable to even play it back at original quality.

 

Server Hardware:

Host Name: BSTAD-GRDC-PLEX

OS Name: Microsoft Windows Server 2019 Datacenter

OS Version: 10.0.17763 N/A Build 17763

OS Manufacturer: Microsoft Corporation

OS Configuration: Member Server

OS Build Type: Multiprocessor Free

Registered Owner: BSTAD@MSFTLC

Registered Organization: BSTAD

Original Install Date: 8/8/2020, 3:42:04 PM

System Boot Time: 9/19/2021, 11:19:28 PM

System Manufacturer: Dell Inc.

System Model: PowerEdge R720

System Type: x64-based PC

Processor(s): 2 Processor(s) Installed. (Note: total of 24 Cores @ 2.3 GHz)

[01]: Intel64 Family 6 Model 45 Stepping 7 GenuineIntel ~2300 Mhz

[02]: Intel64 Family 6 Model 45 Stepping 7 GenuineIntel ~2300 Mhz

BIOS Version: Dell Inc. 2.9.0, 12/6/2019

Windows Directory: C:\Windows

System Directory: C:\Windows\system32

Boot Device: \Device\HarddiskVolume4

Total Physical Memory: 16,321 MB

Available Physical Memory: 8,836 MB

Virtual Memory: Max Size: 18,753 MB

Virtual Memory: Available: 11,332 MB

Virtual Memory: In Use: 7,421 MB

Page File Location(s): C:\pagefile.sys

Logon Server: \BSTAD-DC01

Network Card(s): 6 NIC(s) Installed.

[06]: Microsoft Network Adapter Multiplexor Driver

Connection Name: TEAM NIC (Note here, This is bonded 4Gb link.)

 

Quick Edit: Boot drive is a Samsung 500 GB SSD, storage is 48TB RAW 38~TB built RAID 6 array. They are SMR drives. 4TB 2.5'' Seagates.

 

This system has 2 Xeon E5-2630 CPUs @ 2.3 GHz. While sure, they’re not the fastest CPUs, they have a combined 24 cores, and from my understanding, Plex prefers cores over speed. I’m at my wits end trying to solve this problem. Is it my smart TVs? My Network? Do I need a Quadro in my server for transcode? Is my content simply to intense for plex? I’ve gone as far as to ensure that the transcode directory and metadata directory are stored on my boot SSD instead of the storage array.

 

Any help is greatly appreciated! I can provide logs or details I’m just not sure what to look for at this point.

Posted Nov 29, 2021, 7:43 PM UTC · edited

013
IAmKorg•

I’m betting if you had a CPU with Intel Quick Sync, you’d have no issues.

2
ipat8OP•

Unfortunately, they don't make Xeons that would support my chassis with quick sync. Are you going off the idea of hardware then? So a GPU? I did do some testing with a 1080TI that a friend let me borrow. It solved some problems, but larger files (like my 4K copy of Tenet) still had issues.

1
IAmKorg•

What are you playing the content on? I’ve found Smart TVs are very hit and miss, even Sony Google TVs. I only use AppleTV 4Ks and NVIDIA Shields. Both of them direct play pretty much everything I throw at it. The highest bitrate file I have is about 120mbps, and it direct plays smoothly. I try my best to have as little as possible transcode.

1
ipat8OP•

I have a mix of Samsung TVs, LG TVs, and the New Google TVs. I had a feeling I might need higher grade clients, but I do still want transcode performance for mobile devices and web.

1
IAmKorg•

If you need transcoding, then yeah a GPU like Quadro P2000 or a GTX 1660Ti or better.

My iPhone direct plays, so does my dad’s Z Fold 3.

1
Velenski•

Services like Netflix and Disney fool their users with fake 4k or fake hdr content. Also they're using their own compressed formats. Can't compare plex and Netflix under any circumstance. There are hundreds of videos on YouTube that show why most 4k content on their services are 1080p max.

1
Hardcorex•

Unfortunately those CPU's are pretty slow compared to modern standards.

I'd most likely guess this is a hardware problem, and the server is having difficulty keeping up with real-time transcoding.

4K HDR is very intensive. I'd also expect PLEX to maybe not even use both CPU's.

Also x264/x265 encoding is actually quite single thread dependent (Multi-core is more important for multiple streams)

1
ipat8OP•

So, the fastest CPUs available are the 2690 V2 at a base of 3.0 and a Turbo of 3.6 GHz. Would you think that would be enough of a boost, or should I consider a Quadro RTX 4000?

1
Hardcorex•

That is an upgrade, but still may not be enough.

The Quadro is likely the better option, though you will sacrifice some quality using hardware encoding vs. software. Depending on user count you can also use lesser expensive gaming GPU's.

I definitely understand if cost is the issue, but this server hardware is outdated and not serving your needs very well. Also at the cost of the RTX 4000 you may be better served building a new system.

A pretty basic AMD Ryzen system is a big upgrade in every way. The 5600x (300$) is over double the multi-threaded and especially, single-threaded performance of a 2690v2. (And dual socket usually doesn't scale fully 2x)

Threadripper is also available if the expansion/PCIe requirements are more than Ryzen can offer for you.

How many end users do you plan for?

1
AliveEstimate4•

My guy... If you actually want to use your CPU for encoding, at least get a new CPU with Quick Sync.

​

Or.. U know... Just pop a gpu in. Still probably 10x faster than 2 old xeons lol

1