From 54efa7922dca756b9c739c38b91c5ce7e88d5247 Mon Sep 17 00:00:00 2001 From: Matthew Heler Date: Sat, 15 Dec 2018 14:37:12 -0600 Subject: [PATCH] [Ceph] Tunables for rgw buckets Set rgw_override_bucket_index_max_shards to 8 (default: 0) By default create 8 shards per a bucket with Ceph RagosGW. This allows up to ~800k-1M objects to be in a bucket before seeing performance slow- downs. The only downside to this change is that a directory listing for a bucket may take slightly longer to finish. Change-Id: I96c7ac81501a41d29927e102a6029bf432bd3d21 --- ceph-rgw/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph-rgw/values.yaml b/ceph-rgw/values.yaml index f39996f2a..8599b46c7 100644 --- a/ceph-rgw/values.yaml +++ b/ceph-rgw/values.yaml @@ -293,6 +293,7 @@ conf: #NOTE (supamatt): Increase threads and rados handles for better performance rgw_thread_pool_size: 512 rgw_num_rados_handles: 4 + rgw_override_bucket_index_max_shards: 8 rgw_s3: enabled: false admin_caps: "users=*;buckets=*;zone=*"