[FFmpeg-devel] MAX_THREADS for ffmpeg-mt mp4

Michael Niedermayer michaelni
Thu Sep 24 12:49:05 CEST 2009


On Wed, Sep 23, 2009 at 12:41:05PM -0700, Frank Barchard wrote:
> This change benefits ffmpeg-mt for mp4.
> With the old value, you were limited to 8 threads, and a crash would
> occur if you set more than 10.
> 
> Here is a benchmark (chromium media_bench) of number of threads on an
> 8 core / 16 thread Nehalem.
> It shows performance continues to improve beyond 8 threads.
> 
> Threads vs Time/Frame (ms)
> 1 ? 13.14
> 2 ?   7.31
> 3 ?   5.73
> 4 ?   4.07
> 5 ?   4.50
> 6 ?   3.82
> 7 ?   3.21
> 8 ?   2.93
> 9 ?   2.62
> 10 ? 2.40
> 11 ? 2.19
> 12 ? 2.03
> 13 ? 1.92
> 14 ? 1.83
> 15 ? 1.76
> 16 ? 1.70

well, if that helps that much then ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090924/1ddf3e1c/attachment.pgp>



More information about the ffmpeg-devel mailing list