From e16c0939ad0f1d6f9da3275f1c8ad5d5db211ab6 Mon Sep 17 00:00:00 2001 From: Darren Birkett Date: Wed, 19 Nov 2014 12:33:01 +0000 Subject: [PATCH] adjust default cpu and ram allocation ratios As per support discussion, modify: nova_cpu_allocation_ratio = 2.0 nova_ram_allocation_ratio = 1.0 Also add commented entry to user_variables to allow overriding --- etc/rpc_deploy/user_variables.yml | 2 ++ rpc_deployment/inventory/group_vars/nova_all.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/rpc_deploy/user_variables.yml b/etc/rpc_deploy/user_variables.yml index 3d40ef3832..c84d2db610 100644 --- a/etc/rpc_deploy/user_variables.yml +++ b/etc/rpc_deploy/user_variables.yml @@ -133,6 +133,8 @@ neutron_service_password: # This defaults to KVM, if you are deploying on a host that is not KVM capable # change this to your hypervisor type: IE "qemu", "lxc". # nova_virt_type: kvm +# nova_cpu_allocation_ratio: 2.0 +# nova_ram_allocation_ratio: 1.0 nova_container_mysql_password: nova_metadata_proxy_secret: nova_ec2_service_password: diff --git a/rpc_deployment/inventory/group_vars/nova_all.yml b/rpc_deployment/inventory/group_vars/nova_all.yml index 9eac2c3c32..e334cc90af 100644 --- a/rpc_deployment/inventory/group_vars/nova_all.yml +++ b/rpc_deployment/inventory/group_vars/nova_all.yml @@ -68,11 +68,11 @@ nova_compute_driver: libvirt.LibvirtDriver nova_max_age: 0 # Nova Scheduler -nova_cpu_allocation_ratio: 5.0 +nova_cpu_allocation_ratio: 2.0 nova_disk_allocation_ratio: 1.0 nova_max_instances_per_host: 50 nova_max_io_ops_per_host: 10 -nova_ram_allocation_ratio: 1.5 +nova_ram_allocation_ratio: 1.0 nova_ram_weight_multiplier: 5.0 nova_reserved_host_disk_mb: 2048 nova_reserved_host_memory_mb: 2048