![]() |
Irregular CPU Usage - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Irregular CPU Usage (/t-irregular-cpu-usage) |
Irregular CPU Usage - jellyfinadmin - 2024-11-20 Hi! I have an install of Jellyfin and it is great! I am having some irregular CPU usage though. See the attached screenshot of my CPU. During the entire length of the screenshot, Jellyfin was streaming to a device on my network in a web browser and the video was HEVC. I have Jellyfin installed via Docker, on an N100 Intel CPU. I'll put my docker compose at the bottom. I guess my question is, is the show intermittent CPU usage normal? My server is able to stream while only using 5% CPU, but also spikes to around 95%. Why? How can I make it not do that? I don't have any need for transcoding, so it may be worth it to turn that off completely. How would I do that? Or should I edit my docker compose to allow hardware transcoding? Thanks!!
RE: Irregular CPU Usage - Efficient_Good_5784 - 2024-11-20 I would guess that if this happened when playing HEVC video, your client request a transcode because it doesn't support HEVC. If you turn off the ability to transcode, your client will fail to play it if that's the case. If you haven't set up Jellyfin to use the GPU for HWA, it will use the CPU to transcode the video. That will use a lot of CPU which is normal. Using HWA can offload this workload from the CPU so your CPU cores remain at a lower usage. So yeah, if you want to lower your CPU core usage, make sure to set up HWA. Please look at the Jellyfin documentation for help on that: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-with-linux-virtualization RE: Irregular CPU Usage - TheDreadPirate - 2024-11-20 One thing that people misunderstand about transcoding is that it doesn't happen for EVERY video nor does Jellyfin transcode for the lulz. It transcodes when the client can't play the video as is. If the client CAN play a video as is, the jellyfin server will just send the file unmodified. One thing you need to do, since you are using the linuxserver jellyfin image, is add their intel openCL docker mod. This is specifically for HDR to SDR tone mapping when clients don't support HDR or the specific kind of HDR. https://github.com/linuxserver/docker-mods/tree/jellyfin-opencl-intel |