After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796455 - using rtspsrc with tcp has a much higher CPU usage then with udp
using rtspsrc with tcp has a much higher CPU usage then with udp
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.14.0
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-30 13:52 UTC by Ivan Roubíček
Modified: 2018-11-03 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ivan Roubíček 2018-05-30 13:52:12 UTC
When using rtspsrc with tcp protocol it has a much larger CPU usage then with UDP. I was trying that with gstreamer 1.12.4 (ubuntu 17.10) and 1.14.0 (ubuntu 18.04 LTS)

htop using tcp:
  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
14679 servis     20   0  961M 12636 10280 S  8.0  0.1  0:01.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14680 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14681 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14682 servis     20   0  961M 12636 10280 S  8.0  0.1  0:00.95 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14683 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14684 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14685 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14686 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14687 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14688 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14690 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink
14691 servis     20   0  961M 12636 10280 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=tcp location=rtsp://192.168.0.1:554/ ! fakesink

htop using udp:
  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
14707 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.08 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14708 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.02 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14709 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14710 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14711 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.01 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14712 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14713 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14714 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14715 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14716 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14717 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14718 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14719 servis     20   0 1251M 12916 10576 S  0.3  0.1  0:00.02 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14720 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14722 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
14723 servis     20   0 1251M 12916 10576 S  0.0  0.1  0:00.00 gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.1:554/ ! fakesink
Comment 1 GStreamer system administrator 2018-11-03 15:30:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/476.