5450f09370883799fd835fca725a6fb94efcc97c
Go to file
Peter Feiner 5450f09370 add conf for number of conductor workers
Fixes bug #1213080 and implements blueprint condutor-workers.
Make it easy to launch a bunch of conductor processes on a host.
Deploying multiple conductor workers per host avoids serialization on
database accesses caused by libmysqlclient.so blocking eventlet's
single thread. In an experiment on a 24-core machine, when creating 20
VMs in parallel, maximum creation time was reduced by approx. 10s when
using 20 conductor processes vis-a-vis a single conductor process.
Profiling showed that all of the savings came from faster calls into
nova.db.sqlalchemy.api.
Note that there are alternative methods for preventing the eventlet
thread from blocking during database calls. However, none of these
alternatives performed as well as multiple nova-conductor processes.
 * Instead of using the native database driver like _mysql.so, you
 can use a pure-python driver, like pymysql by setting
 sql_connection=mysql+pymysql://... in the [DEFAULT] section of
 /etc/nova/nova.conf, which eventlet will monkeypatch to avoid
 blocking. The problem with this approach is the vastly greater
 CPU demand of the pure-python driver compared to the native
 driver. Since the pure-python driver is so much more CPU
 intensive, the eventlet thread spends most of its time talking to
 the database, which effectively the problem we had before!
 * Instead of making database calls from eventlet’s thread, you can
 submit them to eventlet’s pool of worker threads and wait for the
 results. Try this by setting dbapi_use_tpool=True in the
 [DEFAULT] section of /etc/nova/nova.conf. The problem I found
 with this approach was the overhead of synchronizing with the
 worker threads. In particular, the time elapsed between the
 worker thread finishing and the waiting coroutine being resumed
 was typically several times greater than the duration of the
 database call itself.
Change-Id: I8698997d211d7617ee14a1c6113056a694d70620
2013年09月05日 20:08:39 +00:00
2013年01月25日 12:11:54 -05:00
2013年09月05日 20:08:39 +00:00
2013年09月05日 20:08:39 +00:00
2013年08月22日 10:15:14 +08:00
2013年09月02日 16:03:34 +02:00
2011年10月24日 15:07:19 -04:00
2013年08月18日 10:52:51 +08:00
2012年02月08日 19:30:39 -08:00
2012年11月21日 17:04:48 -05:00
2013年07月19日 16:08:54 +03:00
2010年05月27日 23:05:26 -07:00
2012年07月05日 09:11:37 -05:00
2013年08月08日 13:49:45 +02:00
2011年03月16日 15:28:09 -07:00
2013年06月03日 08:51:17 -05:00
2013年08月28日 19:30:49 -07:00
2013年09月04日 04:46:27 +00:00

OpenStack Nova README

OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of virtualization technologies, including KVM, Xen, LXC, VMware, and more. In addition to its native API, it includes compatibility with the commonly encountered Amazon EC2 and S3 APIs.

OpenStack Nova is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Nova primarily consists of a set of Python daemons, though it requires and integrates with a number of native system components for databases, messaging and virtualization capabilities.

To keep updated with new developments in the OpenStack project follow @openstack on Twitter.

To learn how to deploy OpenStack Nova, consult the documentation available online at:

http://docs.openstack.org

For information about the different compute (hypervisor) drivers supported by Nova, read this page on the wiki:

https://wiki.openstack.org/wiki/HypervisorSupportMatrix

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:

http://bugs.launchpad.net/nova

Developers wishing to work on the OpenStack Nova project should always base their work on the latest Nova code, available from the master GIT repository at:

http://github.com/openstack/nova

Developers should also join the discussion on the mailing list, at:

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests. Further developer focused documentation is available at:

http://nova.openstack.org/

For information on how to contribute to Nova, please see the contents of the CONTRIBUTING.rst file.

-- End of broadcast

Description
OpenStack Compute (Nova)
Readme 1.7 GiB
Languages
Python 97.6%
Smarty 2.3%
Shell 0.1%