Jump to content

transcoding CPU threading in docker


edd--

Recommended Posts

Hi,

 

I'm using docker to run emby-server on debian. I have set --cpuset-cpus=0-7 and in the emby server config I have tried the MAX setting, but when I start transcoding, only 1 core is being used @ 100% (using htop). I tried disabling throttling, but that doesn't help either. Does anyone have an idea on how to achieve real multithreaded transcoding in docker ?

 

OR ... am I looking at this the complete wrong way and does 1 single file transcode never spread out over different cores in Emby ? Even without Docker ?

 

Thanks for anyone's insight ...

 

edd--

Link to comment
Share on other sites

By default it will use all available cores, and the max setting as well as Auto should be fine. Please note, not all encoders within ffmpeg are support multi-threading, although libx264 does which is the one we use most frequently. I would test it a little more to see if it's happening every time. thanks !

Link to comment
Share on other sites

Well, I tried some more and I always only get one core doing the work when playing a movie. (live transcoding)

Transcoding for syncing however DOES use all cores ... is this normal behaviour ?

Link to comment
Share on other sites

Transcoding for sync uses a single core by default. You can change this in the server dashboard under Sync settings.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...