[Bug 796455] New: using rtspsrc with tcp has a much higher CPU usage then with udp
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 30 13:52:12 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796455
Bug ID: 796455
Summary: using rtspsrc with tcp has a much higher CPU usage
then with udp
Classification: Platform
Product: GStreamer
Version: 1.14.0
OS: Linux
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ivan.roubicek at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list