[FFmpeg-devel] VP8 sliced threading

Michael Niedermayer michaelni at gmx.at
Wed Jul 18 15:59:12 CEST 2012


On Wed, Jul 18, 2012 at 12:26:48AM +0200, Michael Niedermayer wrote:
> On Tue, Jul 17, 2012 at 05:27:53PM +0200, Reimar Döffinger wrote:
> > On Tue, Jul 17, 2012 at 04:42:11PM +0200, Michael Niedermayer wrote:
> > > On Mon, Jul 16, 2012 at 09:47:16AM +0200, Reimar Döffinger wrote:
> > > > On 16 Jul 2012, at 02:01, Michael Niedermayer <michaelni at gmx.at> wrote:
> > > > > On Wed, Jul 11, 2012 at 11:26:14PM -0400, Daniel Kang wrote:
> > > > >> My implementation no longer uses sched_yield().
> > > > > 
> > > > > patches applied by luca and merged by me
> > > > 
> > > > And thus we accumulate more buggy threading code that will randomly fail and make helgrind cry.
> > > > Please someone at least mark the synchronization variables used outside a locked area as volatile.
> > > 
> > > i posted 2 patches that i hope should address this issue
> > 
> > Thank you, I think they are good. Did you try to benchmark a bit to
> > ensure it has no unexpected bad effects? Even if it's a bug fix IMHO
> > I think it's a good idea to know if it changes anything.
> 
> didnt had time to benchmark yet

i couldnt see a speed difference for the pthread/h264 changes
the vp8 changes seem to cause a slowdown of around 0.5%

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120718/8f0556a1/attachment.asc>


More information about the ffmpeg-devel mailing list