[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
This commit is contained in:
Matthew Heler 2018-12-15 14:37:12 -06:00
parent bc32affe0c
commit 54efa7922d

View File

@ -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=*"