Opened 9 years ago
Closed 9 years ago
#5171 closed enhancement (invalid)
Performance degradation of FFmpeg on POWER
Reported by: | Priya | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | libx264 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Performance of FFmpeg using x264 codec on ppc64le is 30%-50% slower than x86. This is in contrast to what is expected on Power8/LE. The x264 and other codecs needs to be further optimized for Power8/LE as there is signification performance degradation on POWER. Attached are the test results for FFmpeg+x264 codec.
FFmpeg was compiled as:
./configure --enable-gpl --enable-memory-poisoning --enable-avresample --enable-libx264 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
x264 codec is compiled as:
./configure --enable-shared --enable-static --enable-debug
Run time options used:
perf stat -o perf.log ffmpeg -i VanillaCakeRecipeDemonstration-Joyofbaking.com.mp4 -vcodec libx264 -acodec aac -strict experimental -threads 0 -level 31 -r 30000/1001 -b 1900k -pix_fmt yuv420p -tune ssim -profile high -vf setdar=16:9,setsar=1:1 -x264opts stats=x264_00_2pass.log:bframes=4:b-adapt=0:b-bias=20:b-pyramid=normal:ref=1:partitions=all:direct=auto:me=umh:merange=12:subme=9:trellis=0:no-fast-pskip=1:no-dct-decimate=1:fps=29.97 -f mp4 -y /dev/null
Attachments (3)
Change History (5)
by , 9 years ago
Attachment: | status_enabled_ppc.txt added |
---|
by , 9 years ago
Attachment: | Machine Configuration.txt added |
---|
comment:1 by , 9 years ago
This is not the tracker for x264, please report any performance concerns to them.
Note that much optimization comes from hand-written x86 ASM, which required years of development, so the same level of performance cannot be expected from a somewhat obscure CPU instruction set.
comment:2 by , 9 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | libx264 added; POWER performance x264 removed |
Priority: | important → normal |
Resolution: | → invalid |
Status: | new → closed |
As said, this is not the x264 bug (or feature request) tracker.
Perf report on Power