<div dir="ltr">Thanks JE.<div><br></div><div>On hosts with multi-core processors, it does not seem optimal to run a single service instance with just green thread. I understand that on controller node, we can run one or more nova services but still it does not seem to utilize multi-core processors.</div><div><br></div><div>Is it not a nova scaling concern?</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 28, 2015 at 10:38 PM, Johannes Erdfelt <span dir="ltr"><<a href="mailto:johannes@erdfelt.com" target="_blank">johannes@erdfelt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jan 28, 2015, murali reddy <<a href="mailto:muralimmreddy@gmail.com">muralimmreddy@gmail.com</a>> wrote:<br>
> I am trying to understand how a nova component can be run parallely on a<br>
> host. From the developer reference documentation it seems to indicate that<br>
> all the openstack services use green thread model of threading. Is it the<br>
> only model of parallelism for all the components or multiple processes can<br>
> be used for a nova service on a host. Does nova.service which seems to do<br>
> os.fork is being used to fork multiple processes for a nova service?<br>
<br>
</span>Multiple processes are used in some places, for instance, nova-api can<br>
fork multiple processes. Each process would also use greenthreads as<br>
well.<br>
<br>
However, most services don't use multiple processes (at least in Nova).<br>
<br>
JE<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div></div>