[Users] 102 VDSM processes ?

This is a multi-part message in MIME format. --------------080207050600010608050805 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm wondering why my Hyper-Visor is running 102 vdsm processes, each using ~20mb = 2GB used ?? Is this expected and normal ?? Thanks, Alex -- www.vcore.co | www.vsearchcloud.com | Follow @www_vcore_co <https://twitter.com/www_vcore_co> --------------080207050600010608050805 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font size="-1"><font face="Tahoma">Hi,<br> <br> I'm wondering why my Hyper-Visor is running 102 vdsm processes, each using ~20mb = 2GB used ?? Is this expected and normal ?? <br> <br> Thanks,<br> Alex<br> <br> </font></font> <div class="moz-signature">-- <br> <a class="moz-txt-link-abbreviated" href="http://www.vcore.co">www.vcore.co</a> | <a class="moz-txt-link-abbreviated" href="http://www.vsearchcloud.com">www.vsearchcloud.com</a> | <a href="https://twitter.com/www_vcore_co" class="twitter-follow-button" data-show-count="false">Follow @www_vcore_co</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <br> </div> </body> </html> --------------080207050600010608050805--

This is a multi-part message in MIME format. --------------020701060405000303030300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/16/2013 06:20 AM, Alex Leonhardt wrote:
Hi,
I'm wondering why my Hyper-Visor is running 102 vdsm processes, each using ~20mb = 2GB used ?? Is this expected and normal ?? vdsm uses the models of multi-threading and multi-processes both. So not sure if they're all processes. Could you please paste what you see here here? Or capture the output of command "ps -L aux|grep vdsm" on your hypervisor.
Thanks! Mark.
Thanks, Alex
-- www.vcore.co | www.vsearchcloud.com | Follow @www_vcore_co <https://twitter.com/www_vcore_co>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------020701060405000303030300 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 04/16/2013 06:20 AM, Alex Leonhardt wrote:<br> </div> <blockquote cite="mid:516C7D21.702@gmail.com" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <font size="-1"><font face="Tahoma">Hi,<br> <br> I'm wondering why my Hyper-Visor is running 102 vdsm processes, each using ~20mb = 2GB used ?? Is this expected and normal ??<br> </font></font></blockquote> <font size="-1"><font face="Tahoma">vdsm uses <font size="-1">the <font size="-1">models <font size="-1">of multi-thread<font size="-1"><font size="-1">ing</font> and </font></font></font></font></font></font>multi-processes both. So not sure if they're all processes. Could you please paste what you see here here? Or capture the output of command "ps -L aux|grep vdsm" on your hypervisor. <br> <br> Thanks!<br> Mark.<br> <br> <blockquote cite="mid:516C7D21.702@gmail.com" type="cite"><font size="-1"><font face="Tahoma"> <br> Thanks,<br> Alex<br> <br> </font></font> <div class="moz-signature">-- <br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.vcore.co">www.vcore.co</a> | <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.vsearchcloud.com">www.vsearchcloud.com</a> | <a moz-do-not-send="true" href="https://twitter.com/www_vcore_co" class="twitter-follow-button" data-show-count="false">Follow @www_vcore_co</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------020701060405000303030300--

Hey , For your question, VDSM creates external processes for each storage operation it performs. Using external process allows to make parallel operations without being blocked on IO tasks, which can cause denial of service (like reading files on unreachable mount). To save kernel time that can be wasted by creating those external processes, for each domain we start a process pool of 10 processes. This means that if we configure 10 storage domains on specific host, it starts 100 process + 1 process for vdsm and 1 for supervdsm. Each operation on the domain will use one of the processes in the domain's pool. Vdsm process is the main process that responses to API requests and manage all operations. supervdsm is another external process to vdsm that allows vdsm to run root commands. That's explain the 102 processes that you saw. We try to make each process allocation small as possible, without loading unnecessary packages. I'll be glad to answer more specific questions about that implementation if requested. Regards, Yaniv Bronhaim. ----- Original Message -----
From: "Alex Leonhardt" <alex.tuxx@gmail.com> To: users@ovirt.org Sent: Tuesday, April 16, 2013 1:20:17 AM Subject: [Users] 102 VDSM processes ?
Hi,
I'm wondering why my Hyper-Visor is running 102 vdsm processes, each using ~20mb = 2GB used ?? Is this expected and normal ??
Thanks, Alex
-- www.vcore.co | www.vsearchcloud.com | Follow @www_vcore_co
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Alex Leonhardt
-
Mark Wu
-
Yaniv Bronheim