Description of problem: RGW or CephFS store small objects and files as individual objects in rados. Objects smaller than bluestore's min_alloc_size (16k for ssd) use much more space than required. min_alloc_size of 4k has been shown to have no detriment to performance for SSD. Use this as the default for SSDs. How reproducible: 100% Steps to Reproduce: 1. Write many 4k files to cephfs. 2. Run 'ceph osd df' Actual results: Raw space used is >16kib per object. Expected results: Raw space used is closer to 4kib per object.
included in 14.2.8 rebase
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:2231