[Bug 772747] New: gstatomicqueue: Improve performance on push operations
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Oct 11 12:19:40 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772747
Bug ID: 772747
Summary: gstatomicqueue: Improve performance on push operations
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: sancane.kurento at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 337414
--> https://bugzilla.gnome.org/attachment.cgi?id=337414&action=edit
Patch
We have detected that on big pipelines involving a great number of elements and
processes competing to post messages on the bus, the amount of time spent on
single push operations rapidly increase, we have detected that it can even
reach a magnitude of seconds. This issue is caused because the current
algorithm forces processes to wait until previous writers finalize
sequentially. This patch allow faster writers to finalize the push operation
without waiting for slower writers. Those slow processes are responsible of
updating the read index so that processes can pop data at the right position,
never beyond the index imposed by the slowest writer.
This issue might be related to the bug reported by Miguel París Díaz
(https://bugzilla.gnome.org/show_bug.cgi?id=768668opened) who detected a long
busy-waiting with gdb.
--
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