Inefficient memory management in udpsrc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Inefficient memory management in udpsrc

Petr Kulhavy
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Inefficient memory management in udpsrc

Tim-Philipp Müller-2
On Mon, 2016-10-10 at 22:00 +0200, Petr Kulhavy wrote:

Hi,

Yes, I have some patches pending to optimise udpsrc, they should land
once 1.10 is out.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Inefficient memory management in udpsrc

Petr Kulhavy
Hi Tim,

that's great news. Does it mean they will be included in 1.10?
Are they available for testing already now?

Thanks
Petr


On 11/10/16 10:44, Tim-Philipp Müller wrote:

> On Mon, 2016-10-10 at 22:00 +0200, Petr Kulhavy wrote:
>
> Hi,
>
> Yes, I have some patches pending to optimise udpsrc, they should land
> once 1.10 is out.
>
> Cheers
>   -Tim
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel