Merge "Modify Ceph default settings for improved performance"

This commit is contained in:
Zuul 2018-09-20 22:44:11 +00:00 committed by Gerrit Code Review
commit c10f9ce59e
5 changed files with 41 additions and 0 deletions

View File

@ -216,6 +216,8 @@ conf:
cephx_require_signatures: false cephx_require_signatures: false
cephx_cluster_require_signatures: true cephx_cluster_require_signatures: true
cephx_service_require_signatures: false cephx_service_require_signatures: false
objecter_inflight_op_bytes: "1073741824"
objecter_inflight_ops: 10240
osd: osd:
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048

View File

@ -162,12 +162,28 @@ conf:
cephx_require_signatures: false cephx_require_signatures: false
cephx_cluster_require_signatures: true cephx_cluster_require_signatures: true
cephx_service_require_signatures: false cephx_service_require_signatures: false
objecter_inflight_op_bytes: "1073741824"
objecter_inflight_ops: 10240
osd: osd:
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048
osd_max_object_name_len: 256 osd_max_object_name_len: 256
ms_bind_port_min: 6800 ms_bind_port_min: 6800
ms_bind_port_max: 7100 ms_bind_port_max: 7100
osd_snap_trim_priority: 1
filestore_merge_threshold: -50
filestore_split_multiple: 12
osd_scrub_begin_hour: 22
osd_scrub_end_hour: 4
osd_scrub_during_recovery: false
osd_scrub_sleep: 0.1
osd_scrub_chunk_min: 1
osd_scrub_chunk_max: 4
osd_deep_scrub_stride: "1048576"
osd_scrub_priority: 1
osd_recovery_op_priority: 1
osd_recovery_max_active: 1
osd_mount_options_xfs: "rw,noatime,largeio,inode64,swalloc,logbufs=8,logbsize=256k,allocsize=4M"
storage: storage:
mon: mon:
directory: /var/lib/openstack-helm/ceph/mon directory: /var/lib/openstack-helm/ceph/mon

View File

@ -88,12 +88,29 @@ conf:
cephx_require_signatures: false cephx_require_signatures: false
cephx_cluster_require_signatures: true cephx_cluster_require_signatures: true
cephx_service_require_signatures: false cephx_service_require_signatures: false
objecter_inflight_op_bytes: "1073741824"
objecter_inflight_ops: 10240
osd: osd:
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048
osd_max_object_name_len: 256 osd_max_object_name_len: 256
ms_bind_port_min: 6800 ms_bind_port_min: 6800
ms_bind_port_max: 7100 ms_bind_port_max: 7100
osd_snap_trim_priority: 1
filestore_merge_threshold: "-50"
filestore_split_multiple: 12
osd_scrub_begin_hour: 22
osd_scrub_end_hour: 4
osd_scrub_during_recovery: false
osd_scrub_sleep: "0.1"
osd_scrub_chunk_min: 1
osd_scrub_chunk_max: 4
osd_deep_scrub_stride: "1048576"
osd_scrub_priority: 1
osd_recovery_op_priority: 1
osd_recovery_max_active: 1
osd_mount_options_xfs: "rw,noatime,largeio,inode64,swalloc,logbufs=8,logbsize=256k,allocsize=4M"
storage: storage:
# NOTE(portdirect): for homogeneous clusters the `osd` key can be used to # NOTE(portdirect): for homogeneous clusters the `osd` key can be used to
# define OSD pods that will be deployed across the cluster. # define OSD pods that will be deployed across the cluster.

View File

@ -107,6 +107,8 @@ conf:
cephx_require_signatures: false cephx_require_signatures: false
cephx_cluster_require_signatures: true cephx_cluster_require_signatures: true
cephx_service_require_signatures: false cephx_service_require_signatures: false
objecter_inflight_op_bytes: "1073741824"
objecter_inflight_ops: 10240
osd: osd:
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048

View File

@ -278,6 +278,8 @@ conf:
rgw_swift_url: null rgw_swift_url: null
#NOTE (portdirect): See http://tracker.ceph.com/issues/21226 #NOTE (portdirect): See http://tracker.ceph.com/issues/21226
rgw_keystone_token_cache_size: 0 rgw_keystone_token_cache_size: 0
#NOTE (JCL): See http://tracker.ceph.com/issues/7073
rgw_gc_max_objs: 997
rgw_s3: rgw_s3:
enabled: false enabled: false
admin_caps: "users=*;buckets=*;zone=*" admin_caps: "users=*;buckets=*;zone=*"
@ -288,6 +290,8 @@ conf:
cephx_require_signatures: false cephx_require_signatures: false
cephx_cluster_require_signatures: true cephx_cluster_require_signatures: true
cephx_service_require_signatures: false cephx_service_require_signatures: false
objecter_inflight_op_bytes: "1073741824"
objecter_inflight_ops: 10240
osd: osd:
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048