NAS 4k issues (NAS/unnraid/Plex)

Pug

Pug

Soldato
Joined
20 Oct 2002
Posts
5,184
Location
Over there...
Hi chaps

My issue is sometimes my 4k UHD videos (h265 or h264) can mostly play fine, and other times they are constantly buffering, few secs playing then buffering. Could my N40 be struggling to feed the other devices in my setup (is that likely?). It's by far the oldest/most underpowered part, but in terms of reading I didn't figure a 4k file to be THAT arduous for a SATA drive. Example tonight was a 4k HDR 30mbps file. Kept dropping in and out after half way through.

My setup:
  • HP N40L micro server running unraid, with 4x2 TB SATA HDDs (1 used for parity) connected to gigabit switch
  • Intel NUC i3 (ssd win10, 4GB RAM) running as a plex server connected to gigabit switch
  • LG 65 OLED TV, Plex client, connected to gigabit switch
Movies played are (to my knowledge) compatible with client to avoid it transcoding, so I think it is now a network issue, but am open to suggestions.

I should say my disks are nearly full (90%+ if that matters?)

It's not every file at the same place, is more like something else is happening in the background and it can't do both (no other Plex streams, just maybe other disk access?). That said super detailed 4k scenes can also trip it up. As I write this now, I'm wondering if it's not the NAS but the client..
 
TV Plex Client is likely transcoding it.

You can see what is doing what on your current streaming from the Plex server dashboard. http://localplexip:32400/web/index.html. Top right click the little heartbeat icon next to the spanner, then dashboard.

As a bit of general advice don't get the encoded films, they are smaller but will need CPU power to play them which NAS will lack. Get full fat remux files for direct play compatibility.

TV Plex client is a bit weak as well, for a client device I use an Nvidia Shield TV.

To be clear the NAS is just providing the file, my i3 NUC is doing the "serving", and the TV's play HEVC (265) natively from usb (with zero issues)
 
Plex can have poor performance (not sure if that has changed in past year or so), try Emby.

A HDD being near full could effect it for sure.

Thanks, I'll try cleaning the HDDs and see. I'm pretty invested in Plex (multiple clients, tablets, offline for work trips etc). I can move on, but need to be totally fed-up of it. I'll try playing them over dlna to my TV client to perhaps circumvent Plex first.
 
So did a v small test this morning and I think (too soon to be sure) I've solved my issue. It was either the library running updates when watching causing the NAS to be overused, or me having a bigger setup in Plex thinking it was helping.

Apparantly the buffer may have been causing the server to choke, and then pause whilst the buffer refilled... So doing the opposite of what I wanted.

I'll see and report back. Thanks for the input.
 
Hhhm weird.

I haven't checked that yet as it hasn't buffered yet. If (when) it does I'll check, thanks.
 
When you play the file and check the dashboard I'm interested as to what that says for you and what it's doing, mainly to satisfy my curiosity at this point :cool:

71YwSzJ.jpg
HHHJmbK
 
Pretty sure I was forcing a transcode by having my Plex client buffer more than it needed. Will try to replicate tonight and see.
 
Sorry for the delay, I've been away.

Instead of pulling theories out of thin air can we get some facts? What specific model of TV and NUC? Many smart TV's come with a 100Mbit port (check the switch for the port status), if so good luck fitting 121Mbit (as per your screenshot) down a 100Mbit pipe. Failing that have you got PlexPass? Just if not, no i3 NUC will transcode 121Mbit 4K HDR HEVC in software, that's 17k+ of CPU mark, even the 10th gen 10110U only manages 4k+ of CPU mark, so it's certainly not doing that. iGPU and HW transcoding could do 4K to 1080p, but you'd presumably notice the horrors of 4K HDR to 1080p SDR if that was happening? Also how were you altering client buffering on direct play from the client side?

LG OLED 65 B7V
Nuc: D34010WYK (i3-4010u)
Switch lights (GS208) all green
Plex pass lifetime member
Deffo 4k deffo HDR
Latest server version (1.19.5.3112)

I went into the plex server settings and set library scan interval to daily (in case I was overloading the NAS with too frequent scans) and I forget the exact buffering setting I changed, nothing jumps out now.u I but ittit might have been "transcoder default throttle buffer".

I think in the past I had set this to a higher number (theory being it was better to have a bigger buffer) but in reality the buffer was forcing the NUC/NAS to buffer when it was better to just pass it through.

No expert, and could be wrong. Aside from the start of watching I now never get buffering on 4k HDR high bitrate files.
 
But I haven't changed my TV, switch or cabling. No hardware has changed, so I can't agree.

Perhaps my scans were running too frequently, perhaps another setting got changed, unsure, but it's not a bandwidth issue (for me).

There isn't some compression at play here? The example above is a HEVC file, so it's it transferring a125mbps stream?
 
Last edited:
Not sure what to say gents, don't doubt you're right technically, but having watched 4 x 4k HDR films this past week, smallest being 40GB, largest bring 60GB (2h 40 runtime which puts me under the 100mbps ceiling I guess) I can hand on heart say it's not stuttered once in any of them... If it can do that on 100mb port then it's spec'd A-OK in my book. No need to use a device (my NUC is connected to the TV is I wanted to use it, but I don't use it as the TV client is so good).

Prior to this thread (what prompted me to post it) I was getting pauses every 10mins or so. I must've had a stupid string that I've resolved in the Plex server or something.

Something has changed, but the only thing that hasn't is the hardware. Sorry I can't give you more detail...
 
Last edited:
Back
Top Bottom