From: Sage Weil Date: Thu, 6 Oct 2016 16:05:04 +0000 (-0400) Subject: ceph_test_objectstore: adjust SyntheticMatrixCsumVsCompression parameters X-Git-Tag: v11.1.0~713^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11350%2Fhead;p=ceph.git ceph_test_objectstore: adjust SyntheticMatrixCsumVsCompression parameters - 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 --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 8e03f87e87a6..8ae4d1dfc488 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -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 },