GNOME Bugzilla – Bug 796455
using rtspsrc with tcp has a much higher CPU usage then with udp
Last modified: 2018-11-03 15:30:16 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
-- 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.