summaryrefslogtreecommitdiffstats
path: root/extras/group-gluster-block
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2017-07-26 20:27:08 +0530
committerKrutika Dhananjay <kdhananj@redhat.com>2017-07-27 10:39:52 +0000
commitabfbc3eb821e144ddbfdc5d7da401557b52beaf1 (patch)
treec16d9db3cc6c6263e229c2fd79fd8a674cae2f11 /extras/group-gluster-block
parent16e8d03c7e4afa4c0e186f8ea50389fc3735e879 (diff)
group-gluster-block: Set default shard-block-size to 64MB
With 4MB shard size I/O slows down more because of the extra inodelk/xattrops in replicate. So increasing it to 64MB which gave better performance than 4MB. To simulate writes on a preallocated VM-image, fallocate the file and then do dd with notrunc do "fallocate -l 1GB" then "dd if=/dev/zero of=file-1GB bs=1MB count=1024 conv=notrunc" These are the results on my laptop for dd: With 4MB: 1.84 1357.37 us 19.00 us 12431.00 us 1188 FINODELK 2.45 255.08 us 58.00 us 4038.00 us 8428 WRITE 95.69 78967.76 us 30.00 us 20324240.00 us 1063 FXATTROP With 64MB: 0.13 59.36 us 15.00 us 814.00 us 657 FINODELK 6.02 225.53 us 69.00 us 6556.00 us 8205 WRITE 93.82 103015.12 us 32.00 us 13046368.00 us 280 FXATTROP BUG: 1475605 Change-Id: I4ed5441409df639e38c731ba0d140fe92902f25f Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: https://review.gluster.org/17887 CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'extras/group-gluster-block')
-rw-r--r--extras/group-gluster-block1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
index cea15d8ff66..12d5f90448c 100644
--- a/extras/group-gluster-block
+++ b/extras/group-gluster-block
@@ -12,5 +12,6 @@ cluster.locking-scheme=granular
cluster.shd-max-threads=8
cluster.shd-wait-qlength=10000
features.shard=on
+features.shard-block-size=64MB
user.cifs=off
server.allow-insecure=on