rtspsrc cpu optimization

Eloi Bail eloi.bail at gmail.com
Wed Oct 15 08:09:16 PDT 2014


On Wed, Oct 15, 2014 at 7:46 AM, Edward Hervey <bilboed at bilboed.com> wrote:
>   We name the threads in GStreamer.
>
>   Once your program is running, you can run top then show threads
> (capital H).
>
>   You can then put the list of those threads here and we might be able
> to tell you which threads they are exactly.

good point. Recompiling busybox with this option, I have :

Mem: 77908K used, 177096K free, 0K shrd, 0K buff, 70864K cached
CPU:   5% usr   5% sys   0% nic  87% idle   0% io   0% irq   0% sirq
Load average: 0.09 0.06 0.03 1/55 706
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  692   652 root     S     101m  41%   *5% {udpsrc0:src} gst-launch-1.0
rtspsrc location=rtsp://172.16.0.138/udp_ch1_stream1
<http://172.16.0.138/udp_ch1_stream1> ! fakesink*
  699   652 root     S     101m  41%   *3% {rtpjitterbuffer} gst-launch-1.0
rtspsrc location=rtsp://172.16.0.138/udp_ch1_stream1
<http://172.16.0.138/udp_ch1_stream1> ! fakesink*
  689   652 root     S     101m  41%   0% gst-launch-1.0 rtspsrc
location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  690   652 root     S     101m  41%   0% {task0} gst-launch-1.0 rtspsrc
location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  693   652 root     S     101m  41%   0% {udpsrc1:src} gst-launch-1.0
rtspsrc location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  691   652 root     S     101m  41%   0% {gmain} gst-launch-1.0 rtspsrc
location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  696   652 root     S     101m  41%   0% {fakesrc0:src} gst-launch-1.0
rtspsrc location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  697   652 root     S     101m  41%   0% {rtpsession-rtcp} gst-launch-1.0
rtspsrc location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink
  698   652 root     S     101m  41%   0% {timer} gst-launch-1.0 rtspsrc
location=rtsp://172.16.0.138/udp_ch1_stream1 ! fakesink


Need to keep checking those threads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141015/63af304a/attachment.html>


More information about the gstreamer-devel mailing list