[FFmpeg-devel] [PATCH] libsvtav1: Add logical_processors option

Christopher Degawa ccom at randomderp.com
Thu Feb 11 01:49:01 EET 2021


Based on my limited understanding of the code, it's limiting the usage
using pthread_setaffinity_np and CPU_SET on Linux to limit the process to
certain CPUs, but it also has a default and max of the return of
`sysconf(_SC_NPROCESSORS_ONLN)`. According to Hassene Tmar of SVT-AV1, it
is a "target core count that SVT would do a best effort to achieve" and
"--lp 8 might still produce 50 threads". It does not actually limit how
many threads are deployed.


More information about the ffmpeg-devel mailing list