Jump to content

transcoding CPU threading in docker


Recommended Posts

Posted

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--

Posted

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 !

Posted

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 ?

Posted

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

Posted

I know, syncing does use all cores, it's live streaming that only uses 1 ...

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...