Support for Massive Multicore Machines?

Olivier Crête olivier.crete at collabora.com
Thu Oct 10 18:42:36 UTC 2019


Hi,

The video decoder can be internally multi-threaded. We also have a
multi-threaded video scaler now, so that can use multiple cores.

That's really all that uses the CPU for those. There is a limit to what
GStreamer can do for you.

Olivier

On Thu, 2019-10-10 at 14:22 -0400, Stirling Westrup wrote:
> Well, as I see it, there is generally one thread spawned per queue
> device, and one per encode/decode operation, and several for command
> and control functions. This means that on a 64-core machine a simple
> video player will use something like 8 or 10 threads, leaving the vast
> majority of the machine idle. When one is displaying 8K video, that
> might matter.
> 
> On Thu, Oct 10, 2019 at 2:13 PM Sebastian Dröge
> <sebastian at centricular.com> wrote:
> > On Thu, 2019-10-10 at 14:03 -0400, Stirling Westrup wrote:
> > > I know that GStreamer is multi-threaded, but I'm worried that it
> > > doesn't make efficient use of CPUs like the new AMD 64-core
> > > processors. Are there plans to better support such devices in the
> > > future? Are there any recommendations for folks targeting such
> > > equipment today?
> > 
> > What potential problems do you see? That would probably allow to give a
> > more useful answer to your question :)
> > 
> > --
> > Sebastian Dröge, Centricular Ltd · https://www.centricular.com
> 
> 
-- 
Olivier Crête
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list