<div dir="ltr">On Fri, Oct 24, 2014 at 5:00 AM, Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> wrote:<br>> If you can upgrade your GLib version to 2.42.x, or apply the patches<br>> from this bug:<br>><br>> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=730807">https://bugzilla.gnome.org/show_bug.cgi?id=730807</a><br>><br>> that might give you some easy performance improvements already.<br>Thanks for your help. I switched to glib 2.42.0 and do not see significant CPU improvement so far.<br><br>I remade some perf stat measures  (<b><a href="http://fpaste.org/145793/50742514/">http://fpaste.org/145793/50742514/</a></b>)<br>You can see that the whole pipeline context switch is 0.005 M/sec. udpsrc (RTP packets reader) take 0.004 M/sec.<br><br>Using perf top again I do not see any particular function consuming CPU ( see <b><a href="http://fpaste.org/145795/45076731/">http://fpaste.org/145795/45076731/</a></b>) Do you agree with that ?<br>Adding a small sleep allow me to save 4-5% on udpsrc (see patch in attachment).<div><br></div><div>I checked the resulting mkv file. No frames are dropped using the workaround. I would like to avoid the use of sleep but it looks like I do not have other simpler solution for the moment.</div><div><br></div><div>Please feel free to advice me.</div><div>Cheers,</div></div>