[Bug 772841] udpsrc: high CPU usage at high packet rate
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Aug 29 15:21:20 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=772841
--- Comment #34 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
(In reply to Nicolas Dufresne (stormer) from comment #33)
> The the extra thread part, why couldn't you just add queue after udpsrc ?
> Having 2 threads per source all the time seems like an important overhead
> for the other use cases.
Perhaps it is overhead, yes. My initial idea was also to use a queue, but it
failed my benchmark application, so I went for the separate thread...
After implementing the separate reader thread my benchmark was still failing,
though, but later I realized that it works on real ethernet (benchmark is on
the lo interface). Still, I decided to keep the thread anyway, because it feels
safer... and since it's still losing some packets (!) I didn't want to risk it
for this application.
You have a good point, though. I can do some real tests without the separate
thread and see if it makes any real impact.
--
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