optimize qemu.conf
bump up the max_files to 32768 and max_processes to 131072. when nova used ceph as backend, the default limit 1024 is not enough. each connection from rbd image to osd needs 1 fd and 2 threads. if we have 200 osds, we need 200 fds and 400 threads for 1 image. Change-Id: I94c3ec111473ea2ccacdea5dbbf3fdc9c569859f
This commit is contained in:
parent
20c58a9c53
commit
023334dfcb
@ -397,6 +397,13 @@ nova_enabled_notification_topics: "{{ nova_notification_topics | selectattr('ena
|
|||||||
vmware_vcenter_datastore_regex: ".*"
|
vmware_vcenter_datastore_regex: ".*"
|
||||||
ovs_bridge: "nsx-managed"
|
ovs_bridge: "nsx-managed"
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Libvirt/qemu
|
||||||
|
####################
|
||||||
|
# The number of max files qemu can open
|
||||||
|
qemu_max_files: 32768
|
||||||
|
# The number of max processes qemu can open
|
||||||
|
qemu_max_processes: 131072
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Kolla
|
# Kolla
|
||||||
|
@ -2,3 +2,6 @@ stdio_handler = "file"
|
|||||||
|
|
||||||
user = "nova"
|
user = "nova"
|
||||||
group = "nova"
|
group = "nova"
|
||||||
|
|
||||||
|
max_files = {{ qemu_max_files }}
|
||||||
|
max_processes = {{ qemu_max_processes }}
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Bump up the max_files to 32768 and max_processes to 131072.
|
||||||
|
when nova used ceph as backend, the default limit 1024 is not enough.
|
||||||
|
each connection from rbd image to osd needs 1 fd and 2 threads. if we
|
||||||
|
have 200 osds, we need 200 fds and 400 threads for 1 image.
|
Loading…
Reference in New Issue
Block a user