[vlc-devel] [WiP] core: make the background worker multithreaded

Steve Lhomme robux4 at ycbcr.xyz
Wed Jul 11 08:31:01 CEST 2018

On 2018-07-10 19:22, Rémi Denis-Courmont wrote:
> Le tiistaina 10. heinäkuuta 2018, 20.11.44 EEST Romain Vimont a écrit :
>> A way to speed up the preparsing consists in preparsing several inputs
>> in parallel.
> This has already been discussed. It brings intractable support issues.
> Like media centers that don't handle or don't allow more than X connection(s)
> (for a very small X), file system or storage whose performance sucks when
> reading more than one node at a time, memory and CPU consumption.

It's not either or in this case. It would be good to have the 
possibility to do it even if it's not the default and probably for VLC 
it should not be the default. But users of libvlc in a constrained 
scenario may want to set it to a lot more thread.

> Basically, nobody seems to know how to compute a safe value for N because it
> is context-dependent. So all things considered, caching the results in a
> database may be less of a problem source than preparsing in parallel.
> -- 
> レミ・デニ-クールモン
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list