summaryrefslogtreecommitdiffstats
path: root/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-10-06 13:15:32 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-06 13:15:32 +0000
commit3732d10a80446c1c079b9c30924a9fe2ca08d84c (patch)
treef57cae3febde0f560002691593b94f019ee1166a /build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
parent1c7eb680b34fdcd83b92c43a4c78db3c54bf567b (diff)
parent6de5bac371844b70b96b9bd75b62b8d06e5f51fc (diff)
Merge "build: Use git submodules for Fuel git repos"
Diffstat (limited to 'build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch')
-rw-r--r--build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch b/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
new file mode 100644
index 000000000..e51e70b64
--- /dev/null
+++ b/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
@@ -0,0 +1,26 @@
+From: Michael Polenchuk <mpolenchuk@mirantis.com>
+Date: Thu, 8 Sep 2016 19:25:14 +0300
+Subject: [PATCH] Reduce ceilometer memory usage
+
+Change-Id: I8b1a97bd710c859a3543d1aed8226313f35f4f10
+---
+ .../puppet/openstack_tasks/manifests/ceilometer/controller.pp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp b/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
+index 2c63ff0..1dda109 100644
+--- a/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
++++ b/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
+@@ -234,5 +234,12 @@ class openstack_tasks::ceilometer::controller {
+ Ceilometer_config<| title == 'oslo_messaging_rabbit/kombu_compression' |> { value => $kombu_compression }
+ }
+ }
++
++ # Reduce memory usage
++ ceilometer_config {
++ 'DEFAULT/executor_thread_pool_size': value => ceiling($service_workers*0.5);
++ 'notification/pipeline_processing_queues': value => ceiling($service_workers*1.5);
++ 'oslo_messaging_rabbit/rabbit_qos_prefetch_count': value => 5;
++ }
+ }
+ }