From e9360456f037c6c215f1a373405a6f8c9ec3c594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 15 Jan 2015 10:54:08 +0100 Subject: [PATCH] Add more option to maximise sequential IO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using the largeio,inode64,swalloc options usually improves sequential workloads. Signed-off-by: Sébastien Han --- roles/ceph-common/defaults/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index aebdc7f5a..40733433c 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -79,13 +79,16 @@ cluster_network: 192.168.42.0/24 public_network: 192.168.42.0/24 osd_mkfs_type: xfs osd_mkfs_options_xfs: -f -i size=2048 -osd_mount_options_xfs: noatime +osd_mount_options_xfs: noatime,largeio,inode64,swalloc osd_mon_heartbeat_interval: 30 + # CRUSH pool_default_crush_rule: 0 osd_crush_update_on_start: "true" + # Object backend osd_objectstore: filestore + # Performance tuning filestore_merge_threshold: 40 filestore_split_multiple: 8 @@ -93,6 +96,7 @@ osd_op_threads: 8 filestore_op_threads: 8 filestore_max_sync_interval: 5 osd_max_scrubs: 1 + # Recovery tuning osd_recovery_max_active: 5 osd_max_backfills: 2