Performance
Performance measurements
We measured performance performance measurements using perf element to get cpu load, framerate and bitrate.
x86 platform
For this we used ubuntu 24.04 and the following pc characteristics:
| Component | Specification |
|---|---|
| CPU | Intel(R) Core(TM) Ultra 7 155H |
| RAM | 32 GB LPDDR5 @ 6400 MT/s |
With software elements:
gst-launch-1.0 rrmoqbin channel=test-video name=bin \ sink_0::track-name=video \ videotestsrc is-live=true ! "video/x-raw,framerate=60,width=520,height=480" ! videoconvert ! x264enc ! queue ! perf ! bin.sink_0
timestamp: 2:21:16.272016898; bps: 1077008.000; mean_bps: 1077008.000; fps: 68.424; mean_fps: 68.424; cpu: 31;timestamp: 2:21:17.272990701; bps: 2747616.000; mean_bps: 1912312.000; fps: 62.939; mean_fps: 65.681; cpu: 26; timestamp: 2:21:18.273513056; bps: 2024408.000; mean_bps: 1949677.333; fps: 59.969; mean_fps: 63.777; cpu: 23; timestamp: 2:21:19.289864715; bps: 2017560.000; mean_bps: 1966648.000; fps: 60.019; mean_fps: 62.837; cpu: 24; timestamp: 2:21:20.290543022; bps: 2084312.000; mean_bps: 1990180.800; fps: 59.959; mean_fps: 62.262; cpu: 24; timestamp: 2:21:21.306360822; bps: 2036432.000; mean_bps: 1997889.333; fps: 60.050; mean_fps: 61.893; cpu: 24;
timestamp: 2:21:22.323203229; bps: 2110648.000; mean_bps: 2013997.714; fps: 59.990; mean_fps: 61.621; cpu: 24;
With hardware accelerated elements:
gst-launch-1.0 rrmoqbin channel=test-video name=bin \ sink_0::track-name=video \ videotestsrc is-live=true ! "video/x-raw,framerate=60/1,width=1920,height=1080" ! vaapipostproc ! vaapih264enc ! queue ! perf print-cpu-load=true ! bin.sink_0
timestamp: 2:22:17.557339415; bps: 40730840.000; mean_bps: 0.000; fps: 63.788; mean_fps: 63.788; cpu: 2; timestamp: 2:22:18.557793172; bps: 41411840.000; mean_bps: 41411840.000; fps: 59.973; mean_fps: 61.880; cpu: 2; timestamp: 2:22:19.557804042; bps: 41414616.000; mean_bps: 41413228.000; fps: 59.999; mean_fps: 61.253; cpu: 2; timestamp: 2:22:20.557952859; bps: 41420088.000; mean_bps: 41415514.667; fps: 59.991; mean_fps: 60.938; cpu: 2; timestamp: 2:22:21.558030406; bps: 41402688.000; mean_bps: 41412308.000; fps: 59.995; mean_fps: 60.749; cpu: 2; timestamp: 2:22:22.574489528; bps: 41408384.000; mean_bps: 41411523.200; fps: 60.012; mean_fps: 60.626; cpu: 3; timestamp: 2:22:23.591119390; bps: 41396248.000; mean_bps: 41408977.333; fps: 60.002; mean_fps: 60.537; cpu: 3; timestamp: 2:22:24.607693100; bps: 41414984.000; mean_bps: 41409835.429; fps: 60.005; mean_fps: 60.471; cpu: 2;
NVIDIA Jetson AGX Orin
gst-launch-1.0 rrmoqbin relay-mode=external relay-server-host-addr=https://127.0.0.1:4443 channel=test-video name=bin sink_0::track-name=video videotestsrc is-live=true ! "video/x-raw,framerate=60/1,widht=1920,height=1080" ! nvvideoconvert ! nvv4l2h264enc idrinterval=1 ! queue ! h264parse config-interval=-1 ! video/x-h264,stream-format=avc,alignment=au ! perf print-cpu-load=true ! bin.sink_0
timestamp: 0:43:11.948621406; bps: 4482216,000; mean_bps: 4553980,000; fps: 59,998; mean_fps: 61,522; cpu: 4; timestamp: 0:43:12.948950012; bps: 4145152,000; mean_bps: 4417704,000; fps: 59,980; mean_fps: 61,136; cpu: 4; timestamp: 0:43:13.965270731; bps: 4071288,000; mean_bps: 4331100,000; fps: 60,020; mean_fps: 60,913; cpu: 5; timestamp: 0:43:14.981793213; bps: 4067424,000; mean_bps: 4278364,800; fps: 60,009; mean_fps: 60,762; cpu: 4; timestamp: 0:43:15.998728167; bps: 3963728,000; mean_bps: 4225925,333; fps: 59,984; mean_fps: 60,651; cpu: 5; timestamp: 0:43:17.015069435; bps: 4003768,000; mean_bps: 4194188,571; fps: 60,019; mean_fps: 60,572; cpu: 4; timestamp: 0:43:18.015419758; bps: 4073272,000; mean_bps: 4179074,000; fps: 59,979; mean_fps: 60,506; cpu: 4; timestamp: 0:43:19.031695291; bps: 3899040,000; mean_bps: 4147959,111; fps: 60,023; mean_fps: 60,458; cpu: 4;
Qualcomm Dragonwing 9075 EVK
For more performance measurements on Qualcomm 9075 EVK click here
gst-launch-1.0 rrmoqbin relay-mode=external relay-server-host-addr=https://127.0.0.1:4443 channel=test-video name=bin sink_0::track-name=video videotestsrc is-live=true ! "video/x-raw,framerate=60/1,widht=1920,height=1080" ! v4l2h264enc ! queue ! h264parse config-interval=-1 ! video/x-h264,stream-format=avc,alignment=au ! perf print-cpu-load=true ! bin.sink_0
timestamp: 3:42:48.267557129; bps: 7421080.000; mean_bps: 7421080.000; fps: 59.937; mean_fps: 62.144; cpu: 3; timestamp: 3:42:49.283779396; bps: 7457136.000; mean_bps: 7439108.000; fps: 60.026; mean_fps: 61.438; cpu: 3; timestamp: 3:42:50.300056874; bps: 7457808.000; mean_bps: 7445341.333; fps: 60.023; mean_fps: 61.084; cpu: 3; timestamp: 3:42:51.301682580; bps: 7458128.000; mean_bps: 7448538.000; fps: 59.903; mean_fps: 60.848; cpu: 3; timestamp: 3:42:52.318339858; bps: 7457752.000; mean_bps: 7450380.800; fps: 60.001; mean_fps: 60.707; cpu: 3; timestamp: 3:42:53.334082962; bps: 7462024.000; mean_bps: 7452321.333; fps: 60.055; mean_fps: 60.614; cpu: 3; timestamp: 3:42:54.334173657; bps: 7457552.000; mean_bps: 7453068.571; fps: 59.995; mean_fps: 60.536; cpu: 3;