<div dir="ltr">Thanks a lot David, Nirbheek, Yu,<div>Adding gst-inspect-1.0 to the docker file significantly reduces the load.</div><div>Thanks a lot for your help!</div><div>Regards,</div><div>Guru</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 7, 2022 at 1:46 AM Yu You <<a href="mailto:youyu.youyu@gmail.com">youyu.youyu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It depends on how your Docker gstreamer images were built. One option that could possibly work is to add "RUN gst-inspect-1.0" to your Dockerfile so that the registry would be created into the final image during the image build phase.<div><br></div><div>Good luck.</div><div><br></div><div>Yu </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Jun 2022 at 02:47, Guru Govindan via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi There,<div>I have a docker container that runs multiple pipelines sometimes upto 16 Gstreamer pipelines concurrently.</div><div>When the docker container starts there is a CPU spike increasing the load average which fails other services in that computer.</div><div><br></div><div>On digging I see that the gst_init() and internally gst_update_registry() might be the reason behind it as it is updating the registries for the plugins.</div><div><br></div><div>Since all the pipelines are more or less using the same plugins, I was wondering if I can copy the `registry.x86_64.bin` default into the docker container while building the image so that I can avoid this.</div><div><br></div><div>Or is there any other way to reduce this?</div><div>Please advise</div><div>Thanks a lot!</div><div>Regards,</div><div>Guru</div></div>
</blockquote></div>
</blockquote></div>