If the performance of your VMware Integrated OpenStack deployment deteriorates, you can adjust the settings for various VMware Integrated OpenStack components.
Because VMware Integrated OpenStack is deployed in many different environments, recommended values for performance parameters are not given. Adjust these parameters based on your environment and the resources available to you.
The parameters in the following table are located in the custom.yml file. You must run the viocli deployment configure command before your changes can take effect.
Name | Default Value | Description | Usage |
---|---|---|---|
nova_rpc_thread_pool_size | 100 |
Maximum concurrent threads for Nova |
Increase these values to address heavy load on Nova compute. |
cinder_rpc_thread_pool_size | 100 |
Maximum concurrent threads for Cinder |
|
nova_rpc_response_timeout | 120 |
Time in seconds that Nova waits for a response to a remote procedure call |
Increase these values to address the following error in nova-api.log: MessagingTimeout: Timed out waiting for a reply to message ID |
cinder_rpc_response_timeout | 60 |
Time in seconds that Cinder waits for a response to a remote procedure call |
|
cinder_max_pool_size | 5 |
Maximum connections per SQL connection pool for Cinder |
Increase the value to address the following error in nova-api.log: TimeoutError: QueuePool limit of size <number> overflow <number> reached, connection timed out |
nova_ram_allocation_ratio | 1.5 |
Allocation ratio of virtual memory to physical memory for CPU filters |
Increase the value to address the following error in nova-placement-api.log: InvalidAllocationCapacityExceeded: Unable to create allocation for 'MEMORY_MB' on resource provider |
nova_cpu_allocation_ratio | 16 |
Allocation ratio of virtual CPUs to physical CPUs for CPU filters |
Increase the value to address the following error in nova-placement-api.log: InvalidAllocationCapacityExceeded: Unable to create allocation for 'VCPU' on resource provider |
nova_disk_allocation_ratio | 0.0 |
Allocation ratio of virtual disk space to physical disk space for disk filters |
Increase the value to address the following error in nova-placement-api.log: InvalidAllocationCapacityExceeded: Unable to create allocation for 'DISK_GB' on resource provider |
keystone_token_expiration_time | 7200 |
Time in seconds that a token remains valid |
Increase the value to address the following error in various log files: WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token |
haproxy_nova_compute_client_timeout | 1200s |
Time in seconds that the load balancer waits for a response from Nova acting as a client |
Increase these values to address the following error in nova-compute.log: Exception during message handling: Gateway Time-out (HTTP 504) |
haproxy_nova_compute_server_timeout | 1200s |
Time in seconds that the load balancer waits for a response from Nova acting as a server |
|
haproxy_cinder_client_lb_timeout | 300s |
Time in seconds that the load balancer waits for a response from Cinder acting as a client |
Increase these values to address the following error in cinder-volume.log: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API |
haproxy_cinder_server_lb_timeout | 300s |
Time in seconds that the load balancer waits for a response from Cinder acting as a server |
|
mysql_max_connections | 1000 |
Maximum global MySQL connections |
Increase the value to address the following error in nova-compute.log: Remote error: OperationalError (OperationalError) (1040, 'Too many connections') |