Bug 1728069

Summary: [BlueStore] RHCS 3.x - backport and make default bluestore allocator as bitmap
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: RADOSAssignee: Neha Ojha <nojha>
Status: CLOSED ERRATA QA Contact: Manohar Murthy <mmurthy>
Severity: high Docs Contact: Bara Ancincova <bancinco>
Priority: high    
Version: 3.2CC: agunn, akupczyk, alhandy, assingh, ceph-eng-bugs, ceph-qe-bugs, dzafman, jdurgin, kchai, khartsoe, mmuench, nojha, racpatel, tchandra, tserlin
Target Milestone: z1Keywords: Improvement, Performance
Target Release: 3.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.12-58.el7cp Ubuntu: ceph_12.2.12-52redhat1xenial Doc Type: Enhancement
Doc Text:
.The default BlueStore and BlueFS allocator is now `bitmap` Previously, the default allocator for BlueStore and BlueFS was the `stupid` allocator. This allocator spreads allocations over the entire device because it allocates the first extent it finds that is large enough, starting from the last place it allocated. The `stupid` allocator tracks each extent in a separate B-tree, so the amount of memory used depends on the number of extents. This behavior causes more fragmentation and requires more memory to track free space. With this update, the default allocator has been changed to `bitmap`. The `bitmap` allocator allocates based on the first extent possible from the start of the disk, so large extents are preserved. It uses a fixed-size tree of bitmaps to track free space, thus using constant memory regardless of number of extents. As a result, the new allocator causes less fragmentation and requires less memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-22 13:29:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1725227, 1726135, 1733598    

Description Vikhyat Umrao 2019-07-08 23:38:26 UTC
Description of problem:
[BlueStore] RHCS 3.x - backport bitmap allocator 


Version-Release number of selected component (if applicable):
RHCS 3.2

Comment 10 Giridhar Ramaraju 2019-08-05 13:05:58 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 11 Giridhar Ramaraju 2019-08-05 13:08:42 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 23 Vikhyat Umrao 2019-09-03 17:19:13 UTC
*** Bug 1723007 has been marked as a duplicate of this bug. ***

Comment 27 Vikhyat Umrao 2019-09-09 22:53:51 UTC
*** Bug 1745200 has been marked as a duplicate of this bug. ***

Comment 37 errata-xmlrpc 2019-10-22 13:29:03 UTC
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/RHBA-2019:3173