This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

X264 max CPU usage?
#1
currently i replaced my 3700x with a 3900x (from 16threads to 24threads) to speed up Hybrid jobs...
is see this thread about x265.. : https://forum.selur.net/thread-3269.html...=cpu+usage
and on videohelp this:

[Image: 3.png]


right now Hybrid is taking 80/88 % of cpu during a Temporaldegrain2 + deinterlacing


[Image: 1.png]


and i have tried with 17 threads or 0 ... but without any luck


[Image: 2.png]


there is a way to increase CPU usage or 17 is a fisical (software) limit of X264?

very thnak you for any help.
Reply
#2
of cpu during a Temporaldegrain2 + deinterlacing
both are rather slow and have parts in them that can't really be multihtreaded that good and might cause a bottleneck

Quote:there is a way to increase CPU usage or 17 is a fisical (software) limit of X264?
iirc.
there is no real thread limit in x264, but depending on:
  • speed the hybrid encoder can acces
  • resolution of the input
  • number of threads (= encoding threads), lookahead-threads, rc-lookahead, sync-lookahead, sliced-threads
(for details you would have to look at https://code.videolan.org/videolan/x264/.../encoder.c)
there is a limit on how much threads acctually can be utilized, also keep in mind that high number of threads can decrease the accuracy of the results an inter-thread communication might slow down the process too. (so higher cpu utilization, does not have to mean higher speed)

Also faster presets will also limit the effective cpu usage since they are streamlined to be fast and efficient an not unecessarily use ressources that are not needed.

maybe not the best analogy, but maybe it helps:
If you have 6 fast cars and you want to transport a sixpack of beer through a tunnel, you could split the bottles to each of your cars and thus increasing the utilization of the ressources, but using one car (which can hold the 6 bottles) is more efficient. (also when you can't drive all cars in parallel through the tunnel bottlenecks might occur)


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
(12.04.2024, 23:09)Selur Wrote: If you have 6 fast cars and you want to transport a sixpack of beer through a tunnel, you could split the bottles to each of your cars and thus increasing the utilization of the ressources, but using one car (which can hold the 6 bottles) is more efficient. (also when you can't drive all cars in parallel through the tunnel bottlenecks might occur)

this is a very interesting example.. i will take this for my customers Smile

very thank you for the infos Selur, and have a nice weekend.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)