Project

General

Profile

Actions

Bug #57855

closed

cannot enable level_compaction_dynamic_level_bytes

Added by Beom-Seok Park over 1 year ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef, quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

create an osd with the following options.

[osd]
bluestore rocksdb cf = true
bluestore rocksdb options annex = max_subcompactions=3,level_compaction_dynamic_level_bytes=true

16.2.0 ~ 16.2.5 : can enable level_compaction_dynamic_level_bytes
16.2.6 ~ 16.2.10 : cannot enable level_compaction_dynamic_level_bytes


Related issues 3 (0 open3 closed)

Copied to bluestore - Backport #59336: quincy: cannot enable level_compaction_dynamic_level_bytesResolvedActions
Copied to bluestore - Backport #59337: reef: cannot enable level_compaction_dynamic_level_bytesResolvedActions
Copied to bluestore - Backport #59338: pacific: cannot enable level_compaction_dynamic_level_bytesResolvedActions
Actions #1

Updated by Beom-Seok Park over 1 year ago

I did some more digging on this and found that this PR was the cause.
https://github.com/ceph/ceph/pull/43100

Actions #2

Updated by Beom-Seok Park over 1 year ago

I found that the level_compaction_dynamic_level_bytes option does not apply if opt.db_paths exists when opening rocksdb's DB.
I don't know why.

Actions #3

Updated by Beom-Seok Park over 1 year ago

db_paths is not compatible with level_compaction_dynamic_level_bytes.

Actions #4

Updated by Igor Fedotov about 1 year ago

One should also switch bluestore volume selector to 'fit_to_fast' mode:
bluestore_volume_selection_policy=fit_to_fast

See also: https://github.com/ceph/ceph/pull/37156

Actions #5

Updated by Igor Fedotov about 1 year ago

  • Status changed from New to Closed
Actions #6

Updated by Igor Fedotov about 1 year ago

  • Status changed from Closed to New

Well, indeed level_compaction_dynamic_level_bytes mode can't be enabled with fit_to_fast selector if bluestore is equipped with a single main device.

Actions #7

Updated by Igor Fedotov about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 50095
Actions #8

Updated by Igor Fedotov about 1 year ago

  • Backport set to quincy, pacific
Actions #10

Updated by Igor Fedotov about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy, pacific to reef, quincy, pacific
Actions #11

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59336: quincy: cannot enable level_compaction_dynamic_level_bytes added
Actions #12

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59337: reef: cannot enable level_compaction_dynamic_level_bytes added
Actions #13

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59338: pacific: cannot enable level_compaction_dynamic_level_bytes added
Actions #14

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #15

Updated by Igor Fedotov 6 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF