]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/objectstore: test all bluestore compression algorithms
authorSage Weil <sage@redhat.com>
Thu, 27 Feb 2020 15:55:22 +0000 (09:55 -0600)
committerSage Weil <sage@redhat.com>
Mon, 2 Mar 2020 19:01:22 +0000 (13:01 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/objectstore/bluestore-comp-lz4.yaml [new file with mode: 0644]
qa/objectstore/bluestore-comp-snappy.yaml [new file with mode: 0644]
qa/objectstore/bluestore-comp-zlib.yaml [new file with mode: 0644]
qa/objectstore/bluestore-comp-zstd.yaml [new file with mode: 0644]
qa/objectstore/bluestore-comp.yaml [deleted file]
qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-lz4.yaml [new symlink]
qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml [new symlink]
qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp.yaml [deleted symlink]
qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml [new symlink]
qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp.yaml [deleted symlink]

diff --git a/qa/objectstore/bluestore-comp-lz4.yaml b/qa/objectstore/bluestore-comp-lz4.yaml
new file mode 100644 (file)
index 0000000..46f993e
--- /dev/null
@@ -0,0 +1,24 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore compression mode: aggressive
+        bluestore fsck on mount: true
+        bluestore compression algorithm: lz4
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+#        bluestore bluefs env mirror: true
diff --git a/qa/objectstore/bluestore-comp-snappy.yaml b/qa/objectstore/bluestore-comp-snappy.yaml
new file mode 100644 (file)
index 0000000..b5d5841
--- /dev/null
@@ -0,0 +1,24 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore compression mode: aggressive
+        bluestore fsck on mount: true
+        bluestore compression algorithm: snappy
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+#        bluestore bluefs env mirror: true
diff --git a/qa/objectstore/bluestore-comp-zlib.yaml b/qa/objectstore/bluestore-comp-zlib.yaml
new file mode 100644 (file)
index 0000000..b47ebbb
--- /dev/null
@@ -0,0 +1,24 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore compression mode: aggressive
+        bluestore fsck on mount: true
+        bluestore compression algorithm: zlib
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+#        bluestore bluefs env mirror: true
diff --git a/qa/objectstore/bluestore-comp-zstd.yaml b/qa/objectstore/bluestore-comp-zstd.yaml
new file mode 100644 (file)
index 0000000..e2f5e4e
--- /dev/null
@@ -0,0 +1,24 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore compression mode: aggressive
+        bluestore fsck on mount: true
+        bluestore compression algorithm: zstd
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+#        bluestore bluefs env mirror: true
diff --git a/qa/objectstore/bluestore-comp.yaml b/qa/objectstore/bluestore-comp.yaml
deleted file mode 100644 (file)
index b408032..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-overrides:
-  thrashosds:
-    bdev_inject_crash: 2
-    bdev_inject_crash_probability: .5
-  ceph:
-    fs: xfs
-    conf:
-      osd:
-        osd objectstore: bluestore
-        bluestore block size: 96636764160
-        debug bluestore: 20
-        debug bluefs: 20
-        debug rocksdb: 10
-        bluestore compression mode: aggressive
-        bluestore fsck on mount: true
-        # lower the full ratios since we can fill up a 100gb osd so quickly
-        mon osd full ratio: .9
-        mon osd backfillfull_ratio: .85
-        mon osd nearfull ratio: .8
-        osd failsafe full ratio: .95
-
-# this doesn't work with failures bc the log writes are not atomic across the two backends
-#        bluestore bluefs env mirror: true
diff --git a/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-lz4.yaml b/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-lz4.yaml
new file mode 120000 (symlink)
index 0000000..4fb2ff6
--- /dev/null
@@ -0,0 +1 @@
+.qa/objectstore/bluestore-comp-lz4.yaml
\ No newline at end of file
diff --git a/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml b/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml
new file mode 120000 (symlink)
index 0000000..888caf5
--- /dev/null
@@ -0,0 +1 @@
+.qa/objectstore/bluestore-comp-snappy.yaml
\ No newline at end of file
diff --git a/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp.yaml b/qa/suites/rados/singleton-bluestore/objectstore/bluestore-comp.yaml
deleted file mode 120000 (symlink)
index 5ac9bfb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/objectstore/bluestore-comp.yaml
\ No newline at end of file
diff --git a/qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml b/qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp-snappy.yaml
new file mode 120000 (symlink)
index 0000000..888caf5
--- /dev/null
@@ -0,0 +1 @@
+.qa/objectstore/bluestore-comp-snappy.yaml
\ No newline at end of file
diff --git a/qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp.yaml b/qa/suites/rbd/singleton-bluestore/objectstore/bluestore-comp.yaml
deleted file mode 120000 (symlink)
index 5ac9bfb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/objectstore/bluestore-comp.yaml
\ No newline at end of file