Server Version#: 1.23.2.4656
Player Version#: Online
I have my Plex Server running on my desktop PC with a Ryzen 5900x, 32 GB RAM and an Nvidia GTX 1080 TI. The files are stored on three 8 TB SATA HDDs combined with mergerfs. The OS is Manjaro on the current rolling release.
Currently I have the Plex Server analyzing the previews of my 4k Video Collection and it’s taking weeks. Which would not be a problem if I did not have the feeling that it isn’t using my computing ressource to their full potential. When taking a look at top, the plex transcoder is only using up to 200% CPU usage (meaning two threads on a 24 thread cpu)
~ >>> top
top - 12:00:43 up 12:41, 1 user, load average: 3,24, 2,83, 2,58
Tasks: 529 total, 1 running, 528 sleeping, 0 stopped, 0 zombie
%CPU(s): 2,0 us, 1,8 sy, 6,2 ni, 89,0 id, 0,8 wa, 0,1 hi, 0,1 si, 0,0 st
MiB Spch: 32117,2 total, 261,3 free, 7738,7 used, 24117,3 buff/cache
MiB Swap: 35332,3 total, 33023,3 free, 2309,0 used. 23752,2 avail Spch
PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL
192704 plex 35 15 1086492 987,4m 9600 D 151,0 3,1 0:56.52 Plex Transcoder
3222 jan 20 0 4723012 761924 209416 S 77,8 2,3 20:01.38 firefox
826 root 10 -10 1806536 23532 1016 S 3,6 0,1 63:06.30 mergerfs
1416 root -51 0 0 0 0 S 3,3 0,0 4:44.32 irq/129-nvidia
1418 root 20 0 0 0 0 S 2,3 0,0 5:16.50 nv_queue
and the gpu not at all:
~ >>> nvidia-smi
Wed Jun 16 12:01:20 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.31 Driver Version: 465.31 CUDA Version: 11.3 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:09:00.0 On | N/A |
| 0% 32C P8 21W / 300W | 890MiB / 11175MiB | 9% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2327 G /usr/lib/Xorg 440MiB |
| 0 N/A N/A 2395 G /usr/bin/gnome-shell 92MiB |
| 0 N/A N/A 2792 G ...images/nextcloud.AppImage 2MiB |
| 0 N/A N/A 3090 G ...AAAAAAAAA= --shared-files 17MiB |
| 0 N/A N/A 3222 G /usr/lib/firefox/firefox 284MiB |
| 0 N/A N/A 3308 G /usr/lib/firefox/firefox 2MiB |
| 0 N/A N/A 6074 G /usr/lib/firefox/firefox 2MiB |
| 0 N/A N/A 147680 G /opt/zoom/zoom 37MiB |
| 0 N/A N/A 156202 G gnome-control-center 2MiB |
+-----------------------------------------------------------------------------+
Taking a look at iotop I can see a total disk read around 60 M/s, which is far slower than the capabilities of the disk. (When copying one of the files which is to bee analyzed it tops out at around 250-260 M/s)
Is there any way to make this faster? To make the transcoder use the GPU (which it does use when transcoding for a client) or to have it use more threads? It is currently analyzing an HEVC Codec File.
