]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/radosbench: default to 64k writes 25801/head
authorSage Weil <sage@redhat.com>
Sat, 5 Jan 2019 02:56:56 +0000 (20:56 -0600)
committerSage Weil <sage@redhat.com>
Mon, 7 Jan 2019 13:22:29 +0000 (07:22 -0600)
The default rados bench is 4MB writes, but this tends to fill up our
tiny test clusters.  Use 64KB instead.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/radosbench.py

index 530a6f1490f198e28b6d6f24b9383b140003adf2..dd1f85dee7af023ddd8ada364bf9d3d3bb28eeeb 100644 (file)
@@ -76,12 +76,12 @@ def task(ctx, config):
             else:
                 pool = manager.create_pool_with_unique_name(erasure_code_profile_name=profile_name)
 
-        osize = config.get('objectsize', 0)
+        osize = config.get('objectsize', 65536)
         if osize is 0:
             objectsize = []
         else:
             objectsize = ['-o', str(osize)]
-        size = ['-b', str(config.get('size', 4<<20))]
+        size = ['-b', str(config.get('size', 65536))]
         # If doing a reading run then populate data
         if runtype != "write":
             proc = remote.run(