[Bug 740149] rtspsrc, rtpjitterbuffer: cpu optimization

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 27 14:33:56 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740149
  GStreamer | gst-plugins-good | 1.4.4

--- Comment #14 from Eloi BAIL <eloi.bail at savoirfairelinux.com> 2014-11-27 22:33:52 UTC ---
(In reply to comment #12)
> I had a quick look at this the other day and found 1.x take about 2-3% points
> more CPU than the 0.10 version (for the exact same stream at the same time).
> Not everything else equal, but a good first approximation. rtpjitterbuffer
> seemed to be the culprit at first glance.

I tested 0.10. I see improvement on udpsrc (from 8% to 1.0 to 5% on 0.10) but
jitterbuffer consumme a bit more (from 3% to 1.0 to 5% on 0.10). So in total it
is similar. I tried to reduce jitterbuffer on 0.10 for test removing gtask and
only pushing buffer in the chain function. But then I saw that udpsrc increased
from 5% to 9% ! I do not figure out how gtasks are scheduled. I need to read
the code but a quick explanation would be appreciated.

Also I played on pipeline sink elements (filesink) using sync=true and
max-bitrate, I see some CPU improvement. Is it this element that drive 
scheduling ?
As I am not in a live rendering such as ximagesink, would it be good to look
there ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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