Jump to content

Transcoding not utilizing my full CPU


Go to solution Solved by Luke,

Recommended Posts

rechigo
Posted

I was recently converting some of my media to the mobile format, however, I noticed that Emby wasn't utilizing 100% of my CPU for transcoding, only about 17% max. I have the thread count set to max and throttling disabled. Why might this be happening?

Guest asrequested
Posted

Look at the settings for download and sync. There's an option for full speed conversion.

  • Like 1
rechigo
Posted

Tried that, but it is only utilizing up to 50% now. That's still pretty fast but I am curious if I can make it use it up to like 90%

Posted

Can you please go over an example? Thanks.

rechigo
Posted

1. I go to convert my 4K video, and convert it at say 10 MBps so that I will be able to stream it remotely more easily

 

2. I star converting the video and check my CPU usage. It is only at around 50%.

 

I want my CPU to be utilized around 90% or higher to convert faster, but for some reason Emby is not utilizing its full power

Posted

 

 

but for some reason Emby is not utilizing its full power 

 

What you mean to say is ffmpeg is not utilizing as much cpu as possible. please attach a recording conversion log so that we can take a look. thanks.

rechigo
Posted

I have attached a transcoding log file, thanks.

Posted

Hi, did you forget to attach the log file? Thanks.

  • Solution
Posted

Ok. Ffmpeg will go as fast as it can. There could be any number of things that could be the limiting factor here, such as the read performance of the drive holding the media.

 

It could also be that the multi threaded design of the decoders and encoders involved are not built with enough parallelization to fully tax your CPU.

 

I asked for the log because I was hoping to find that you configured a setting that would provide an easy explanation for this. Since that doesn't seem to be the case I don't see much we can do here.

  • Like 1
Guest asrequested
Posted (edited)

This is what mine looks like. A high of 43% and a low of 22%. Disk IO was a high of 2% (transcode drive is an M.2 SSD)

 

5d47904a4d507_Convert.jpg

Edited by Doofus
rechigo
Posted

My disk IO is around 10% while converting, I guess I'll have to wait until the encoders/decoders get better multithreaded support

Guest asrequested
Posted (edited)

Curiously, when transcoding while watching, it's a little faster and the activity is different. Notice the network traffic bandwidth.

 

5d4795977b1b4_convert2.jpg

Edited by Doofus
rechigo
Posted

Not that it's a huge deal, I'm still transcoding at around 500 FPS average on 4K, which is more than enough

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