Merge lp:~nobuto/charms/trusty/ceph-osd/more-sysctl-default into lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next

Proposed by Nobuto Murata
Status: Merged
Merged at revision: 37
Proposed branch: lp:~nobuto/charms/trusty/ceph-osd/more-sysctl-default
Merge into: lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next
Diff against target: 23 lines (+6/-4)
1 file modified
config.yaml (+6/-4)
To merge this branch: bzr merge lp:~nobuto/charms/trusty/ceph-osd/more-sysctl-default
Reviewer Review Type Date Requested Status
Edward Hope-Morley Approve
Review via email: mp+249796@code.launchpad.net

Description of the change

In bug #1366598, sysctl support and kernel.pid_max=2097152 by default have been implemented. However it turned out that more sysctl default change is needed in some high density deployment, especially vm.max_map_count and kernel.threads-max.

This branch increases more sysctl values by default to allow 256k threads per process
and 2M threads in total.

Test case and results are available in:
https://bugs.launchpad.net/charms/+source/ceph/+bug/1420339/comments/1

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #1813 ceph-osd-next for nobuto mp249796
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/1813/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #2023 ceph-osd-next for nobuto mp249796
    LINT FAIL: lint-test failed
    LINT FAIL: charm-proof failed

LINT Results (max last 2 lines):
  I: config.yaml: option key has no default value
  make: *** [lint] Error 100

Full lint test output: http://paste.ubuntu.com/10253142/
Build: http://10.245.162.77:8080/job/charm_lint_check/2023/

39. By Nobuto Murata

update config.yaml description

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #1961 ceph-osd-next for nobuto mp249796
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/1961/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #1816 ceph-osd-next for nobuto mp249796
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/1816/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #2026 ceph-osd-next for nobuto mp249796
    LINT FAIL: lint-test failed
    LINT FAIL: charm-proof failed

LINT Results (max last 2 lines):
  I: config.yaml: option key has no default value
  make: *** [lint] Error 100

Full lint test output: http://paste.ubuntu.com/10253538/
Build: http://10.245.162.77:8080/job/charm_lint_check/2026/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #1964 ceph-osd-next for nobuto mp249796
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/1964/

40. By Nobuto Murata

fix lint warning

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #1890 ceph-osd-next for nobuto mp249796
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/1890/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #2100 ceph-osd-next for nobuto mp249796
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/2100/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #2001 ceph-osd-next for nobuto mp249796
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/2001/

Revision history for this message
Edward Hope-Morley (hopem) wrote :

This patch hopefully aligns these defaults and while it is mostly expected to benefit larger clusters, it is not expected to introduce any performance regressions for smaller clusters. I'll land this and it can sit in /next for a while so that people can use/test it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'config.yaml'
--- config.yaml 2015-01-16 10:56:36 +0000
+++ config.yaml 2015-02-18 06:47:58 +0000
@@ -123,13 +123,15 @@
123 your network interface.123 your network interface.
124 sysctl:124 sysctl:
125 type: string125 type: string
126 default: '{ kernel.pid_max : 2097152 }'126 default: '{ kernel.pid_max : 2097152, vm.max_map_count : 524288, kernel.threads-max: 2097152 }'
127 description: |127 description: |
128 YAML-formatted associative array of sysctl key/value pairs to be set128 YAML-formatted associative array of sysctl key/value pairs to be set
129 persistently. As a default we set pid_max to a high value to avoid129 persistently. As a default we set pid_max, max_map_count and
130 problems with large numbers (>20) of OSDs recovering. very large clusters130 threads-max to a high value to avoid problems with large numbers (>20)
131 should set this value even higher (max 4194303).131 of OSDs recovering. very large clusters should set those values even
132 higher (max 4194303).
132 nagios_context:133 nagios_context:
134 type: string
133 default: "juju"135 default: "juju"
134 description: |136 description: |
135 Used by the nrpe-external-master subordinate charm.137 Used by the nrpe-external-master subordinate charm.

Subscribers

People subscribed via source and target branches