Re:Ask HN: On Rob Pike's Concurrency is not Parallelism?
by astrange on Saturday July 28, 2012 @01:57PM
(#4306025)
x264 gets equal use from threads per-frame as it does SIMD per-pixel. There's a pretty much linear speed increase for each new thread, even.
[ Parent
| on HN ]
Re:Ask HN: On Rob Pike's Concurrency is not Parallelism?
by pcwalton on Saturday July 28, 2012 @04:00PM
(#4306344)
Interesting, I didn't know that video encoding could be parallelized per-frame in that way. That's really cool; I stand corrected.
Still, I think it's clear that an x264 with N threads per frame with no per-pixel SIMD would lose to the current x264 with N threads per frame. The key is that x264 is making good use of task parallelism and data parallelism.