[Ffmpeg-devel] Threading in libavcodec
Michel Bardiaux
mbardiaux
Mon Jan 23 15:32:20 CET 2006
M?ns Rullg?rd wrote:
> 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.
>
Are there any figures on the scaleability of lavc? (asking here since
googling for 'thread' is *not* very rewarding...)
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list