Skip to content

os/bluestore: allow use BtreeAllocator #57120

Merged
aclamk merged 1 commit intoceph:mainfrom
NUABO:tancz
Jul 16, 2024
Merged

os/bluestore: allow use BtreeAllocator #57120
aclamk merged 1 commit intoceph:mainfrom
NUABO:tancz

Conversation

@NUABO
Copy link
Contributor

@NUABO NUABO commented Apr 29, 2024

BtreeAllocator was added in the commit
#41828.
Its performance has advantages in some scenarios,
but we cannot configure to use btree mode.

Fixes: https://tracker.ceph.com/issues/65678
Signed-off-by: tan changzhi 544463199@qq.com

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

BtreeAllocator was added in the commit
ceph#41828.
Its performance has advantages in some scenarios,
but we cannot configure to use btree mode.

Fixes: https://tracker.ceph.com/issues/65678
Signed-off-by: tan changzhi <544463199@qq.com>
@NUABO NUABO changed the title osd: allow using BtreeAllocator osd: allow use BtreeAllocator Apr 29, 2024
@NUABO NUABO force-pushed the tancz branch 3 times, most recently from 957a1c3 to 98f7ccf Compare April 29, 2024 01:07
@ifed01 ifed01 self-requested a review April 29, 2024 08:53
Copy link
Contributor

@ifed01 ifed01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix bluefs_allocator as well

@ifed01 ifed01 changed the title osd: allow use BtreeAllocator os/bluestore: allow use BtreeAllocator Apr 29, 2024
@ifed01
Copy link
Contributor

ifed01 commented Apr 29, 2024

jenkins test make check

@tchaikov
Copy link
Contributor

tchaikov commented May 5, 2024

tested at https://pulpito.ceph.com/kchai-2024-05-04_14:52:58-rados-wip-kefu-testing-2024-05-04-distro-default-smithi/ . but due to the test failures. need to bisect the offending change or to see they are known issues.

@NUABO
Copy link
Contributor Author

NUABO commented May 8, 2024

tested at https://pulpito.ceph.com/kchai-2024-05-04_14:52:58-rados-wip-kefu-testing-2024-05-04-distro-default-smithi/ . but due to the test failures. need to bisect the offending change or to see they are known issues.

I checked the reasons for the two tasks being dead. It should not be related to this modification and it should be a known issue~

@aclamk aclamk added the aclamk-testing-ganymede bluestore testing label Jul 2, 2024
@aclamk aclamk merged commit 5d6a81f into ceph:main Jul 16, 2024
NitzanMordhai pushed a commit to NitzanMordhai/ceph that referenced this pull request Aug 1, 2024
os/bluestore: allow use BtreeAllocator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants