[Libav-user] Performance of Slice Based Processing

Paul B Mahol onemda at gmail.com
Thu Jun 29 19:04:07 EEST 2023


On Thu, Jun 29, 2023 at 5:45 PM Robert Beattie <
robert.scott.beattie at gmail.com> wrote:

> I am curious as to why the performance (throughput) does not increase
> linearly with the number of slices. I am using a scale filter
> (scale=1280:720:flags=bilinear) to convert from 1080 to 720p in a stand
> alone app.
>
> When I go from 1 to 2 slices and 2 to 4 slices I see a large increase in
> throughput. However, going from 4 to 8 slices there is almost no change at
> all. Can anyone enlighten me as to the reason for this? There are plenty of
> cores available on the machines I tried it on.
>

By increasing number of cores you increase number of slices and at same
time decrease amount of work each core needs to do for each slice as slices
are smaller and smaller.


>
> Thanks
> Rob
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230629/f18a1225/attachment.htm>


More information about the Libav-user mailing list