Closed GoogleCodeExporter closed 9 years ago
Does this happen on other platforms (Linux, Mac)?
How many cores does your machine have? What is the partition number in
tulip2.webm?
Thanks.
Original comment by yunqingw...@google.com
on 16 Sep 2010 at 5:35
Heh, the word is "sporadic".
Original comment by tdh...@gmail.com
on 16 Sep 2010 at 6:06
It hasn't been observed on linux or mac.
8 cores/16 threads
4 partitions
Re sporadic. thanks.
Original comment by fbarch...@chromium.org
on 16 Sep 2010 at 8:55
This also repros the problem
ivfdec.exe -t 13 --summary --noblit tulip.ivf
Original comment by fbarch...@chromium.org
on 16 Sep 2010 at 9:27
Attachments:
If the file has 4 partitions, the decoder internally sets the # of threads to
be 4 even though you input "-t 13". I will test it once we have the machine.
Thanks.
Original comment by yunqingw...@google.com
on 16 Sep 2010 at 9:34
also repros in ivfdec:
ivfdec.exe -t 11 --summary --noblit tulip.ivf
WebM Project VP8 Decoder v0.9.2-16-g9100073
Takes quite awhile... maybe 1000 interations
Original comment by fbarch...@chromium.org
on 16 Sep 2010 at 10:52
Attachments:
Doing this in a loop, I reproduced the problem after 46 playbacks
ivfdec.exe -t 4 --summary --noblit tulip.ivf
WebM Project VP8 Decoder v0.9.2-16-g9100073
Unhandled exception at 0x0040d9c2 in ivfdec.exe: 0xC0000005: Access violation
reading location 0x0065b05c.
Original comment by fbarch...@chromium.org
on 20 Sep 2010 at 8:17
Frank,
I restructured multi-threaded decoder, which is in Gerrit now. You can pull
patch from http://review.webmproject.org/#change,551
git fetch git://review.webmproject.org/libvpx refs/changes/51/551/5 && git
checkout FETCH_HEAD
I tested it on gLucid, and see improvement for t=4. Thank you.
Yunqing
Original comment by yunqingw...@google.com
on 20 Sep 2010 at 9:32
For what its worth, I ran 1 and 2 threads for more than 4 hours and couldnt
reproduce it.
I'll request access to Gerrit.
In the meantime, check the result into HEAD once you're confident its safe, and
I'll retest.
Original comment by fbarch...@chromium.org
on 21 Sep 2010 at 1:00
I reviewed the commit and it looks good to me, so I approved the commit, it
should be ready for merging into trunk now.
I also suggest that we valgrind the decoder with different number of threads
before and after the merge.
This issue sounds similar to a stability issue happened some time ago, which
was tracked down and fixed using valgrind on linux.
Original comment by ya...@google.com
on 21 Sep 2010 at 7:00
The multi-thread change was merged into GIT, and ready for testing. The
performance improvement is more noticeable while using threads=4.
Yunqing
Original comment by yunqingw...@google.com
on 21 Sep 2010 at 12:06
Using v0.9.2-35-ga8a38bc
Bug is fixed, Thanks.
Original comment by fbarch...@chromium.org
on 21 Sep 2010 at 8:48
I can see you got the new multi-thread code I put in this morning. Glad it
works for you. Thanks for testing it.
Yunqing
Original comment by yunqingw...@google.com
on 21 Sep 2010 at 9:16
I can also confirm performance scales up to 8 cores okay.
Original comment by fbarch...@chromium.org
on 22 Sep 2010 at 2:04
That is great. Could you post the test results for 8 cores? Thanks.
Yunqing
Original comment by yunqingw...@google.com
on 22 Sep 2010 at 12:09
Original comment by jkoles...@google.com
on 23 Sep 2010 at 2:06
Original comment by albe...@google.com
on 8 Mar 2012 at 12:10
Original issue reported on code.google.com by
fbarch...@chromium.org
on 16 Sep 2010 at 4:44Attachments: