Open GoogleCodeExporter opened 9 years ago
Original comment by ya...@google.com
on 20 Mar 2015 at 12:45
I updated the patch to work on mac and windows by restoring the commented usage
of nanosleep and changing all the thread_sleep to be 1 instead of 0
This still serves as just a demonstration of what has been proven in testing on
at least mac and linux to improve performance. It still would be better to use
conditionals or something else.
Original comment by anthony....@gmail.com
on 24 Mar 2015 at 8:18
Attachments:
Original comment by ya...@google.com
on 2 Apr 2015 at 9:41
VP8 multi-threaded decoder was slow while running on Linux, commit
0e78efad0be73d293880d1b71053c0d70a50a080 was a fix to that issue.
VP8 multi-threaded codec wouldn't work well for your usage case (more decoders
than # of cores) because of the busy waiting synchronization. Can you turn off
the multi-threads(-t 1) for all decoders, and maybe use -t 2 for the encoder?
Original comment by yunqingw...@google.com
on 2 Apr 2015 at 10:43
Original comment by yunqingw...@google.com
on 2 Apr 2015 at 10:44
As I mentioned, the combination of the vpx_sleep patch I attached and the
multi-threaded decoder gives the best performance for many decoders in the same
multithreaded process. I provided a rather detailed description of that
already, The unbounded busy sync is part of the problem and is not visible on
a single decoder in one process.
Original comment by anthony....@gmail.com
on 2 Apr 2015 at 10:51
Original issue reported on code.google.com by
anthony....@gmail.com
on 19 Mar 2015 at 11:44Attachments: