|
|
21ab4e |
From 556219c19dc9d566df05262a7caae73ef335343f Mon Sep 17 00:00:00 2001
|
|
|
21ab4e |
From: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
Date: Wed, 26 Jul 2017 20:27:08 +0530
|
|
|
21ab4e |
Subject: [PATCH 586/587] group-gluster-block: Set default shard-block-size to
|
|
|
21ab4e |
64MB
|
|
|
21ab4e |
|
|
|
21ab4e |
With 4MB shard size I/O slows down more because of the extra
|
|
|
21ab4e |
inodelk/xattrops in replicate. So increasing it to 64MB which
|
|
|
21ab4e |
gave better performance than 4MB.
|
|
|
21ab4e |
|
|
|
21ab4e |
To simulate writes on a preallocated VM-image, fallocate the file and then do
|
|
|
21ab4e |
dd with notrunc
|
|
|
21ab4e |
do "fallocate -l 1GB" then "dd if=/dev/zero of=file-1GB bs=1MB count=1024 conv=notrunc"
|
|
|
21ab4e |
|
|
|
21ab4e |
These are the results on my laptop for dd:
|
|
|
21ab4e |
With 4MB:
|
|
|
21ab4e |
1.84 1357.37 us 19.00 us 12431.00 us 1188 FINODELK
|
|
|
21ab4e |
2.45 255.08 us 58.00 us 4038.00 us 8428 WRITE
|
|
|
21ab4e |
95.69 78967.76 us 30.00 us 20324240.00 us 1063 FXATTROP
|
|
|
21ab4e |
|
|
|
21ab4e |
With 64MB:
|
|
|
21ab4e |
0.13 59.36 us 15.00 us 814.00 us 657 FINODELK
|
|
|
21ab4e |
6.02 225.53 us 69.00 us 6556.00 us 8205 WRITE
|
|
|
21ab4e |
93.82 103015.12 us 32.00 us 13046368.00 us 280 FXATTROP
|
|
|
21ab4e |
|
|
|
21ab4e |
>BUG: 1475605
|
|
|
21ab4e |
>Change-Id: I4ed5441409df639e38c731ba0d140fe92902f25f
|
|
|
21ab4e |
>Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
>Reviewed-on: https://review.gluster.org/17887
|
|
|
21ab4e |
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
|
|
|
21ab4e |
>Smoke: Gluster Build System <jenkins@build.gluster.org>
|
|
|
21ab4e |
>Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
|
|
|
21ab4e |
|
|
|
21ab4e |
BUG: 1472273
|
|
|
21ab4e |
Change-Id: I4ed5441409df639e38c731ba0d140fe92902f25f
|
|
|
21ab4e |
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
Reviewed-on: https://code.engineering.redhat.com/gerrit/114103
|
|
|
21ab4e |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
21ab4e |
Tested-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
21ab4e |
---
|
|
|
21ab4e |
extras/group-gluster-block | 1 +
|
|
|
21ab4e |
1 file changed, 1 insertion(+)
|
|
|
21ab4e |
|
|
|
21ab4e |
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
|
|
|
21ab4e |
index cea15d8..12d5f90 100644
|
|
|
21ab4e |
--- a/extras/group-gluster-block
|
|
|
21ab4e |
+++ b/extras/group-gluster-block
|
|
|
21ab4e |
@@ -12,5 +12,6 @@ cluster.locking-scheme=granular
|
|
|
21ab4e |
cluster.shd-max-threads=8
|
|
|
21ab4e |
cluster.shd-wait-qlength=10000
|
|
|
21ab4e |
features.shard=on
|
|
|
21ab4e |
+features.shard-block-size=64MB
|
|
|
21ab4e |
user.cifs=off
|
|
|
21ab4e |
server.allow-insecure=on
|
|
|
21ab4e |
--
|
|
|
21ab4e |
1.8.3.1
|
|
|
21ab4e |
|