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:
parent
732bfe732c
commit
8ac2a5ea0c
|
@ -65,7 +65,13 @@
|
||||||
- "auth service required = cephx"
|
- "auth service required = cephx"
|
||||||
- "auth client required = cephx"
|
- "auth client required = cephx"
|
||||||
- "mon allow pool delete = 1"
|
- "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 size = 3"
|
||||||
- "osd pool default min size = 2"
|
- "osd pool default min size = 2"
|
||||||
- "osd pool default pg num = 256"
|
- "osd pool default pg num = 256"
|
||||||
|
|
Loading…
Reference in New Issue