[Ffmpeg-devel] Threading in libavcodec

Måns Rullgård mru
Mon Jan 23 14:39:09 CET 2006


Mathieu Monnier said:
>  > wait, you can always implement anything with 2 threads what can be done
>  > with 1 binary identically, the question is how fast it is
>
> Here are figures that can be found here :
> http://forum.doom9.org/showthread.php?p=753408#post753408
>
>> Fourth, some random speed results (defaults, vhq4, NO bframes. X2
>> 4200+ CPU).
>>
>> 1 thread : 1:48
>> 2 threads : 1:05
>> 3 threads : 1:06
>> 4 threads : 1:08
>> 16 threads: 1:11
>
> So, as I said, it scales pretty well.

What are those numbers?  Minutes:seconds?  Then it's a far cry from what I'd
say scales well.  A speedup of 1.66 for two threads is decent but hardly
impressive.  And before you can talk about scalability you'd need to test
it on something with a few more CPUs.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list