Okay, I need to reach out to the hive mind for ideas. I work in IT, so I've got enough experience to realize that it's probably something I've done (or didn't do), but I can't figure out what. Help me Obi Wan(s).
So, I'm running LinuxServer Plex, and everything is good in the hood, when I decide to try hardware transcoding (running i7-8700k). Found some directions, modified go, syslinux, tossed the correct extra parameter into the docker, and bam, my cpu utilization dropped significantly (like 15% to 5% or something), and tatulli was reporting (HW) in the transcode. I could run multiple transcode streams, and everything seemed fine.
But then one day people started complaining about buffering, and that surprised me, because my old i7-3770k (running Plex on W7) wouldn't have had these hiccups running 3-4 transcodes, so why would this box be doing it... Looking at the dashboard, it seemed to be routing all my transcodes to CPU0. If I disabled the hardware transcode, it seemed to distribute back to all 12 cpus. Well, i figured it wasn't optimal to do that, so I started looking at CPU pinning.
So, watched a few videos put up by SpaceInvader One, and thought to optimize my server. Set up isolcpus to block off CPU 2-5,8-11 so I could reserve that for Plex. Okay, now everything is running in CPU 0-1,6-7. Add cpuset-cpus to Plex, and... Everything is running through CPU2. Regardless of if Hardware transcode is on or not, it's all CPU2. Installed cAdvisor, and sho nuff, everything is CPU2. All those other cores are just napping. I tried reformatting to cpus=2,8,3,9... etc, and same thing. I remove the pinning, and everything routes back through the main cpus (leaving the 8 logical cores alone)...
I'm just at a loss here. I removed the hw transcode "check" in the plex gui, and the "--device /dev/dri:/dev/dri" from the docker parameters, but it's making no difference. I didn't remove the original stuff I added to the go or syslinux, and maybe that's part of the issues? I dunno.
Anyone have any ideas?
unspork-diagnostics-20180909-2255.zip