Jump to content

Poor Docker transcoding performance compared to installing via .deb


Recommended Posts

Posted

Based on this post about using GVT-g to pass through an Intel iGPU to a VM, I started to wonder how my performance was in my set up, which was docker in a VM with GVT-g but I've since migrated to docker running directly on the host.

I tested converting the same movie from 1080p to mobile/4mbps. And when I'm running Emby in Docker the performance is....awful. It takes about 40 minutes to convert the movie. I then installed Emby via the deb direct on the host and converting the same movie takes just 12 minutes.

Is this normal behavior or am I missing something? I know that hardware acceleration is working because I've tested it with it off and can see the CPU utilization difference (~90% without, ~10-15% with) so I'm fairly certain it's not a docker configuration issue.  I can provide logs depending on which one would be most useful and doing what actions.

Posted

Can you provide an equivalent set of logs from the .deb for comparison purposes? Thanks !

Posted

Thanks for the logs. Very good comparison, you made sure that everything is identical:

image.thumb.png.08ee3bfb8aebff7701a17b3254402692.png

 

...well - except performance.

I don't think that's normal, but I can't say for sure. I'm not familiar with Docker. What I can say though, is that it's very unlikely a problem at the side of Emby. 

 

Posted

Yeah looks like i'm seeing about an 8x drop in performance.  It's not noticeable when I'm watching something as the performance is generally "good enough" and most things don't transcode.  But holy cow it's noticeable when I try to convert something.

What else could it be though but an Emby problem?  I mean, it could be a docker problem but since I'm using the official container doesn't that make it a problem with Emby's implementation?

Posted

Sooooo....should I just deal with this performance or what?  No suggestions?

  • 2 weeks later...
Posted

Hi, we're not sure yet what the reason is for this, but the upcoming 4.6 server release will have a number of transcoding related changes so you could try again with that once available. Thanks.

  • 2 months later...
Posted

@gewbert can you please try again with Emby Server 4.6? Thanks !

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