Jump to content

AM5728 Multimedia Performance Testbench: Difference between revisions

Line 546: Line 546:
=== <span style="color:#0931C6">CPU load % per core</span><br>  ===
=== <span style="color:#0931C6">CPU load % per core</span><br>  ===


'''''Test pipeline (ducatijpegdec):'''''
'''''Test pipeline (vpe):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-MJPEG.mov ! qtdemux name=demux demux.video_0 ! queue ! jpegparse ! ducatijpegdec ! fakesink sync=true -e
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 -e videotestsrc num-buffers=640 is-live=true ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)30/1' ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)1024' ! fakesink sync=true
</pre>
</pre>


'''''Test pipeline (avdec_mjpeg):'''''
'''''Test pipeline (videoscale and videoconvert):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-MJPEG.mov ! qtdemux name=demux demux.video_0 ! queue ! jpegparse ! avdec_mjpeg ! fakesink sync=true -e
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 -e videotestsrc num-buffers=525 is-live=true ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)30/1' ! videoscale ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)1024' ! videoconvert ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)1024' ! fakesink sync=true
</pre>
</pre>


'''''Obtained Results:'''''
'''''Obtained Results:'''''
[[Image:AM572x-testbench-JPEG-dec-cpuload.png|center|700px|AM572x-testbench-JPEG-dec-cpuload.png]]<br>
[[Image:AM572x-testbench-VPE-cpuload.png|center|700px|AM572x-testbench-VPE-cpuload.png]]<br>


In the chart above, is clearly shown that when using hardware acceleration, a big reduction in CPU workload is achieved. The average difference between CPU_1_accel and CPU_1_unaccel is 42.8% less load for CPU_1_accel. In both cases the corresponding  CPU_0 core is practically off, and there is no difference between them.
In the chart above, is clearly shown that when using hardware acceleration, an enormous reduction in CPU workload is achieved. The average difference between CPU_0_accel and CPU_1_unaccel is 80.7% less load for CPU_0_accel. The average difference between CPU_1_accel and CPU_0_unaccel is 1.3% more load for CPU_1_accel, but this value is negligible in comparison with the 80.7% of cpu workload reduction achieved in the other cores.


=== <span style="color:#0931C6">Frame-rate</span><br>  ===
=== <span style="color:#0931C6">Frame-rate</span><br>  ===
1,433

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.