Inefficient memory management in udpsrc

Petr Kulhavy brain at jikos.cz
Mon Oct 10 20:00:38 UTC 2016


Hi,

it seems that the udpsrc plugin has quite some optimization potential in 
the memory management.
With high network traffic (about ~1kpps) it generates tens of per-cent 
CPU load on an embedded device.
Most of that time is spent in malloc and free.

Does gstreamer have a mechanism for persistent buffers in order to avoid 
calling malloc on every packet received ?

Thanks
Petr


More information about the gstreamer-devel mailing list