1,433
edits
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 ( | '''''Test pipeline (vpe):''''' | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 | 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 ( | '''''Test pipeline (videoscale and videoconvert):''''' | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
GST_TRACER_PLUGINS="cpuusage" gst-launch-1.0 | 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- | [[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, | 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> === |
edits