mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
erasure-code: lrc plugin workload
Add a workload that uses the lrc erasure code plugin. Instead of adding it to suites/rados/thrash-erasure-code/workloads, a new suite is created at suites/rados/thrash-erasure-code-big because it needs more OSDs than other erasure code plugins. The alternative would be to increase the number of OSDs for all erasure code plugins, but that would needlessly increase the resources requirements. * cluster/12-osds.yaml creates a 12 OSDs, 3 MONs cluster * thrash-erasure-code-big/thrashers/*.yaml are the same as thrash-erasure-code/thrashers/*.yaml except they require that at least 8 OSDs are in at all times (instead of 4) because lrc PGs with k=4, m=2, l=3 are undersized if they do not have 8 OSDs. It is possible that crush fails to map 8 OSDs when only 8 OSDs are available, but that must not disturb the workload because min_size is 4. http://tracker.ceph.com/issues/11666 Fixes: #11666 Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
parent
dab2ae2e3d
commit
82dc23a683
@ -1,7 +1,7 @@
|
||||
tasks:
|
||||
- rados:
|
||||
clients: [client.0]
|
||||
ops: 4000
|
||||
ops: 400
|
||||
objects: 50
|
||||
ec_pool: true
|
||||
erasure_code_profile:
|
||||
|
0
suites/rados/thrash-erasure-code-big/%
Normal file
0
suites/rados/thrash-erasure-code-big/%
Normal file
@ -0,0 +1,5 @@
|
||||
roles:
|
||||
- [osd.0, osd.1, osd.2, client.0, mon.a]
|
||||
- [osd.3, osd.4, osd.5, mon.b]
|
||||
- [osd.6, osd.7, osd.8, mon.c]
|
||||
- [osd.9, osd.10, osd.11]
|
1
suites/rados/thrash-erasure-code-big/fs
Symbolic link
1
suites/rados/thrash-erasure-code-big/fs
Symbolic link
@ -0,0 +1 @@
|
||||
../thrash/fs
|
1
suites/rados/thrash-erasure-code-big/msgr-failures
Symbolic link
1
suites/rados/thrash-erasure-code-big/msgr-failures
Symbolic link
@ -0,0 +1 @@
|
||||
../thrash/msgr-failures
|
18
suites/rados/thrash-erasure-code-big/thrashers/default.yaml
Normal file
18
suites/rados/thrash-erasure-code-big/thrashers/default.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
tasks:
|
||||
- install:
|
||||
- ceph:
|
||||
log-whitelist:
|
||||
- wrongly marked me down
|
||||
- objects unfound and apparently lost
|
||||
- slow request
|
||||
conf:
|
||||
osd:
|
||||
osd debug reject backfill probability: .3
|
||||
osd max backfills: 1
|
||||
osd scrub min interval: 60
|
||||
osd scrub max interval: 120
|
||||
- thrashosds:
|
||||
timeout: 1200
|
||||
chance_pgnum_grow: 1
|
||||
chance_pgpnum_fix: 1
|
||||
min_in: 8
|
22
suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml
Normal file
22
suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
mon:
|
||||
mon min osdmap epochs: 2
|
||||
osd:
|
||||
osd map cache size: 1
|
||||
osd scrub min interval: 60
|
||||
osd scrub max interval: 120
|
||||
tasks:
|
||||
- install:
|
||||
- ceph:
|
||||
log-whitelist:
|
||||
- wrongly marked me down
|
||||
- objects unfound and apparently lost
|
||||
- osd_map_cache_size
|
||||
- thrashosds:
|
||||
timeout: 1800
|
||||
chance_pgnum_grow: 1
|
||||
chance_pgpnum_fix: 1
|
||||
chance_test_map_discontinuity: 0.5
|
||||
min_in: 8
|
@ -0,0 +1,16 @@
|
||||
tasks:
|
||||
- install:
|
||||
- ceph:
|
||||
conf:
|
||||
osd:
|
||||
osd max backfills: 1
|
||||
osd scrub min interval: 60
|
||||
osd scrub max interval: 120
|
||||
log-whitelist:
|
||||
- wrongly marked me down
|
||||
- objects unfound and apparently lost
|
||||
- thrashosds:
|
||||
timeout: 1200
|
||||
chance_pgnum_grow: 3
|
||||
chance_pgpnum_fix: 1
|
||||
min_in: 8
|
15
suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml
Normal file
15
suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
tasks:
|
||||
- install:
|
||||
- ceph:
|
||||
log-whitelist:
|
||||
- wrongly marked me down
|
||||
- objects unfound and apparently lost
|
||||
conf:
|
||||
osd:
|
||||
osd scrub min interval: 60
|
||||
osd scrub max interval: 120
|
||||
- thrashosds:
|
||||
timeout: 1200
|
||||
chance_pgnum_grow: 2
|
||||
chance_pgpnum_fix: 1
|
||||
min_in: 8
|
@ -0,0 +1 @@
|
||||
../../../../erasure-code/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml
|
Loading…
Reference in New Issue
Block a user