Adjust default ceph.conf parameters

1. Remove an explicit OSD journal size, especially such a small one (no
clue why I ever added that...)

2. Add max scrubs, disable scrub during recovery, and set scrub sleep.

3. Add max backfills, tune recovery sleep to 0 to prioritize recovery.
This commit is contained in:
Joshua Boniface 2023-09-01 15:42:27 -04:00
parent 6e48d6fe84
commit 2ae9b9075a
1 changed files with 7 additions and 1 deletions

View File

@ -65,7 +65,13 @@
- "auth service required = cephx"
- "auth client required = cephx"
- "mon allow pool delete = 1"
- "osd journal size = 2"
- "osd max scrubs = 2"
- "osd scrub during recovery = false"
- "osd scrub sleep = 5"
- "osd max backfills = 8"
- "osd recovery sleep hdd = 0"
- "osd recovery sleep ssd = 0"
- "osd recovery sleep hybrid = 0"
- "osd pool default size = 3"
- "osd pool default min size = 2"
- "osd pool default pg num = 256"