summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 23:52:10 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 23:53:40 -0600
commite719bf409fc5d711e1df8b8fb3a3da8660b0a3c0 (patch)
treee272680a7681b60819a2517be24e5261d9ee5efd /ci/config_tpl
parent11d88375218cf94d24024b4178d2d1cd78e49999 (diff)
modified to enable cpu pinning anf ceph.
Change-Id: I43e5fe208d771c9f1c92cdfc392b9ba1ddea41e4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/mysql.yaml4
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml6
2 files changed, 6 insertions, 4 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index dd455f0d..385dc0fe 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -8,8 +8,8 @@
{% endif %}
options:
{% if os.ha.mode == 'ha' %}
- innodb-buffer-pool-size: 16M
- max-connections: 200
+ innodb-buffer-pool-size: 128M
+ max-connections: 128M
{% else %}
innodb-buffer-pool-size: 1G
max-connections: 4000
diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
index 88c12b0c..74a9b88b 100644
--- a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
@@ -23,8 +23,10 @@
{% if opnfv.storage_dict.ceph is defined %}
ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}
-{% if os.beta.huge_pages %}
- hugepages: "50%"
+ hugepages: "2048"
+{% endif %}
+{% if os.beta.cpu_pin %}
+ vcpu-pin-set: "{{ os.beta.cpu_pin_set }}"
{% endif %}
{% if os.lxd %}
virt-type: lxd