Skip to content

nautilus: osd: optimize PG removal (part1) - #38478

Merged
yuriw merged 7 commits into
ceph:nautilusfrom
ifed01:wip-ifed-faster-rm1-nau
Jan 11, 2021
Merged

yuriw merged 7 commits into
ceph:nautilusfrom
ifed01:wip-ifed-faster-rm1-nau

Conversation

@ifed01

@ifed01 ifed01 commented Dec 7, 2020

Copy link
Copy Markdown
Contributor

This is the first set of patches intended to improve user experience while doing pool/PG removal.
Includes previous position reuse for collection listing, trimming removed object from bluestore cache (which speeds-up final collection reaping) plus some means to gather statistics on the removal process.

Fixes: https://tracker.ceph.com/issues/48482

Signed-off-by: Igor Fedotov [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

ifed01 and others added 7 commits December 7, 2020 19:26
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit 7f04700)

 Conflicts:
	src/crimson/osd/pg.cc
	src/crimson/osd/pg.h
	src/osd/PG.cc
	src/osd/PG.h
	src/osd/PeeringState.cc
	src/osd/PeeringState.h
 Legacy design for Deleting peering stat.
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit 8684061)

 Conflicts:
	src/os/bluestore/BlueStore.cc
 Legacy locking in use.
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit 0504b95)

 Conflicts:
	src/os/bluestore/BlueStore.cc
 trivial
Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit cc9d584)
1) Do not differentiate all-flash and hybrid(ssd+hdd) deployments since
they both bound to SSD drive backing DB volume.
2) Drop osd_delete_sleep_hybrid from 2s to 1s
3) Raise osd_delete_sleep_ssd to 1s since 0 is a way too low - having
it that low tend to cause a significant negative imact on OSD's regular
operation.

Signed-off-by: Igor Fedotov <[email protected]>
(cherry picked from commit 6e09f0c)
@ifed01 ifed01 added this to the nautilus milestone Dec 7, 2020
@ifed01
ifed01 requested review from aclamk and tchaikov December 7, 2020 18:15
@smithfarm smithfarm added the nautilus-batch-1 nautilus point releases label Dec 15, 2020
@batrick
batrick changed the base branch from nautilus to nautilus-saved December 17, 2020 02:32
@batrick
batrick changed the base branch from nautilus-saved to nautilus December 17, 2020 02:32
@yuriw
yuriw merged commit e90f3f7 into ceph:nautilus Jan 11, 2021
@ifed01
ifed01 deleted the wip-ifed-faster-rm1-nau branch January 11, 2021 16:50
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.

6 participants