Thanks JE. 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.
Is it not a nova scaling concern? On Wed, Jan 28, 2015 at 10:38 PM, Johannes Erdfelt <[email protected]> wrote: > On Wed, Jan 28, 2015, murali reddy <[email protected]> wrote: > > I am trying to understand how a nova component can be run parallely on a > > host. From the developer reference documentation it seems to indicate > that > > all the openstack services use green thread model of threading. Is it the > > only model of parallelism for all the components or multiple processes > can > > be used for a nova service on a host. Does nova.service which seems to do > > os.fork is being used to fork multiple processes for a nova service? > > Multiple processes are used in some places, for instance, nova-api can > fork multiple processes. Each process would also use greenthreads as > well. > > However, most services don't use multiple processes (at least in Nova). > > JE > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
