[Bug 772841] udpsrc: high CPU usage at high packet rate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 14 10:03:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772841

--- Comment #10 from Petr Kulhavy <brain at jikos.cz> ---
(In reply to Sebastian Dröge (slomo) from comment #9)
> (In reply to Petr Kulhavy from comment #6)
> > Created attachment 339727 [details] [review] [review]
> > Buffer pool patch
> > 
> > Here is my attempt to do the buffer pool. So far with non-configurable
> > buffer size of 1500 (for the usual MTU). However it has the problem that the
> > buffer is freed due to the resize to the actual packet size. Any idea how to
> > avoid this issue and take the full advantage of the buffer pool?
> 
> The buffer pool should probably resize the buffer back (if it can) and check
> the memory maxsize instead of the size.

That is what I have actually done in my local copy. Was there any particular
reason for releasing it and not resizing it back?

Can the maxsize change? How?

-- 
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