Project

General

Profile

Actions

Feature #55819

closed

cephadm: support for os tuning

Added by Adam King almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph-ansible supported os tuning in which a set of options could be specified in your group vars that would be included in a file written to /etc/sysctl.d/ on a given set of hosts. Cephadm should try to include this feature as well.

From ceph-ansible

#os_tuning_params:
#  - { name: fs.file-max, value: 26234859 }
#  - { name: vm.zone_reclaim_mode, value: 0 }
#  - { name: vm.swappiness, value: 10 }
#  - { name: vm.min_free_kbytes, value: "{{ vm_min_free_kbytes }}" }
- name: apply operating system tuning
  sysctl:
    name: "{{ item.name }}" 
    value: "{{ item.value }}" 
    state: present
    sysctl_file: /etc/sysctl.d/ceph-tuning.conf
    sysctl_set: yes
    ignoreerrors: yes
  with_items:
    - { name: "fs.aio-max-nr", value: "1048576", enable: "{{ osd_objectstore == 'bluestore' }}" }
    - "{{ os_tuning_params }}" 
  when: item.enable | default(true) | bool

Related issues 1 (0 open1 closed)

Copied to Orchestrator - Backport #56611: quincy: cephadm: support for os tuningResolvedAdam KingActions
Actions #1

Updated by Adam King almost 2 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to quincy
  • Pull request ID set to 46493
Actions #2

Updated by Backport Bot almost 2 years ago

Actions #3

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #4

Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF