OpenGL Accelerated HTML Overlay: Performance - Xilinx UltraScale

From RidgeRun Developer Wiki


Follow Us On Twitter LinkedIn Email Share this page



Previous: Performance/x86 Index Next: Contact_Us





Xilinx Ultrascale

This wiki intents to provide performance measurements for the Xilinx Ultrascale.

GStreamer plugin performance

The plugin was tested with an example overlay and an glvideomixer for the overlaying stage, using an Xilinx UltraScale+ with Pentalinux. The measurements were taken with the following pipeline:

Pipeline (htmloverlay + glvideomixer):

export NUM_VIDEO_BUFFERS=570
gst-launch-1.0 -e \
  glvideomixer name=mix background=black start-time-selection=first \
  sink_0::zorder=0 sink_1::zorder=1 sink_1::alpha=1.0 sink_1::xpos=0 sink_1::ypos=0 ! \
  'video/x-raw(memory:GLMemory),format=RGBA,width=1280,height=720,framerate=30/1' ! \
  gldownload ! queue ! videoconvert ! \
  omxh264enc target-bitrate=4000000 control-rate=variable ! h264parse ! mp4mux faststart=true ! filesink location=out.mp4 \
  videotestsrc pattern=smpte is-live=true do-timestamp=true num-buffers="$NUM_VIDEO_BUFFERS" ! \
  'video/x-raw,format=RGBA,width=1280,height=720,framerate=30/1' ! \
  glupload ! queue ! mix.sink_0 \
  videotestsrc pattern=black is-live=true do-timestamp=true num-buffers="$NUM_VIDEO_BUFFERS" ! \
  'video/x-raw,height=1080,width=1920,framerate=30/1,format=RGBA' ! \
  queue ! htmloverlay url="http://0.0.0.0:8000/ridgerun_overlay.html" enable-js=true web-refresh-rate=5 ! \
  queue ! videoconvert ! 'video/x-raw,format=RGBA' ! glupload ! queue ! mix.sink_1

CPU Usage

The gst-shark tool was used to measure CPU utilization. This tracer records the CPU load during the execution of a given pipeline.

Total CPU usage on the pipeline.

Measured FPS

As seen on the graphic the average CPU is around 55%.

Frame rate of htmloverlay in the test pipeline.

Frame rate is on average 13FPS.

Processing time of the htmloverlay element.

Processing time measures how long each pipeline element takes per buffer, helping identify components that increase overall latency.

Processing Time of the htmloverlay Element in the Pipeline Test.

Performance summary.

i.MX8MP with HTML refresh at 5 Hz
Resolution 720p 1080p 4K
System Memory (htmloverlay)
Maximum Framerate
(fps)
13 - -
CPU Consumption (%) 55 - -
RAM Consumption (MiB) - - -

Used overlay

The user overlay (click View Source on the wiki to see the html):

REC
Montreal City, Canada



Previous: Performance/x86 Index Next: Contact_Us