]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph_test_objectstore: adjust SyntheticMatrixCsumVsCompression parameters
authorSage Weil <sage@redhat.com>
Thu, 6 Oct 2016 16:05:04 +0000 (12:05 -0400)
committerSage Weil <sage@redhat.com>
Thu, 6 Oct 2016 16:05:04 +0000 (12:05 -0400)
- larger writes
- test both codecs
- use smaller min_alloc_size so that it's easier to write compressed data
- don't bother with compression off; other matrices cover that.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/store_test.cc

index 8e03f87e87a6164ff0f6fe683e1a4b512d795add..8ae4d1dfc488d20c869fc5534ed915c156c345cf 100644 (file)
@@ -4260,11 +4260,12 @@ TEST_P(StoreTest, SyntheticMatrixCsumVsCompression) {
     return;
 
   const char *m[][10] = {
-    { "max_write", "65536", 0 },
+    { "max_write", "131072", 0 },
     { "max_size", "262144", 0 },
     { "alignment", "512", 0 },
-    { "bluestore_min_alloc_size", "32768", "4096", 0 },
-    { "bluestore_compression", "force", "none", 0},
+    { "bluestore_min_alloc_size", "4096", "16384", 0 },
+    { "bluestore_compression", "force", 0},
+    { "bluestore_compression_algorithm", "snappy", "zlib", 0 },
     { "bluestore_csum_type", "crc32c", 0 },
     { "bluestore_default_buffered_read", "true", "false", 0 },
     { 0 },